Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/crypto/ccp/
Dccp-crypto-aes-cmac.c290 ret = crypto_cipher_setkey(ctx->u.aes.tfm_cipher, key, key_len); in ccp_aes_cmac_setkey()
296 crypto_cipher_encrypt_one(ctx->u.aes.tfm_cipher, ctx->u.aes.key, in ccp_aes_cmac_setkey()
356 ctx->u.aes.tfm_cipher = cipher_tfm; in ccp_aes_cmac_cra_init()
365 if (ctx->u.aes.tfm_cipher) in ccp_aes_cmac_cra_exit()
366 crypto_free_cipher(ctx->u.aes.tfm_cipher); in ccp_aes_cmac_cra_exit()
367 ctx->u.aes.tfm_cipher = NULL; in ccp_aes_cmac_cra_exit()
Dccp-crypto.h94 struct crypto_cipher *tfm_cipher; member