Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/drivers/crypto/caam/hash/
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()
219 struct crypto_mac *mac = to_mac_ctx(ctx); in do_hmac_update()
235 struct crypto_mac *mac = to_mac_ctx(ctx); in do_hmac_final()
248 struct crypto_mac *mac = to_mac_ctx(ctx); in do_hmac_free()
265 struct crypto_mac *mac_src = to_mac_ctx(src_ctx); in do_hmac_copy_state()
266 struct crypto_mac *mac_dst = to_mac_ctx(dst_ctx); in do_hmac_copy_state()
290 struct crypto_mac *mac = NULL; in caam_hmac_allocate()
/optee_os-3.20.0/core/drivers/crypto/caam/cipher/
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()
575 struct crypto_mac *mac = to_mac_ctx(ctx); in do_cmac_init()
623 struct crypto_mac *mac = to_mac_ctx(ctx); in do_cmac_update()
657 struct crypto_mac *mac = to_mac_ctx(ctx); in do_cmac_final()
702 struct crypto_mac *mac = to_mac_ctx(ctx); in do_cmac_free()
717 struct crypto_mac *mac_src = to_mac_ctx(src_ctx); in do_cmac_copy_state()
718 struct crypto_mac *mac_dst = to_mac_ctx(dst_ctx); in do_cmac_copy_state()
748 struct crypto_mac *mac = NULL; in caam_cmac_allocate()

Completed in 4 milliseconds