crypto: allow short AES-GCM IVs · nodejs/node@4a72c1d · GitHub
Skip to content

Commit 4a72c1d

Browse files
panvaaduh95
authored andcommitted
crypto: allow short AES-GCM IVs
Allow nonempty GCM IVs shorter than the default length and let the underlying cipher enforce its supported range. Signed-off-by: Filip Skokan <panva.ip@gmail.com> Assisted-by: Codex PR-URL: #66237 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Aviv Keller <me@aviv.sh>
1 parent 2d84b7e commit 4a72c1d

2 files changed

Lines changed: 49 additions & 2 deletions

File tree

‎src/crypto/crypto_aes.cc‎

Lines changed: 7 additions & 2 deletions
Lines changed: 42 additions & 0 deletions

0 commit comments

Comments
 (0)