Home
last modified time | relevance | path

Searched refs:shake_ctx (Results 1 – 3 of 3) sorted by relevance

/linux/include/crypto/
H A Dsha3.h93 struct shake_ctx { struct
103 static inline void shake_zeroize_ctx(struct shake_ctx *ctx) in shake_zeroize_ctx() argument
210 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);
/linux/lib/crypto/
H A Dsha3.c245 void shake_squeeze(struct shake_ctx *shake_ctx, u8 *out, size_t out_len) in shake_squeeze() argument
247 struct __sha3_ctx *ctx = &shake_ctx->ctx; in shake_squeeze()
362 struct shake_ctx ctx; in shake128()
373 struct shake_ctx ctx; in shake256()
/linux/lib/crypto/tests/
H A Dsha3_kunit.c258 static void shake_init(struct shake_ctx *ctx, int alg) in shake_init()
327 struct shake_ctx ctx; in test_shake_multiple_squeezes()