crypto: ensure auth tag set for chacha20-poly1305 · nodejs/node@4617512 · GitHub
Skip to content

Commit 4617512

Browse files
bnoordhuisBethGriggs
authored andcommitted
crypto: ensure auth tag set for chacha20-poly1305
Because OpenSSL v1.x doesn't do that by itself (OpenSSL v3.x does.) Fixes: #45874 PR-URL: #46185 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 809371a commit 4617512

2 files changed

Lines changed: 39 additions & 0 deletions

File tree

src/crypto/crypto_cipher.cc

Lines changed: 8 additions & 0 deletions

test/parallel/test-crypto-authenticated.js

Lines changed: 31 additions & 0 deletions

0 commit comments

Comments
 (0)