This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// converted from https://github.com/coruus/keccak-tiny/blob/singlefile/keccak-tiny.c | |
#define rol(x, s) (((x) << s) | ((x) >> (64 - s))) | |
/*** Keccak-f[1600] ***/ | |
static inline void keccakf(void* state) { | |
uint64_t* a = (uint64_t*)state; | |
uint64_t b[5] = {0}; | |
uint64_t t = 0; | |
uint8_t x, y; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"sig":"32f779419035545cafbe7179e7be6b2bbc9b018b6f91e28e16f415f703e2faad142bdd4f27fb3b481e582c06e318df588759beadea6011b0cdb840e34e5470ad1","msghash":"59ffcbe29ecc0daeb6d69b1137216f79f5edcbc3474aa250b95faa58a26e5541"} |