crypto: Allow GCM ciphers to have a longer IV length · nodejs/node@fa9e6f7 · GitHub
Skip to content

Commit fa9e6f7

Browse files
mwainFishrock123
authored andcommitted
crypto: Allow GCM ciphers to have a longer IV length
GCM cipher IV length can be >=1 bytes. When not the default 12 bytes (96 bits) sets the IV length using `EVP_CIPHER_CTX_ctrl` with type `EVP_CTRL_GCM_SET_IVLEN` PR-URL: #6376 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp>
1 parent a4880b5 commit fa9e6f7

2 files changed

Lines changed: 315 additions & 24 deletions

File tree

src/node_crypto.cc

Lines changed: 13 additions & 1 deletion

0 commit comments

Comments
 (0)