doc: improve CCM example · nodejs/node@c0cdf30 · GitHub
Skip to content

Commit c0cdf30

Browse files
tniessentargos
authored andcommitted
doc: improve CCM example
Applications should never attempt to use the deciphered message if authentication fails. In reality, this is usually not a problem since OpenSSL does not disclose the plaintext in this case, but it is still a design mistake and can lead to critical security problems in other cipher modes and implementations. PR-URL: #27396 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent a5dab9e commit c0cdf30

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

doc/api/crypto.md

Lines changed: 1 addition & 0 deletions

0 commit comments

Comments
 (0)