Searched refs:crypto_mac (Results 1 – 2 of 2) sorted by relevance
35 struct crypto_mac { struct52 static struct crypto_mac *to_mac_ctx(struct crypto_mac_ctx *ctx) in to_mac_ctx() argument56 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()
93 struct crypto_mac { struct103 static struct crypto_mac *to_mac_ctx(struct crypto_mac_ctx *ctx) in to_mac_ctx() argument107 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()