cipher_tfm        104 crypto/cipher.c 	struct cipher_tfm *ops = &tfm->crt_cipher;
cipher_tfm        164 drivers/md/dm-crypt.c 	} cipher_tfm;
cipher_tfm        231 drivers/md/dm-crypt.c 	return cc->cipher_tfm.tfms[0];
cipher_tfm        236 drivers/md/dm-crypt.c 	return cc->cipher_tfm.tfms_aead[0];
cipher_tfm       1147 drivers/md/dm-crypt.c 	skcipher_request_set_tfm(ctx->r.req, cc->cipher_tfm.tfms[key_index]);
cipher_tfm       1164 drivers/md/dm-crypt.c 	aead_request_set_tfm(ctx->r.req_aead, cc->cipher_tfm.tfms_aead[0]);
cipher_tfm       1732 drivers/md/dm-crypt.c 	if (!cc->cipher_tfm.tfms_aead)
cipher_tfm       1735 drivers/md/dm-crypt.c 	if (cc->cipher_tfm.tfms_aead[0] && !IS_ERR(cc->cipher_tfm.tfms_aead[0])) {
cipher_tfm       1736 drivers/md/dm-crypt.c 		crypto_free_aead(cc->cipher_tfm.tfms_aead[0]);
cipher_tfm       1737 drivers/md/dm-crypt.c 		cc->cipher_tfm.tfms_aead[0] = NULL;
cipher_tfm       1740 drivers/md/dm-crypt.c 	kfree(cc->cipher_tfm.tfms_aead);
cipher_tfm       1741 drivers/md/dm-crypt.c 	cc->cipher_tfm.tfms_aead = NULL;
cipher_tfm       1748 drivers/md/dm-crypt.c 	if (!cc->cipher_tfm.tfms)
cipher_tfm       1752 drivers/md/dm-crypt.c 		if (cc->cipher_tfm.tfms[i] && !IS_ERR(cc->cipher_tfm.tfms[i])) {
cipher_tfm       1753 drivers/md/dm-crypt.c 			crypto_free_skcipher(cc->cipher_tfm.tfms[i]);
cipher_tfm       1754 drivers/md/dm-crypt.c 			cc->cipher_tfm.tfms[i] = NULL;
cipher_tfm       1757 drivers/md/dm-crypt.c 	kfree(cc->cipher_tfm.tfms);
cipher_tfm       1758 drivers/md/dm-crypt.c 	cc->cipher_tfm.tfms = NULL;
cipher_tfm       1774 drivers/md/dm-crypt.c 	cc->cipher_tfm.tfms = kcalloc(cc->tfms_count,
cipher_tfm       1777 drivers/md/dm-crypt.c 	if (!cc->cipher_tfm.tfms)
cipher_tfm       1781 drivers/md/dm-crypt.c 		cc->cipher_tfm.tfms[i] = crypto_alloc_skcipher(ciphermode, 0, 0);
cipher_tfm       1782 drivers/md/dm-crypt.c 		if (IS_ERR(cc->cipher_tfm.tfms[i])) {
cipher_tfm       1783 drivers/md/dm-crypt.c 			err = PTR_ERR(cc->cipher_tfm.tfms[i]);
cipher_tfm       1803 drivers/md/dm-crypt.c 	cc->cipher_tfm.tfms = kmalloc(sizeof(struct crypto_aead *), GFP_KERNEL);
cipher_tfm       1804 drivers/md/dm-crypt.c 	if (!cc->cipher_tfm.tfms)
cipher_tfm       1807 drivers/md/dm-crypt.c 	cc->cipher_tfm.tfms_aead[0] = crypto_alloc_aead(ciphermode, 0, 0);
cipher_tfm       1808 drivers/md/dm-crypt.c 	if (IS_ERR(cc->cipher_tfm.tfms_aead[0])) {
cipher_tfm       1809 drivers/md/dm-crypt.c 		err = PTR_ERR(cc->cipher_tfm.tfms_aead[0]);
cipher_tfm       1878 drivers/md/dm-crypt.c 			r = crypto_aead_setkey(cc->cipher_tfm.tfms_aead[i],
cipher_tfm       1881 drivers/md/dm-crypt.c 			r = crypto_aead_setkey(cc->cipher_tfm.tfms_aead[i],
cipher_tfm       1885 drivers/md/dm-crypt.c 			r = crypto_skcipher_setkey(cc->cipher_tfm.tfms[i],
cipher_tfm        768 include/linux/crypto.h 		struct cipher_tfm cipher;
cipher_tfm       1686 include/linux/crypto.h static inline struct cipher_tfm *crypto_cipher_crt(struct crypto_cipher *tfm)