fix for gcc-11 build with blake2

This commit is contained in:
Jacob Barthelmeh
2021-07-06 14:53:39 +07:00
parent ae00b5acd0
commit a6ce91f3bb

View File

@ -77,7 +77,7 @@
byte personal[BLAKE2S_PERSONALBYTES]; /* 32 */
} blake2s_param;
ALIGN32 typedef struct __blake2s_state
typedef struct ALIGN32 __blake2s_state
{
word32 h[8];
word32 t[2];
@ -102,7 +102,7 @@
byte personal[BLAKE2B_PERSONALBYTES]; /* 64 */
} blake2b_param;
ALIGN64 typedef struct __blake2b_state
typedef struct ALIGN64 __blake2b_state
{
word64 h[8];
word64 t[2];