Skip to content

Commit 401d79c

Browse files
author
Arham Wani
committed
doc: add AES-OCB to aesKeyGenParams.name
The `aesKeyGenParams.name` value list omitted `'AES-OCB'`, but AES-OCB key generation is dispatched through the `AesKeyGenParams` dictionary in lib/internal/crypto/util.js and works at runtime. The sibling `aesDerivedKeyParams.name` list and the list of algorithms supported by `generateKey()` in the same document already include `'AES-OCB'`. Add it so the value lists are consistent. Signed-off-by: Arham Wani <arhamwani765@gmail.com>
1 parent d512d2d commit 401d79c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

doc/api/webcrypto.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1673,8 +1673,8 @@ or `256`.
16731673
added: v15.0.0
16741674
-->
16751675
1676-
* Type: {string} Must be one of `'AES-CBC'`, `'AES-CTR'`, `'AES-GCM'`, or
1677-
`'AES-KW'`
1676+
* Type: {string} Must be one of `'AES-CBC'`, `'AES-CTR'`, `'AES-GCM'`,
1677+
`'AES-OCB'`, or `'AES-KW'`
16781678
16791679
### Class: `Argon2Params`
16801680

0 commit comments

Comments
 (0)