blob: e914b96cf3a6fbd72bbf33de1420e88b8b1e0f45 (
plain) (
tree)
|
|
#ifndef KECCAK_FIPS202_H
#define KECCAK_FIPS202_H
#define __STDC_WANT_LIB_EXT1__ 1
#include <stdint.h>
#include <stdlib.h>
#ifndef __STDC_LIB_EXT1__
#define memset_s(W,WL,V,OL) memset(W,V,OL)
#endif
#define decshake(bits) \
int shake##bits(uint8_t*, size_t, const uint8_t*, size_t);
#define decsha3(bits) \
int sha3_##bits(uint8_t*, size_t, const uint8_t*, size_t);
decshake(128)
decshake(256)
decsha3(224)
decsha3(256)
decsha3(384)
decsha3(512)
#endif
|