oxedyne/fe2o3/fe2o3_crypto/src/c/fips202.h
491 bytes, 1 run
created by r1870400018:198, which is this file's identity for as long as the history lasts, whatever it is later renamed to
download · who wrote it · its history
| 1 | #ifndef FIPS202_H |
| 2 | #define FIPS202_H |
| 3 | |
| 4 | #include <stdint.h> |
| 5 | |
| 6 | #define SHAKE128_RATE 168 |
| 7 | #define SHAKE256_RATE 136 |
| 8 | #define SHA3_256_RATE 136 |
| 9 | #define SHA3_512_RATE 72 |
| 10 | |
| 11 | void saber_shake128(unsigned char *output, unsigned long long outlen, const unsigned char *input, unsigned long long inlen); |
| 12 | void saber_sha3_256(unsigned char *output, const unsigned char *input, unsigned long long inlen); |
| 13 | void saber_sha3_512(unsigned char *output, const unsigned char *input, unsigned long long inlen); |
| 14 | |
| 15 | #endif |