Home
last modified time | relevance | path

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

/optee_os/core/drivers/crypto/caam/hash/
H A Dcaam_hash_mac.c52 static struct crypto_mac *to_mac_ctx(struct crypto_mac_ctx *ctx) in to_mac_ctx() function
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()
/optee_os/core/drivers/crypto/caam/cipher/
H A Dcaam_cipher_mac.c103 static struct crypto_mac *to_mac_ctx(struct crypto_mac_ctx *ctx) in to_mac_ctx() function
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()