forked from wolfSSL/wolfssl
sha3.h: rename struct Sha3 to struct wc_Sha3 for consistency, and compatibility with FIPS source.
This commit is contained in:
@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user