From 401d79ce0fe4ebbdd489a453cf30b59eef578eab Mon Sep 17 00:00:00 2001 From: Arham Wani Date: Mon, 10 Aug 2026 09:48:35 +0530 Subject: [PATCH] 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 --- doc/api/webcrypto.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/webcrypto.md b/doc/api/webcrypto.md index 562bdb37c2af..17a0e98cb1cb 100644 --- a/doc/api/webcrypto.md +++ b/doc/api/webcrypto.md @@ -1673,8 +1673,8 @@ or `256`. added: v15.0.0 --> -* Type: {string} Must be one of `'AES-CBC'`, `'AES-CTR'`, `'AES-GCM'`, or - `'AES-KW'` +* Type: {string} Must be one of `'AES-CBC'`, `'AES-CTR'`, `'AES-GCM'`, + `'AES-OCB'`, or `'AES-KW'` ### Class: `Argon2Params`