sha3.h: rename struct Sha3 to struct wc_Sha3 for consistency, and compatibility with FIPS source.

This commit is contained in:
Daniel Pouzzner
2020-11-26 00:20:55 -06:00
parent cfc08cc13f
commit 7cfe1e2143

View File

@ -90,7 +90,7 @@ enum {
#else #else
/* Sha3 digest */ /* Sha3 digest */
struct Sha3 { struct wc_Sha3 {
/* State data that is processed for each block. */ /* State data that is processed for each block. */
word64 s[25]; word64 s[25];
/* Unprocessed message data. */ /* Unprocessed message data. */
@ -109,7 +109,7 @@ struct Sha3 {
}; };
#ifndef WC_SHA3_TYPE_DEFINED #ifndef WC_SHA3_TYPE_DEFINED
typedef struct Sha3 wc_Sha3; typedef struct wc_Sha3 wc_Sha3;
#define WC_SHA3_TYPE_DEFINED #define WC_SHA3_TYPE_DEFINED
#endif #endif