17#ifndef OCRYPTO_SHAKE_H
18#define OCRYPTO_SHAKE_H
32typedef ocrypto_sha3_ctx ocrypto_shake_ctx;
50 ocrypto_shake_ctx *ctx);
67 ocrypto_shake_ctx *ctx,
68 const uint8_t *in,
size_t in_len);
85 ocrypto_shake_ctx *ctx,
86 const uint8_t *in,
size_t in_len);
106 ocrypto_shake_ctx *ctx,
107 uint8_t *r,
size_t r_len);
127 ocrypto_shake_ctx *ctx,
128 uint8_t *r,
size_t r_len);
145 ocrypto_shake_ctx *ctx,
146 uint8_t *r,
size_t r_len);
163 ocrypto_shake_ctx *ctx,
164 uint8_t *r,
size_t r_len);
178 uint8_t *r,
size_t r_len,
179 const uint8_t *in,
size_t in_len);
192 uint8_t *r,
size_t r_len,
193 const uint8_t *in,
size_t in_len);
void ocrypto_shake128_final(ocrypto_shake_ctx *ctx, uint8_t *r, size_t r_len)
void ocrypto_shake256_update(ocrypto_shake_ctx *ctx, const uint8_t *in, size_t in_len)
void ocrypto_shake256(uint8_t *r, size_t r_len, const uint8_t *in, size_t in_len)
void ocrypto_shake128(uint8_t *r, size_t r_len, const uint8_t *in, size_t in_len)
void ocrypto_shake128_update(ocrypto_shake_ctx *ctx, const uint8_t *in, size_t in_len)
void ocrypto_shake256_final(ocrypto_shake_ctx *ctx, uint8_t *r, size_t r_len)
void ocrypto_shake256_ext(ocrypto_shake_ctx *ctx, uint8_t *r, size_t r_len)
void ocrypto_shake128_ext(ocrypto_shake_ctx *ctx, uint8_t *r, size_t r_len)
void ocrypto_shake_init(ocrypto_shake_ctx *ctx)