Make sure ASCON is unusable on big endian

This commit is contained in:
Tobias Frauenschläger
2026-04-01 09:16:55 +02:00
parent da597e30db
commit 8b2c0f7cd2
+3
View File
@@ -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