2
2
3
3
<!-- YAML
4
4
changes:
5
+ - version: REPLACEME
6
+ pr-url: https://github.com/nodejs/node/pull/59539
7
+ description: AES-OCB algorithm is now supported.
5
8
- version: REPLACEME
6
9
pr-url: https://github.com/nodejs/node/pull/59569
7
10
description: ML-KEM algorithms are now supported.
@@ -104,6 +107,7 @@ WICG proposal:
104
107
105
108
Algorithms:
106
109
110
+ * ` 'AES-OCB' ` [ ^ openssl30 ]
107
111
* ` 'ChaCha20-Poly1305' `
108
112
* ` 'cSHAKE128' `
109
113
* ` 'cSHAKE256' `
@@ -501,6 +505,7 @@ implementation and the APIs supported for each:
501
505
| ` ' AES-CTR' ` | ✔ | ✔ | ✔ | |
502
506
| ` ' AES-GCM' ` | ✔ | ✔ | ✔ | |
503
507
| ` ' AES-KW' ` | ✔ | ✔ | ✔ | |
508
+ | ` ' AES-OCB' ` | ✔ | ✔ | ✔ | |
504
509
| ` ' ChaCha20-Poly1305' ` [^modern-algos] | ✔ | ✔ | ✔ | |
505
510
| ` ' ECDH' ` | ✔ | ✔ | ✔ | ✔ |
506
511
| ` ' ECDSA' ` | ✔ | ✔ | ✔ | ✔ |
@@ -539,6 +544,7 @@ implementation and the APIs supported for each:
539
544
| ` ' AES-CTR' ` | ✔ | | | ✔ | | |
540
545
| ` ' AES-GCM' ` | ✔ | | | ✔ | | |
541
546
| ` ' AES-KW' ` | | | | ✔ | | |
547
+ | ` ' AES-OCB' ` | ✔ | | | ✔ | | |
542
548
| ` ' ChaCha20-Poly1305' ` [^modern-algos] | ✔ | | | ✔ | | |
543
549
| ` ' cSHAKE128' ` [^modern-algos] | | | | | | ✔ |
544
550
| ` ' cSHAKE256' ` [^modern-algos] | | | | | | ✔ |
@@ -707,6 +713,7 @@ Valid key usages depend on the key algorithm (identified by
707
713
| ` ' AES-CTR' ` | ✔ | | | ✔ | |
708
714
| ` ' AES-GCM' ` | ✔ | | | ✔ | |
709
715
| ` ' AES-KW' ` | | | | ✔ | |
716
+ | ` ' AES-OCB' ` | ✔ | | | ✔ | |
710
717
| ` ' ChaCha20-Poly1305' ` [^modern-algos] | ✔ | | | ✔ | |
711
718
| ` ' ECDH' ` | | | ✔ | | |
712
719
| ` ' ECDSA' ` | | ✔ | | | |
@@ -825,6 +832,9 @@ The algorithms currently supported include:
825
832
<!-- YAML
826
833
added: v15.0.0
827
834
changes:
835
+ - version: REPLACEME
836
+ pr-url: https://github.com/nodejs/node/pull/59539
837
+ description: AES-OCB algorithm is now supported.
828
838
- version: REPLACEME
829
839
pr-url: https://github.com/nodejs/node/pull/59365
830
840
description: ChaCha20-Poly1305 algorithm is now supported.
@@ -845,6 +855,7 @@ The algorithms currently supported include:
845
855
* ` ' AES-CBC' `
846
856
* ` ' AES-CTR' `
847
857
* ` ' AES-GCM' `
858
+ * ` ' AES-OCB' ` [^modern-algos]
848
859
* ` ' ChaCha20-Poly1305' ` [^modern-algos]
849
860
* ` ' RSA-OAEP' `
850
861
@@ -1015,6 +1026,9 @@ The algorithms currently supported include:
1015
1026
<!-- YAML
1016
1027
added: v15.0.0
1017
1028
changes:
1029
+ - version: REPLACEME
1030
+ pr-url: https://github.com/nodejs/node/pull/59539
1031
+ description: AES-OCB algorithm is now supported.
1018
1032
- version: REPLACEME
1019
1033
pr-url: https://github.com/nodejs/node/pull/59365
1020
1034
description: ChaCha20-Poly1305 algorithm is now supported.
@@ -1035,6 +1049,7 @@ The algorithms currently supported include:
1035
1049
* ` ' AES-CBC' `
1036
1050
* ` ' AES-CTR' `
1037
1051
* ` ' AES-GCM' `
1052
+ * ` ' AES-OCB' ` [^modern-algos]
1038
1053
* ` ' ChaCha20-Poly1305' ` [^modern-algos]
1039
1054
* ` ' RSA-OAEP' `
1040
1055
@@ -1086,6 +1101,7 @@ specification.
1086
1101
| ` ' AES-CTR' ` | | | ✔ | ✔ | ✔ | | |
1087
1102
| ` ' AES-GCM' ` | | | ✔ | ✔ | ✔ | | |
1088
1103
| ` ' AES-KW' ` | | | ✔ | ✔ | ✔ | | |
1104
+ | ` ' AES-OCB' ` [^modern-algos] | | | ✔ | | ✔ | | |
1089
1105
| ` ' ChaCha20-Poly1305' ` [^modern-algos] | | | ✔ | | ✔ | | |
1090
1106
| ` ' ECDH' ` | ✔ | ✔ | ✔ | ✔ | | ✔ | |
1091
1107
| ` ' ECDSA' ` | ✔ | ✔ | ✔ | ✔ | | ✔ | |
@@ -1171,6 +1187,7 @@ The {CryptoKey} (secret key) generating algorithms supported include:
1171
1187
* ` ' AES-CTR' `
1172
1188
* ` ' AES-GCM' `
1173
1189
* ` ' AES-KW' `
1190
+ * ` ' AES-OCB' ` [^modern-algos]
1174
1191
* ` ' ChaCha20-Poly1305' ` [^modern-algos]
1175
1192
* ` ' HMAC' `
1176
1193
@@ -1228,6 +1245,7 @@ The algorithms currently supported include:
1228
1245
| ` ' AES-CTR' ` | | | ✔ | ✔ | ✔ | | |
1229
1246
| ` ' AES-GCM' ` | | | ✔ | ✔ | ✔ | | |
1230
1247
| ` ' AES-KW' ` | | | ✔ | ✔ | ✔ | | |
1248
+ | ` ' AES-OCB' ` [^modern-algos] | | | ✔ | | ✔ | | |
1231
1249
| ` ' ChaCha20-Poly1305' ` [^modern-algos] | | | ✔ | | ✔ | | |
1232
1250
| ` ' ECDH' ` | ✔ | ✔ | ✔ | ✔ | | ✔ | |
1233
1251
| ` ' ECDSA' ` | ✔ | ✔ | ✔ | ✔ | | ✔ | |
@@ -1294,6 +1312,9 @@ The algorithms currently supported include:
1294
1312
<!-- YAML
1295
1313
added: v15.0.0
1296
1314
changes:
1315
+ - version: REPLACEME
1316
+ pr-url: https://github.com/nodejs/node/pull/59539
1317
+ description: AES-OCB algorithm is now supported.
1297
1318
- version: REPLACEME
1298
1319
pr-url: https://github.com/nodejs/node/pull/59365
1299
1320
description: ChaCha20-Poly1305 algorithm is now supported.
@@ -1330,6 +1351,7 @@ The wrapping algorithms currently supported include:
1330
1351
* ` ' AES-CTR' `
1331
1352
* ` ' AES-GCM' `
1332
1353
* ` ' AES-KW' `
1354
+ * ` ' AES-OCB' ` [^modern-algos]
1333
1355
* ` ' ChaCha20-Poly1305' ` [^modern-algos]
1334
1356
* ` ' RSA-OAEP' `
1335
1357
@@ -1339,6 +1361,7 @@ The unwrapped key algorithms supported include:
1339
1361
* ` ' AES-CTR' `
1340
1362
* ` ' AES-GCM' `
1341
1363
* ` ' AES-KW' `
1364
+ * ` ' AES-OCB' ` [^modern-algos]
1342
1365
* ` ' ChaCha20-Poly1305' ` [^modern-algos]
1343
1366
* ` ' ECDH' `
1344
1367
* ` ' ECDSA' `
@@ -1404,6 +1427,9 @@ The algorithms currently supported include:
1404
1427
<!-- YAML
1405
1428
added: v15.0.0
1406
1429
changes:
1430
+ - version: REPLACEME
1431
+ pr-url: https://github.com/nodejs/node/pull/59539
1432
+ description: AES-OCB algorithm is now supported.
1407
1433
- version: REPLACEME
1408
1434
pr-url: https://github.com/nodejs/node/pull/59365
1409
1435
description: ChaCha20-Poly1305 algorithm is now supported.
@@ -1436,6 +1462,7 @@ The wrapping algorithms currently supported include:
1436
1462
* ` ' AES-CTR' `
1437
1463
* ` ' AES-GCM' `
1438
1464
* ` ' AES-KW' `
1465
+ * ` ' AES-OCB' ` [^modern-algos]
1439
1466
* ` ' ChaCha20-Poly1305' ` [^modern-algos]
1440
1467
* ` ' RSA-OAEP' `
1441
1468
@@ -1493,7 +1520,7 @@ given key.
1493
1520
added: v15.0.0
1494
1521
-->
1495
1522
1496
- * Type: {string} Must be ` ' AES-GCM' ` or ` ' ChaCha20-Poly1305' ` .
1523
+ * Type: {string} Must be ` ' AES-GCM' ` , ` ' AES-OCB ' ` , or ` ' ChaCha20-Poly1305' ` .
1497
1524
1498
1525
#### ` aeadParams .tagLength `
1499
1526
@@ -1515,8 +1542,7 @@ added: v15.0.0
1515
1542
added: v15.0.0
1516
1543
-->
1517
1544
1518
- * Type: {string} Must be one of ` ' AES-CBC' ` , ` ' AES-CTR' ` , ` ' AES-GCM' ` , or
1519
- ` ' AES-KW' `
1545
+ * Type: {string} Must be one of ` ' AES-CBC' ` , ` ' AES-CTR' ` , ` ' AES-GCM' ` , ` ' AES-OCB' ` , or ` ' AES-KW' `
1520
1546
1521
1547
#### ` aesDerivedKeyParams .length `
1522
1548
@@ -2392,6 +2418,8 @@ The length (in bytes) of the random salt to use.
2392
2418
2393
2419
[^modern-algos]: See [Modern Algorithms in the Web Cryptography API][]
2394
2420
2421
+ [^openssl30]: Requires OpenSSL >= 3.0
2422
+
2395
2423
[^openssl35]: Requires OpenSSL >= 3.5
2396
2424
2397
2425
[JSON Web Key]: https://tools.ietf.org/html/rfc7517
0 commit comments