Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/crypto/
A Dsm3-hmac.c22 struct crypto_mac_ctx mac_ctx; member
32 return container_of(ctx, struct sm3_hmac_ctx, mac_ctx); in to_hmac_ctx()
108 c->mac_ctx.ops = &sm3_hmac_ops; in crypto_hmac_sm3_alloc_ctx()
110 *ctx = &c->mac_ctx; in crypto_hmac_sm3_alloc_ctx()
/optee_os-3.20.0/lib/libmbedtls/core/
A Dhmac.c20 struct crypto_mac_ctx mac_ctx; member
30 return container_of(ctx, struct mbed_hmac_ctx, mac_ctx); in to_hmac_ctx()
119 c->mac_ctx.ops = &mbed_hmac_ops; in mbed_hmac_alloc_ctx()
128 *ctx_ret = &c->mac_ctx; in mbed_hmac_alloc_ctx()
A Dcmac.c21 struct crypto_mac_ctx mac_ctx; member
33 return container_of(ctx, struct mbed_cmac_ctx, mac_ctx); in to_cmac_ctx()
153 c->mac_ctx.ops = &mbed_cmac_ops; in crypto_cmac_alloc_ctx()
169 *ctx_ret = &c->mac_ctx; in crypto_cmac_alloc_ctx()
/optee_os-3.20.0/core/drivers/crypto/caam/hash/
A Dcaam_hash_mac.c36 struct crypto_mac_ctx mac_ctx; /* Crypto MAC API context */ member
56 return container_of(ctx, struct crypto_mac, mac_ctx); in to_mac_ctx()
314 mac->mac_ctx.ops = &hmac_ops; in caam_hmac_allocate()
317 *ctx = &mac->mac_ctx; in caam_hmac_allocate()
/optee_os-3.20.0/core/drivers/crypto/caam/cipher/
A Dcaam_cipher_mac.c94 struct crypto_mac_ctx mac_ctx; /* Crypto MAC API context */ member
107 return container_of(ctx, struct crypto_mac, mac_ctx); in to_mac_ctx()
788 mac->mac_ctx.ops = &cmac_ops; in caam_cmac_allocate()
791 *ctx = &mac->mac_ctx; in caam_cmac_allocate()

Completed in 10 milliseconds