]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - keccak/keccak.h
[keccak-asm] removing unnecessary c and d fields from context
[avr-crypto-lib.git] / keccak / keccak.h
index 736cbc8a1756228c133dbdd1e9075fab39b63adc..b9ecd3e0e5087a02bba06df70ba05a2935becddd 100644 (file)
@@ -32,9 +32,9 @@
 #define KECCAK512_BLOCKSIZE_B (KECCAK512_BLOCKSIZE / 8)
 
 typedef struct{
-       uint64_t a[5][5];
-       uint16_t r, c;
-       uint8_t  d, bs;
+       uint8_t a[200];
+       uint16_t r;
+       uint8_t  bs;
 } keccak_ctx_t;