Home
last modified time | relevance | path

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

/optee_os/core/drivers/crypto/caam/hash/
H A Dcaam_hash_mac.c35 struct crypto_mac { struct
52 static struct crypto_mac *to_mac_ctx(struct crypto_mac_ctx *ctx) in to_mac_ctx() argument
56 return container_of(ctx, struct crypto_mac, mac_ctx); in to_mac_ctx()
128 struct crypto_mac *mac = to_mac_ctx(ctx); in do_hmac_init()
220 struct crypto_mac *mac = to_mac_ctx(ctx); in do_hmac_update()
236 struct crypto_mac *mac = to_mac_ctx(ctx); in do_hmac_final()
249 struct crypto_mac *mac = to_mac_ctx(ctx); in do_hmac_free()
266 struct crypto_mac *mac_src = to_mac_ctx(src_ctx); in do_hmac_copy_state()
267 struct crypto_mac *mac_dst = to_mac_ctx(dst_ctx); in do_hmac_copy_state()
291 struct crypto_mac *mac = NULL; in caam_hmac_allocate()
/optee_os/core/drivers/crypto/caam/cipher/
H A Dcaam_cipher_mac.c93 struct crypto_mac { struct
103 static struct crypto_mac *to_mac_ctx(struct crypto_mac_ctx *ctx) in to_mac_ctx() argument
107 return container_of(ctx, struct crypto_mac, mac_ctx); in to_mac_ctx()
584 struct crypto_mac *mac = to_mac_ctx(ctx); in do_cmac_init()
632 struct crypto_mac *mac = to_mac_ctx(ctx); in do_cmac_update()
666 struct crypto_mac *mac = to_mac_ctx(ctx); in do_cmac_final()
711 struct crypto_mac *mac = to_mac_ctx(ctx); in do_cmac_free()
726 struct crypto_mac *mac_src = to_mac_ctx(src_ctx); in do_cmac_copy_state()
727 struct crypto_mac *mac_dst = to_mac_ctx(dst_ctx); in do_cmac_copy_state()
757 struct crypto_mac *mac = NULL; in caam_cmac_allocate()