Home
last modified time | relevance | path

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

/optee_os/core/lib/libtomcrypt/
H A Dshake.c13 struct shake_ctx { struct
18 static struct shake_ctx *to_shake_ctx(struct crypto_hash_ctx *ctx) in to_shake_ctx() argument
20 return container_of(ctx, struct shake_ctx, ctx); in to_shake_ctx()
25 struct shake_ctx *c = to_shake_ctx(ctx); in do_shake_init()
36 struct shake_ctx *c = to_shake_ctx(ctx); in do_sha3_update()
47 struct shake_ctx *c = to_shake_ctx(ctx); in do_shake_final()
58 struct shake_ctx *ctx = calloc(1, sizeof(*ctx)); in do_shake_alloc_ctx()
71 struct shake_ctx *c = to_shake_ctx(ctx); in do_sha3_free_ctx()
78 struct shake_ctx *dc = to_shake_ctx(dst_ctx); in do_sha3_copy_state()
79 struct shake_ctx *sc = to_shake_ctx(src_ctx); in do_sha3_copy_state()