summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ecdsa
diff options
context:
space:
mode:
authortb <>2022-11-18 15:01:04 +0000
committertb <>2022-11-18 15:01:04 +0000
commit4ac94b93f062b2c44f969dc6f9f4eda7a744a023 (patch)
tree6bb36687c28a9ff4ad25e69001d876c7678c0c60 /src/lib/libcrypto/ecdsa
parent3ceb42d62047d438cd7b6b6a201682452faf30fc (diff)
downloadopenbsd-4ac94b93f062b2c44f969dc6f9f4eda7a744a023.tar.gz
openbsd-4ac94b93f062b2c44f969dc6f9f4eda7a744a023.tar.bz2
openbsd-4ac94b93f062b2c44f969dc6f9f4eda7a744a023.zip
Wire up HMAC to raw private key methods
Obviously, the brilliant API design kitchen decided that an interface carrying public and private key in its name (so that every sane person thinks of asymmetric cryptography), is also perfectly suitable for MACs. Wire up HMAC since Ruby's OpenSSL gem uses these bindings if the build system detects that EVP_PKEY_new_raw_public_key() is available in evp.h. While there, also add the missing pub_cmp() ameth, which obviously treats two things as equal by returning 1. Reported by jeremy and anton, fixes regress/lib/libssl/openssl-ruby tests ok jsing
Diffstat (limited to 'src/lib/libcrypto/ecdsa')
0 files changed, 0 insertions, 0 deletions