32typedef ocrypto_sha3_ctx ocrypto_kmac_ctx;
54 ocrypto_kmac_ctx *ctx,
55 const uint8_t *key,
size_t key_len,
56 const uint8_t *s,
size_t s_len);
70 ocrypto_kmac_ctx *ctx,
71 const uint8_t *key,
size_t key_len,
72 const uint8_t *s,
size_t s_len);
89 ocrypto_kmac_ctx *ctx,
90 const uint8_t *in,
size_t in_len);
107 ocrypto_kmac_ctx *ctx,
108 const uint8_t *in,
size_t in_len);
128 ocrypto_kmac_ctx *ctx,
129 uint8_t *r,
size_t r_len);
149 ocrypto_kmac_ctx *ctx,
150 uint8_t *r,
size_t r_len);
168 uint8_t *r,
size_t r_len,
169 const uint8_t *key,
size_t key_len,
170 const uint8_t *in,
size_t in_len,
171 const uint8_t *s,
size_t s_len);
188 uint8_t *r,
size_t r_len,
189 const uint8_t *key,
size_t key_len,
190 const uint8_t *in,
size_t in_len,
191 const uint8_t *s,
size_t s_len);
void ocrypto_kmac128_update(ocrypto_kmac_ctx *ctx, const uint8_t *in, size_t in_len)
void ocrypto_kmac128(uint8_t *r, size_t r_len, const uint8_t *key, size_t key_len, const uint8_t *in, size_t in_len, const uint8_t *s, size_t s_len)
void ocrypto_kmac256_update(ocrypto_kmac_ctx *ctx, const uint8_t *in, size_t in_len)
void ocrypto_kmac256(uint8_t *r, size_t r_len, const uint8_t *key, size_t key_len, const uint8_t *in, size_t in_len, const uint8_t *s, size_t s_len)
void ocrypto_kmac256_final(ocrypto_kmac_ctx *ctx, uint8_t *r, size_t r_len)
void ocrypto_kmac256_init(ocrypto_kmac_ctx *ctx, const uint8_t *key, size_t key_len, const uint8_t *s, size_t s_len)
void ocrypto_kmac128_init(ocrypto_kmac_ctx *ctx, const uint8_t *key, size_t key_len, const uint8_t *s, size_t s_len)
void ocrypto_kmac128_final(ocrypto_kmac_ctx *ctx, uint8_t *r, size_t r_len)