Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/crypto/ccp/
Dccp-crypto-aes-cmac.c272 ret = crypto_cipher_setkey(ctx->u.aes.tfm_cipher, key, key_len); in ccp_aes_cmac_setkey()
278 crypto_cipher_encrypt_one(ctx->u.aes.tfm_cipher, ctx->u.aes.key, in ccp_aes_cmac_setkey()
338 ctx->u.aes.tfm_cipher = cipher_tfm; in ccp_aes_cmac_cra_init()
347 if (ctx->u.aes.tfm_cipher) in ccp_aes_cmac_cra_exit()
348 crypto_free_cipher(ctx->u.aes.tfm_cipher); in ccp_aes_cmac_cra_exit()
349 ctx->u.aes.tfm_cipher = NULL; in ccp_aes_cmac_cra_exit()
Dccp-crypto.h75 struct crypto_cipher *tfm_cipher; member