Home
last modified time | relevance | path

Searched refs:cipher_tfm (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/md/
Ddm-crypt.c164 } cipher_tfm; member
231 return cc->cipher_tfm.tfms[0]; in any_tfm()
236 return cc->cipher_tfm.tfms_aead[0]; in any_tfm_aead()
1141 skcipher_request_set_tfm(ctx->r.req, cc->cipher_tfm.tfms[key_index]); in crypt_alloc_req_skcipher()
1158 aead_request_set_tfm(ctx->r.req_aead, cc->cipher_tfm.tfms_aead[0]); in crypt_alloc_req_aead()
1726 if (!cc->cipher_tfm.tfms_aead) in crypt_free_tfms_aead()
1729 if (cc->cipher_tfm.tfms_aead[0] && !IS_ERR(cc->cipher_tfm.tfms_aead[0])) { in crypt_free_tfms_aead()
1730 crypto_free_aead(cc->cipher_tfm.tfms_aead[0]); in crypt_free_tfms_aead()
1731 cc->cipher_tfm.tfms_aead[0] = NULL; in crypt_free_tfms_aead()
1734 kfree(cc->cipher_tfm.tfms_aead); in crypt_free_tfms_aead()
[all …]
/Linux-v5.4/crypto/
Dcipher.c104 struct cipher_tfm *ops = &tfm->crt_cipher; in crypto_init_cipher_ops()
/Linux-v5.4/include/linux/
Dcrypto.h740 struct cipher_tfm { struct
768 struct cipher_tfm cipher;
1686 static inline struct cipher_tfm *crypto_cipher_crt(struct crypto_cipher *tfm) in crypto_cipher_crt()