diff options
author | Richard Levitte <levitte@openssl.org> | 2019-06-04 18:00:04 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-08-15 22:12:25 +0200 |
commit | 776796e81895fc66994a90bb62da4c7f50d34368 (patch) | |
tree | 9f55862e592aa77676f81730432f21fb070fb989 /crypto/include | |
parent | d747fb2ec5ee964e8367e7baec8d499d4832def6 (diff) |
Adapt diverse code to provider based MACs.
CRMF, SSKDF, TLS1_PRF and SIV are affected by this.
This also forces the need to check MAC names, which leads to storing
the names in the created methods, which affects all EVP APIs, not just
EVP_MAC. We will want that kind of information anyway (for example
for 'openssl list')... Consequently, EVP_MAC_name() is re-implemented.
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/8877)
Diffstat (limited to 'crypto/include')
-rw-r--r-- | crypto/include/internal/modes_int.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/include/internal/modes_int.h b/crypto/include/internal/modes_int.h index 5230f08966..08e4ffae74 100644 --- a/crypto/include/internal/modes_int.h +++ b/crypto/include/internal/modes_int.h @@ -211,6 +211,7 @@ struct siv128_context { SIV_BLOCK d; SIV_BLOCK tag; EVP_CIPHER_CTX *cipher_ctx; + EVP_MAC *mac; EVP_MAC_CTX *mac_ctx_init; int final_ret; int crypto_ok; |