Searched refs:shake_ctx (Results 1 – 3 of 3) sorted by relevance
93 struct shake_ctx { struct103 static inline void shake_zeroize_ctx(struct shake_ctx *ctx) in shake_zeroize_ctx() argument210 static inline void shake128_init(struct shake_ctx *ctx) in shake128_init()212 *ctx = (struct shake_ctx){ in shake128_init()225 static inline void shake256_init(struct shake_ctx *ctx) in shake256_init()227 *ctx = (struct shake_ctx){ in shake256_init()243 static inline void shake_update(struct shake_ctx *ctx, in shake_update()262 void shake_squeeze(struct shake_ctx *ctx, u8 *out, size_t out_len);
245 void shake_squeeze(struct shake_ctx *shake_ctx, u8 *out, size_t out_len) in shake_squeeze() argument247 struct __sha3_ctx *ctx = &shake_ctx->ctx; in shake_squeeze()362 struct shake_ctx ctx; in shake128()373 struct shake_ctx ctx; in shake256()
258 static void shake_init(struct shake_ctx *ctx, int alg) in shake_init()327 struct shake_ctx ctx; in test_shake_multiple_squeezes()