diff options
author | schwarze <> | 2024-11-12 00:42:28 +0000 |
---|---|---|
committer | schwarze <> | 2024-11-12 00:42:28 +0000 |
commit | 85f50362c800a2c0ce99fee3520e87cfff222b7f (patch) | |
tree | 20573a20cc2fcbba4329dcc84629c7a23123badf /src/lib/libcrypto/ec/ecp_methods.c | |
parent | 81d3d288cb5a0f4fa1a7846cd2dc5f553fccc908 (diff) | |
download | openbsd-85f50362c800a2c0ce99fee3520e87cfff222b7f.tar.gz openbsd-85f50362c800a2c0ce99fee3520e87cfff222b7f.tar.bz2 openbsd-85f50362c800a2c0ce99fee3520e87cfff222b7f.zip |
Fix a brainfart that happened to me in 2020:
It is impossible to use EVP_DigestInit_ex(3) for CMAC.
Besides, EVP_PKEY_CTX_new_id(3) does not produce an EVP_MD_CTX object.
Instead, mention the easiest way to actually get the job done
using EVP_PKEY_new_CMAC_key(3) and EVP_DigestSignInit(3).
OK tb@
Diffstat (limited to 'src/lib/libcrypto/ec/ecp_methods.c')
0 files changed, 0 insertions, 0 deletions