From 55985ad1b49b8d4e1cbc34f95ee7d603961ca786 Mon Sep 17 00:00:00 2001 From: kaleb-himes Date: Tue, 30 Jun 2020 12:01:57 -0600 Subject: [PATCH] Change Hash union to wc_Hmac_Hash --- wolfssl/wolfcrypt/hmac.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wolfssl/wolfcrypt/hmac.h b/wolfssl/wolfcrypt/hmac.h index f6744db64..06b9132ec 100644 --- a/wolfssl/wolfcrypt/hmac.h +++ b/wolfssl/wolfcrypt/hmac.h @@ -131,11 +131,11 @@ typedef union { #ifdef WOLFSSL_SHA3 wc_Sha3 sha3; #endif -} Hash; +} wc_Hmac_Hash; /* Hmac digest */ struct Hmac { - Hash hash; + wc_Hmac_Hash hash; word32 ipad[WC_HMAC_BLOCK_SIZE / sizeof(word32)]; /* same block size all*/ word32 opad[WC_HMAC_BLOCK_SIZE / sizeof(word32)]; word32 innerHash[WC_MAX_DIGEST_SIZE / sizeof(word32)];