aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/aws/s2n/pq-crypto/sike_r2/fips202.h
blob: 1196bff2c0820f69655b93e7e495f2ca1beab6f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef FIPS202_H
#define FIPS202_H

#define SHAKE256_RATE 136

/** Data structure for the state of the SHAKE-256 non-incremental hashing API. */
typedef struct {
/** Internal state. */
    uint64_t ctx[25];
} shake256_ctx;

void shake256(uint8_t *output, size_t outlen, const uint8_t *input, size_t inlen);

#endif // FIPS202_H