// keccak.h1// 19-Nov-11 Markku-Juhani O. Saarinen <[email protected]>23#ifndef KECCAK_H4#define KECCAK_H56#include <stdint.h>7#include <string.h>89#ifndef KECCAK_ROUNDS10#define KECCAK_ROUNDS 2411#endif1213#ifndef ROTL6414#define ROTL64(x, y) (((x) << (y)) | ((x) >> (64 - (y))))15#endif1617// compute a keccak hash (md) of given byte length from "in"18int keccak(const uint8_t *in, int inlen, uint8_t *md, int mdlen);1920// update the state21void keccakf(uint64_t st[25], int norounds);2223void keccak1600(const uint8_t *in, int inlen, uint8_t *md);2425#endif262728