Searched refs:mac_ctx (Results 1 – 5 of 5) sorted by relevance
/optee_os-3.20.0/core/crypto/ |
A D | sm3-hmac.c | 22 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 D | hmac.c | 20 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 D | cmac.c | 21 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 D | caam_hash_mac.c | 36 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 D | caam_cipher_mac.c | 94 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