45#define ocrypto_sha3_224_BYTES (28)
50#define ocrypto_sha3_256_BYTES (32)
55#define ocrypto_sha3_384_BYTES (48)
60#define ocrypto_sha3_512_BYTES (64)
89 ocrypto_sha3_ctx *ctx);
106 ocrypto_sha3_ctx *ctx,
107 const uint8_t *in,
size_t in_len);
124 ocrypto_sha3_ctx *ctx,
125 const uint8_t *in,
size_t in_len);
142 ocrypto_sha3_ctx *ctx,
143 const uint8_t *in,
size_t in_len);
160 ocrypto_sha3_ctx *ctx,
161 const uint8_t *in,
size_t in_len);
180 ocrypto_sha3_ctx *ctx,
200 ocrypto_sha3_ctx *ctx,
220 ocrypto_sha3_ctx *ctx,
240 ocrypto_sha3_ctx *ctx,
255 const uint8_t *in,
size_t in_len);
268 const uint8_t *in,
size_t in_len);
281 const uint8_t *in,
size_t in_len);
294 const uint8_t *in,
size_t in_len);
void ocrypto_sha3_256(uint8_t r[(32)], const uint8_t *in, size_t in_len)
void ocrypto_sha3_384(uint8_t r[(48)], const uint8_t *in, size_t in_len)
#define ocrypto_sha3_256_BYTES
Definition ocrypto_sha3.h:50
void ocrypto_sha3_224(uint8_t r[(28)], const uint8_t *in, size_t in_len)
void ocrypto_sha3_256_update(ocrypto_sha3_ctx *ctx, const uint8_t *in, size_t in_len)
#define ocrypto_sha3_224_BYTES
Definition ocrypto_sha3.h:45
void ocrypto_sha3_256_final(ocrypto_sha3_ctx *ctx, uint8_t r[(32)])
void ocrypto_sha3_224_final(ocrypto_sha3_ctx *ctx, uint8_t r[(28)])
void ocrypto_sha3_224_update(ocrypto_sha3_ctx *ctx, const uint8_t *in, size_t in_len)
void ocrypto_sha3_512_final(ocrypto_sha3_ctx *ctx, uint8_t r[(64)])
void ocrypto_sha3_384_final(ocrypto_sha3_ctx *ctx, uint8_t r[(48)])
#define ocrypto_sha3_512_BYTES
Definition ocrypto_sha3.h:60
#define ocrypto_sha3_384_BYTES
Definition ocrypto_sha3.h:55
void ocrypto_sha3_512(uint8_t r[(64)], const uint8_t *in, size_t in_len)
void ocrypto_sha3_init(ocrypto_sha3_ctx *ctx)
void ocrypto_sha3_512_update(ocrypto_sha3_ctx *ctx, const uint8_t *in, size_t in_len)
void ocrypto_sha3_384_update(ocrypto_sha3_ctx *ctx, const uint8_t *in, size_t in_len)