]> git.kaiwu.me - njs.git/commit
WebCrypto: added AES-KW algorithm support.
authorDmitry Volyntsev <xeioex@nginx.com>
Fri, 3 Apr 2026 05:32:24 +0000 (22:32 -0700)
committerDmitry Volyntsev <xeioexception@gmail.com>
Mon, 6 Apr 2026 22:24:37 +0000 (15:24 -0700)
commitf42b2683d1ff6e11a388e3e6c0b8ec373caf5033
tree874e6c48520199dac565c35e3c1e16d31e470a7f
parent075d950ecbab5cb481b51ec96806cc1df3850c86
WebCrypto: added AES-KW algorithm support.

Supports 128, 192, and 256-bit key sizes with generateKey,
importKey, and exportKey operations in raw and JWK formats.

Also fixed deriveKey to accept 192-bit AES key lengths.
auto/openssl
external/njs_webcrypto_module.c
external/qjs_webcrypto_module.c
test/webcrypto/aes_kw.t.mjs [new file with mode: 0644]
test/webcrypto/wrap.t.mjs [new file with mode: 0644]
ts/njs_webcrypto.d.ts