mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-05 10:50:53 +02:00
Make sure ASCON is unusable on big endian
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user