crypto: add test case for AES key wrapping · nodejs/node@cecec46 · GitHub
Skip to content

Commit cecec46

Browse files
yhwangaddaleax
authored andcommitted
crypto: add test case for AES key wrapping
Add test cases for AES key wrapping and only detect output length in cipher case. The reason being is the returned output length is insufficient in AES key unwrapping case. Backport-PR-URL: #20706 PR-URL: #20587 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
1 parent 40fb885 commit cecec46

2 files changed

Lines changed: 63 additions & 1 deletion

File tree

src/node_crypto.cc

Lines changed: 1 addition & 1 deletion
Lines changed: 62 additions & 0 deletions

0 commit comments

Comments
 (0)