Searched refs:cipher_tfm (Results 1 – 4 of 4) sorted by relevance
173 } cipher_tfm; member240 return cc->cipher_tfm.tfms[0]; in any_tfm()245 return cc->cipher_tfm.tfms_aead[0]; in any_tfm_aead()1247 skcipher_request_set_tfm(ctx->r.req, cc->cipher_tfm.tfms[key_index]); in crypt_alloc_req_skcipher()1264 aead_request_set_tfm(ctx->r.req_aead, cc->cipher_tfm.tfms_aead[0]); in crypt_alloc_req_aead()1831 if (!cc->cipher_tfm.tfms_aead) in crypt_free_tfms_aead()1834 if (cc->cipher_tfm.tfms_aead[0] && !IS_ERR(cc->cipher_tfm.tfms_aead[0])) { in crypt_free_tfms_aead()1835 crypto_free_aead(cc->cipher_tfm.tfms_aead[0]); in crypt_free_tfms_aead()1836 cc->cipher_tfm.tfms_aead[0] = NULL; in crypt_free_tfms_aead()1839 kfree(cc->cipher_tfm.tfms_aead); in crypt_free_tfms_aead()[all …]
342 struct crypto_cipher *cipher_tfm; in ccp_aes_cmac_cra_init() local349 cipher_tfm = crypto_alloc_cipher("aes", 0, in ccp_aes_cmac_cra_init()352 if (IS_ERR(cipher_tfm)) { in ccp_aes_cmac_cra_init()354 return PTR_ERR(cipher_tfm); in ccp_aes_cmac_cra_init()356 ctx->u.aes.tfm_cipher = cipher_tfm; in ccp_aes_cmac_cra_init()
109 struct cipher_tfm *ops = &tfm->crt_cipher; in crypto_init_cipher_ops()
572 struct cipher_tfm { struct600 struct cipher_tfm cipher;1504 static inline struct cipher_tfm *crypto_cipher_crt(struct crypto_cipher *tfm) in crypto_cipher_crt()