Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
30 changes: 15 additions & 15 deletions performance/JWE/A128GCMKWBench.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2018 Spomky-Labs
* Copyright (c) 2014-2020 Spomky-Labs
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
Expand All @@ -24,33 +24,33 @@ public function dataHeadersAndAlgorithms(): array
return [
[
'shared_protected_header' => ['alg' => 'A128GCMKW', 'enc' => 'A128CBC-HS256'],
'shared_header' => [],
'recipient_header' => [],
'shared_header' => [],
'recipient_header' => [],
],
[
'shared_protected_header' => ['alg' => 'A128GCMKW', 'enc' => 'A192CBC-HS384'],
'shared_header' => [],
'recipient_header' => [],
'shared_header' => [],
'recipient_header' => [],
],
[
'shared_protected_header' => ['alg' => 'A128GCMKW', 'enc' => 'A256CBC-HS512'],
'shared_header' => [],
'recipient_header' => [],
'shared_header' => [],
'recipient_header' => [],
],
[
'shared_protected_header' => ['alg' => 'A128GCMKW', 'enc' => 'A128GCM'],
'shared_header' => [],
'recipient_header' => [],
'shared_header' => [],
'recipient_header' => [],
],
[
'shared_protected_header' => ['alg' => 'A128GCMKW', 'enc' => 'A192GCM'],
'shared_header' => [],
'recipient_header' => [],
'shared_header' => [],
'recipient_header' => [],
],
[
'shared_protected_header' => ['alg' => 'A128GCMKW', 'enc' => 'A256GCM'],
'shared_header' => [],
'recipient_header' => [],
'shared_header' => [],
'recipient_header' => [],
],
];
}
Expand All @@ -68,7 +68,7 @@ public function dataPrivateKeys(): array
[
'recipient_keys' => ['keys' => [[
'kty' => 'oct',
'k' => 'GZy6sIZ6wl9NJOKB-jnmVQ',
'k' => 'GZy6sIZ6wl9NJOKB-jnmVQ',
]]],
],
];
Expand All @@ -80,7 +80,7 @@ public function dataRecipientPublicKeys(): array
[
'recipient_key' => [
'kty' => 'oct',
'k' => 'GZy6sIZ6wl9NJOKB-jnmVQ',
'k' => 'GZy6sIZ6wl9NJOKB-jnmVQ',
],
],
];
Expand Down
30 changes: 15 additions & 15 deletions performance/JWE/A128KWBench.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2018 Spomky-Labs
* Copyright (c) 2014-2020 Spomky-Labs
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
Expand All @@ -24,33 +24,33 @@ public function dataHeadersAndAlgorithms(): array
return [
[
'shared_protected_header' => ['alg' => 'A128KW', 'enc' => 'A128CBC-HS256'],
'shared_header' => [],
'recipient_header' => [],
'shared_header' => [],
'recipient_header' => [],
],
[
'shared_protected_header' => ['alg' => 'A128KW', 'enc' => 'A192CBC-HS384'],
'shared_header' => [],
'recipient_header' => [],
'shared_header' => [],
'recipient_header' => [],
],
[
'shared_protected_header' => ['alg' => 'A128KW', 'enc' => 'A256CBC-HS512'],
'shared_header' => [],
'recipient_header' => [],
'shared_header' => [],
'recipient_header' => [],
],
[
'shared_protected_header' => ['alg' => 'A128KW', 'enc' => 'A128GCM'],
'shared_header' => [],
'recipient_header' => [],
'shared_header' => [],
'recipient_header' => [],
],
[
'shared_protected_header' => ['alg' => 'A128KW', 'enc' => 'A192GCM'],
'shared_header' => [],
'recipient_header' => [],
'shared_header' => [],
'recipient_header' => [],
],
[
'shared_protected_header' => ['alg' => 'A128KW', 'enc' => 'A256GCM'],
'shared_header' => [],
'recipient_header' => [],
'shared_header' => [],
'recipient_header' => [],
],
];
}
Expand All @@ -68,7 +68,7 @@ public function dataPrivateKeys(): array
[
'recipient_keys' => ['keys' => [[
'kty' => 'oct',
'k' => 'GZy6sIZ6wl9NJOKB-jnmVQ',
'k' => 'GZy6sIZ6wl9NJOKB-jnmVQ',
]]],
],
];
Expand All @@ -80,7 +80,7 @@ public function dataRecipientPublicKeys(): array
[
'recipient_key' => [
'kty' => 'oct',
'k' => 'GZy6sIZ6wl9NJOKB-jnmVQ',
'k' => 'GZy6sIZ6wl9NJOKB-jnmVQ',
],
],
];
Expand Down
30 changes: 15 additions & 15 deletions performance/JWE/A192GCMKWBench.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2018 Spomky-Labs
* Copyright (c) 2014-2020 Spomky-Labs
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
Expand All @@ -24,33 +24,33 @@ public function dataHeadersAndAlgorithms(): array
return [
[
'shared_protected_header' => ['alg' => 'A192GCMKW', 'enc' => 'A128CBC-HS256'],
'shared_header' => [],
'recipient_header' => [],
'shared_header' => [],
'recipient_header' => [],
],
[
'shared_protected_header' => ['alg' => 'A192GCMKW', 'enc' => 'A192CBC-HS384'],
'shared_header' => [],
'recipient_header' => [],
'shared_header' => [],
'recipient_header' => [],
],
[
'shared_protected_header' => ['alg' => 'A192GCMKW', 'enc' => 'A256CBC-HS512'],
'shared_header' => [],
'recipient_header' => [],
'shared_header' => [],
'recipient_header' => [],
],
[
'shared_protected_header' => ['alg' => 'A192GCMKW', 'enc' => 'A128GCM'],
'shared_header' => [],
'recipient_header' => [],
'shared_header' => [],
'recipient_header' => [],
],
[
'shared_protected_header' => ['alg' => 'A192GCMKW', 'enc' => 'A192GCM'],
'shared_header' => [],
'recipient_header' => [],
'shared_header' => [],
'recipient_header' => [],
],
[
'shared_protected_header' => ['alg' => 'A192GCMKW', 'enc' => 'A256GCM'],
'shared_header' => [],
'recipient_header' => [],
'shared_header' => [],
'recipient_header' => [],
],
];
}
Expand All @@ -68,7 +68,7 @@ public function dataPrivateKeys(): array
[
'recipient_keys' => ['keys' => [[
'kty' => 'oct',
'k' => 'KuFiR-n2ngkDNZfBXWS6cCGXrYonVUiH',
'k' => 'KuFiR-n2ngkDNZfBXWS6cCGXrYonVUiH',
]]],
],
];
Expand All @@ -80,7 +80,7 @@ public function dataRecipientPublicKeys(): array
[
'recipient_key' => [
'kty' => 'oct',
'k' => 'KuFiR-n2ngkDNZfBXWS6cCGXrYonVUiH',
'k' => 'KuFiR-n2ngkDNZfBXWS6cCGXrYonVUiH',
],
],
];
Expand Down
30 changes: 15 additions & 15 deletions performance/JWE/A192KWBench.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2018 Spomky-Labs
* Copyright (c) 2014-2020 Spomky-Labs
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
Expand All @@ -24,33 +24,33 @@ public function dataHeadersAndAlgorithms(): array
return [
[
'shared_protected_header' => ['alg' => 'A192KW', 'enc' => 'A128CBC-HS256'],
'shared_header' => [],
'recipient_header' => [],
'shared_header' => [],
'recipient_header' => [],
],
[
'shared_protected_header' => ['alg' => 'A192KW', 'enc' => 'A192CBC-HS384'],
'shared_header' => [],
'recipient_header' => [],
'shared_header' => [],
'recipient_header' => [],
],
[
'shared_protected_header' => ['alg' => 'A192KW', 'enc' => 'A256CBC-HS512'],
'shared_header' => [],
'recipient_header' => [],
'shared_header' => [],
'recipient_header' => [],
],
[
'shared_protected_header' => ['alg' => 'A192KW', 'enc' => 'A128GCM'],
'shared_header' => [],
'recipient_header' => [],
'shared_header' => [],
'recipient_header' => [],
],
[
'shared_protected_header' => ['alg' => 'A192KW', 'enc' => 'A192GCM'],
'shared_header' => [],
'recipient_header' => [],
'shared_header' => [],
'recipient_header' => [],
],
[
'shared_protected_header' => ['alg' => 'A192KW', 'enc' => 'A256GCM'],
'shared_header' => [],
'recipient_header' => [],
'shared_header' => [],
'recipient_header' => [],
],
];
}
Expand All @@ -68,7 +68,7 @@ public function dataPrivateKeys(): array
[
'recipient_keys' => ['keys' => [[
'kty' => 'oct',
'k' => 'KuFiR-n2ngkDNZfBXWS6cCGXrYonVUiH',
'k' => 'KuFiR-n2ngkDNZfBXWS6cCGXrYonVUiH',
]]],
],
];
Expand All @@ -80,7 +80,7 @@ public function dataRecipientPublicKeys(): array
[
'recipient_key' => [
'kty' => 'oct',
'k' => 'KuFiR-n2ngkDNZfBXWS6cCGXrYonVUiH',
'k' => 'KuFiR-n2ngkDNZfBXWS6cCGXrYonVUiH',
],
],
];
Expand Down
30 changes: 15 additions & 15 deletions performance/JWE/A256GCMKWBench.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2018 Spomky-Labs
* Copyright (c) 2014-2020 Spomky-Labs
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
Expand All @@ -24,33 +24,33 @@ public function dataHeadersAndAlgorithms(): array
return [
[
'shared_protected_header' => ['alg' => 'A256GCMKW', 'enc' => 'A128CBC-HS256'],
'shared_header' => [],
'recipient_header' => [],
'shared_header' => [],
'recipient_header' => [],
],
[
'shared_protected_header' => ['alg' => 'A256GCMKW', 'enc' => 'A192CBC-HS384'],
'shared_header' => [],
'recipient_header' => [],
'shared_header' => [],
'recipient_header' => [],
],
[
'shared_protected_header' => ['alg' => 'A256GCMKW', 'enc' => 'A256CBC-HS512'],
'shared_header' => [],
'recipient_header' => [],
'shared_header' => [],
'recipient_header' => [],
],
[
'shared_protected_header' => ['alg' => 'A256GCMKW', 'enc' => 'A128GCM'],
'shared_header' => [],
'recipient_header' => [],
'shared_header' => [],
'recipient_header' => [],
],
[
'shared_protected_header' => ['alg' => 'A256GCMKW', 'enc' => 'A192GCM'],
'shared_header' => [],
'recipient_header' => [],
'shared_header' => [],
'recipient_header' => [],
],
[
'shared_protected_header' => ['alg' => 'A256GCMKW', 'enc' => 'A256GCM'],
'shared_header' => [],
'recipient_header' => [],
'shared_header' => [],
'recipient_header' => [],
],
];
}
Expand All @@ -68,7 +68,7 @@ public function dataPrivateKeys(): array
[
'recipient_keys' => ['keys' => [[
'kty' => 'oct',
'k' => 'OgUyABAPIkI-zFg3doqsv_GH-4GTGOu3HGnuG9wdxCo',
'k' => 'OgUyABAPIkI-zFg3doqsv_GH-4GTGOu3HGnuG9wdxCo',
]]],
],
];
Expand All @@ -80,7 +80,7 @@ public function dataRecipientPublicKeys(): array
[
'recipient_key' => [
'kty' => 'oct',
'k' => 'OgUyABAPIkI-zFg3doqsv_GH-4GTGOu3HGnuG9wdxCo',
'k' => 'OgUyABAPIkI-zFg3doqsv_GH-4GTGOu3HGnuG9wdxCo',
],
],
];
Expand Down
Loading