2
2
3
3
<!-- YAML
4
4
changes:
5
+ - version: REPLACEME
6
+ pr-url: https://github.com/nodejs/node/pull/59365
7
+ description: AES-OCB algorithm is now supported.
5
8
- version: REPLACEME
6
9
pr-url: https://github.com/nodejs/node/pull/59365
7
10
description: ChaCha20-Poly1305 algorithm is now supported.
@@ -101,6 +104,7 @@ WICG proposal:
101
104
102
105
Algorithms:
103
106
107
+ * ` 'AES-OCB' ` [ ^ openssl30 ]
104
108
* ` 'ChaCha20-Poly1305' `
105
109
* ` 'cSHAKE128' `
106
110
* ` 'cSHAKE256' `
@@ -489,6 +493,7 @@ implementation and the APIs supported for each:
489
493
| ` ' AES-CTR' ` | ✔ | ✔ | ✔ | ✔ | ✔ | | | | |
490
494
| ` ' AES-GCM' ` | ✔ | ✔ | ✔ | ✔ | ✔ | | | | |
491
495
| ` ' AES-KW' ` | ✔ | ✔ | ✔ | | ✔ | | | | |
496
+ | ` ' AES-OCB' ` [^modern-algos] | ✔ | ✔ | ✔ | ✔ | ✔ | | | | |
492
497
| ` ' ChaCha20-Poly1305' ` [^modern-algos] | ✔ | ✔ | ✔ | ✔ | ✔ | | | | |
493
498
| ` ' cSHAKE128' ` [^modern-algos] | | | | | | | | ✔ | |
494
499
| ` ' cSHAKE256' ` [^modern-algos] | | | | | | | | ✔ | |
@@ -641,6 +646,7 @@ Valid key usages depend on the key algorithm (identified by
641
646
| ` ' AES-CTR' ` | ✔ | ✔ | | | | | ✔ | ✔ |
642
647
| ` ' AES-GCM' ` | ✔ | ✔ | | | | | ✔ | ✔ |
643
648
| ` ' AES-KW' ` | | | | | | | ✔ | ✔ |
649
+ | ` ' AES-OCB' ` [^modern-algos] | ✔ | ✔ | | | | | ✔ | ✔ |
644
650
| ` ' ChaCha20-Poly1305' ` [^modern-algos] | ✔ | ✔ | | | | | ✔ | ✔ |
645
651
| ` ' ECDH' ` | | | | | ✔ | ✔ | | |
646
652
| ` ' ECDSA' ` | | | ✔ | ✔ | | | | |
@@ -715,6 +721,9 @@ which can be used to detect whether a given algorithm identifier
715
721
<!-- YAML
716
722
added: v15.0.0
717
723
changes:
724
+ - version: REPLACEME
725
+ pr-url: https://github.com/nodejs/node/pull/59365
726
+ description: AES-OCB algorithm is now supported.
718
727
- version: REPLACEME
719
728
pr-url: https://github.com/nodejs/node/pull/59365
720
729
description: ChaCha20-Poly1305 algorithm is now supported.
@@ -735,6 +744,7 @@ The algorithms currently supported include:
735
744
* ` ' AES-CBC' `
736
745
* ` ' AES-CTR' `
737
746
* ` ' AES-GCM' `
747
+ * ` ' AES-OCB' ` [^modern-algos]
738
748
* ` ' ChaCha20-Poly1305' ` [^modern-algos]
739
749
* ` ' RSA-OAEP' `
740
750
@@ -866,6 +876,9 @@ whose value is one of the above.
866
876
<!-- YAML
867
877
added: v15.0.0
868
878
changes:
879
+ - version: REPLACEME
880
+ pr-url: https://github.com/nodejs/node/pull/59365
881
+ description: AES-OCB algorithm is now supported.
869
882
- version: REPLACEME
870
883
pr-url: https://github.com/nodejs/node/pull/59365
871
884
description: ChaCha20-Poly1305 algorithm is now supported.
@@ -886,6 +899,7 @@ The algorithms currently supported include:
886
899
* ` ' AES-CBC' `
887
900
* ` ' AES-CTR' `
888
901
* ` ' AES-GCM' `
902
+ * ` ' AES-OCB' ` [^modern-algos]
889
903
* ` ' ChaCha20-Poly1305' ` [^modern-algos]
890
904
* ` ' RSA-OAEP' `
891
905
@@ -894,6 +908,9 @@ The algorithms currently supported include:
894
908
<!-- YAML
895
909
added: v15.0.0
896
910
changes:
911
+ - version: REPLACEME
912
+ pr-url: https://github.com/nodejs/node/pull/59365
913
+ description: AES-OCB algorithm is now supported.
897
914
- version: REPLACEME
898
915
pr-url: https://github.com/nodejs/node/pull/59365
899
916
description: ChaCha20-Poly1305 algorithm is now supported.
@@ -934,6 +951,7 @@ specification.
934
951
| ` ' AES-CTR' ` | | | ✔ | ✔ | ✔ | | |
935
952
| ` ' AES-GCM' ` | | | ✔ | ✔ | ✔ | | |
936
953
| ` ' AES-KW' ` | | | ✔ | ✔ | ✔ | | |
954
+ | ` ' AES-OCB' ` [^modern-algos] | | | ✔ | | ✔ | | |
937
955
| ` ' ChaCha20-Poly1305' ` [^modern-algos] | | | ✔ | | ✔ | | |
938
956
| ` ' ECDH' ` | ✔ | ✔ | ✔ | ✔ | | ✔ | |
939
957
| ` ' ECDSA' ` | ✔ | ✔ | ✔ | ✔ | | ✔ | |
@@ -966,6 +984,9 @@ Derives the public key from a given private key.
966
984
<!-- YAML
967
985
added: v15.0.0
968
986
changes:
987
+ - version: REPLACEME
988
+ pr-url: https://github.com/nodejs/node/pull/59365
989
+ description: AES-OCB algorithm is now supported.
969
990
- version: REPLACEME
970
991
pr-url: https://github.com/nodejs/node/pull/59365
971
992
description: ChaCha20-Poly1305 algorithm is now supported.
@@ -1010,6 +1031,7 @@ The {CryptoKey} (secret key) generating algorithms supported include:
1010
1031
* ` ' AES-CTR' `
1011
1032
* ` ' AES-GCM' `
1012
1033
* ` ' AES-KW' `
1034
+ * ` ' AES-OCB' ` [^modern-algos]
1013
1035
* ` ' ChaCha20-Poly1305' ` [^modern-algos]
1014
1036
* ` ' HMAC' `
1015
1037
@@ -1018,6 +1040,9 @@ The {CryptoKey} (secret key) generating algorithms supported include:
1018
1040
<!-- YAML
1019
1041
added: v15.0.0
1020
1042
changes:
1043
+ - version: REPLACEME
1044
+ pr-url: https://github.com/nodejs/node/pull/59365
1045
+ description: AES-OCB algorithm is now supported.
1021
1046
- version: REPLACEME
1022
1047
pr-url: https://github.com/nodejs/node/pull/59365
1023
1048
description: ChaCha20-Poly1305 algorithm is now supported.
@@ -1064,6 +1089,7 @@ The algorithms currently supported include:
1064
1089
| ` ' AES-CTR' ` | | | ✔ | ✔ | ✔ | | |
1065
1090
| ` ' AES-GCM' ` | | | ✔ | ✔ | ✔ | | |
1066
1091
| ` ' AES-KW' ` | | | ✔ | ✔ | ✔ | | |
1092
+ | ` ' AES-OCB' ` [^modern-algos] | | | ✔ | | ✔ | | |
1067
1093
| ` ' ChaCha20-Poly1305' ` [^modern-algos] | | | ✔ | | ✔ | | |
1068
1094
| ` ' ECDH' ` | ✔ | ✔ | ✔ | ✔ | | ✔ | |
1069
1095
| ` ' ECDSA' ` | ✔ | ✔ | ✔ | ✔ | | ✔ | |
@@ -1127,6 +1153,9 @@ The algorithms currently supported include:
1127
1153
<!-- YAML
1128
1154
added: v15.0.0
1129
1155
changes:
1156
+ - version: REPLACEME
1157
+ pr-url: https://github.com/nodejs/node/pull/59365
1158
+ description: AES-OCB algorithm is now supported.
1130
1159
- version: REPLACEME
1131
1160
pr-url: https://github.com/nodejs/node/pull/59365
1132
1161
description: ChaCha20-Poly1305 algorithm is now supported.
@@ -1163,6 +1192,7 @@ The wrapping algorithms currently supported include:
1163
1192
* ` ' AES-CTR' `
1164
1193
* ` ' AES-GCM' `
1165
1194
* ` ' AES-KW' `
1195
+ * ` ' AES-OCB' ` [^modern-algos]
1166
1196
* ` ' ChaCha20-Poly1305' ` [^modern-algos]
1167
1197
* ` ' RSA-OAEP' `
1168
1198
@@ -1172,6 +1202,7 @@ The unwrapped key algorithms supported include:
1172
1202
* ` ' AES-CTR' `
1173
1203
* ` ' AES-GCM' `
1174
1204
* ` ' AES-KW' `
1205
+ * ` ' AES-OCB' ` [^modern-algos]
1175
1206
* ` ' ChaCha20-Poly1305' ` [^modern-algos]
1176
1207
* ` ' ECDH' `
1177
1208
* ` ' ECDSA' `
@@ -1234,6 +1265,9 @@ The algorithms currently supported include:
1234
1265
<!-- YAML
1235
1266
added: v15.0.0
1236
1267
changes:
1268
+ - version: REPLACEME
1269
+ pr-url: https://github.com/nodejs/node/pull/59365
1270
+ description: AES-OCB algorithm is now supported.
1237
1271
- version: REPLACEME
1238
1272
pr-url: https://github.com/nodejs/node/pull/59365
1239
1273
description: ChaCha20-Poly1305 algorithm is now supported.
@@ -1266,6 +1300,7 @@ The wrapping algorithms currently supported include:
1266
1300
* ` ' AES-CTR' `
1267
1301
* ` ' AES-GCM' `
1268
1302
* ` ' AES-KW' `
1303
+ * ` ' AES-OCB' ` [^modern-algos]
1269
1304
* ` ' ChaCha20-Poly1305' ` [^modern-algos]
1270
1305
* ` ' RSA-OAEP' `
1271
1306
@@ -1323,7 +1358,7 @@ given key.
1323
1358
added: v15.0.0
1324
1359
-->
1325
1360
1326
- * Type: {string} Must be ` ' AES-GCM' ` or ` ' ChaCha20-Poly1305' ` .
1361
+ * Type: {string} Must be ` ' AES-GCM' ` , ` ' AES-OCB ' ` , or ` ' ChaCha20-Poly1305' ` .
1327
1362
1328
1363
#### ` aeadParams .tagLength `
1329
1364
@@ -1345,8 +1380,7 @@ added: v15.0.0
1345
1380
added: v15.0.0
1346
1381
-->
1347
1382
1348
- * Type: {string} Must be one of ` ' AES-CBC' ` , ` ' AES-CTR' ` , ` ' AES-GCM' ` , or
1349
- ` ' AES-KW' `
1383
+ * Type: {string} Must be one of ` ' AES-CBC' ` , ` ' AES-CTR' ` , ` ' AES-GCM' ` , ` ' AES-OCB' ` , or ` ' AES-KW' `
1350
1384
1351
1385
#### ` aesDerivedKeyParams .length `
1352
1386
@@ -2178,6 +2212,8 @@ The length (in bytes) of the random salt to use.
2178
2212
2179
2213
[^modern-algos]: See [Modern Algorithms in the Web Cryptography API][]
2180
2214
2215
+ [^openssl30]: Requires OpenSSL >= 3.0
2216
+
2181
2217
[^openssl35]: Requires OpenSSL >= 3.5
2182
2218
2183
2219
[JSON Web Key]: https://tools.ietf.org/html/rfc7517
0 commit comments