diff --git a/wolfcrypt/src/ascon.c b/wolfcrypt/src/ascon.c index 8c61f00bf0..8bd1e88d4d 100644 --- a/wolfcrypt/src/ascon.c +++ b/wolfcrypt/src/ascon.c @@ -45,6 +45,9 @@ #ifndef WORD64_AVAILABLE #error "Ascon implementation requires a 64-bit word" #endif +#ifdef BIG_ENDIAN_ORDER + #error "Ascon not yet supported on big-endian systems" +#endif /* Data block size in bytes */ #define ASCON_HASH256_RATE 8