diff options
author | schwarze <> | 2024-12-29 12:27:28 +0000 |
---|---|---|
committer | schwarze <> | 2024-12-29 12:27:28 +0000 |
commit | 1890d262ab9bcbf87c2f69f6e2156d61ad9fbf2f (patch) | |
tree | ea808f1ae9b32c375d8dd9a547db249833960ab5 /src/lib/libcrypto/stack/safestack.h | |
parent | 2a801fad92517eff7ef232be41af1b086dbb5a50 (diff) | |
download | openbsd-1890d262ab9bcbf87c2f69f6e2156d61ad9fbf2f.tar.gz openbsd-1890d262ab9bcbf87c2f69f6e2156d61ad9fbf2f.tar.bz2 openbsd-1890d262ab9bcbf87c2f69f6e2156d61ad9fbf2f.zip |
Prefer the constants EVP_CTRL_AEAD_* over EVP_CTRL_CCM_* and EVP_CTRL_GCM_*
because that's what OpenSSL 1.1 suggests. Even though that "unification"
doesn't really simplify anything but is more akin to repainting the bikeshed,
at least it doesn't cause any additional harm, so keeping recommendations
consistent may reduce the risk of code breaking in the future.
Provide an example of decryption with AES-CCM in addition to the
example of encryption already in place, because there are a number
of subtle and non-obvious differences that users have to pay
attention to.
Both ideas originally suggested by tb@.
Diffstat (limited to 'src/lib/libcrypto/stack/safestack.h')
0 files changed, 0 insertions, 0 deletions