2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

Add generic hashed message authentication code API (isc_hmac) to replace specific HMAC functions hmacmd5/hmacsha1/hmacsha2...

This commit is contained in:
Ondřej Surý
2018-03-20 17:20:50 +00:00
parent 7fd3dc63de
commit b98ac2593c
28 changed files with 1750 additions and 3834 deletions

View File

@@ -101,5 +101,9 @@ HMAC_CTX_reset(HMAC_CTX *ctx) {
return (1);
}
const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx) {
return ctx->md;
}
#endif /* OPENSSL_VERSION_NUMBER < 0x10100000L ||
* defined(LIBRESSL_VERSION_NUMBER) */