key_tfm          1564 fs/ecryptfs/crypto.c ecryptfs_process_key_cipher(struct crypto_skcipher **key_tfm,
key_tfm          1571 fs/ecryptfs/crypto.c 	*key_tfm = NULL;
key_tfm          1582 fs/ecryptfs/crypto.c 	*key_tfm = crypto_alloc_skcipher(full_alg_name, 0, CRYPTO_ALG_ASYNC);
key_tfm          1583 fs/ecryptfs/crypto.c 	if (IS_ERR(*key_tfm)) {
key_tfm          1584 fs/ecryptfs/crypto.c 		rc = PTR_ERR(*key_tfm);
key_tfm          1589 fs/ecryptfs/crypto.c 	crypto_skcipher_set_flags(*key_tfm, CRYPTO_TFM_REQ_FORBID_WEAK_KEYS);
key_tfm          1591 fs/ecryptfs/crypto.c 		*key_size = crypto_skcipher_default_keysize(*key_tfm);
key_tfm          1593 fs/ecryptfs/crypto.c 	rc = crypto_skcipher_setkey(*key_tfm, dummy_key, *key_size);
key_tfm          1624 fs/ecryptfs/crypto.c 	struct ecryptfs_key_tfm *key_tfm, *key_tfm_tmp;
key_tfm          1627 fs/ecryptfs/crypto.c 	list_for_each_entry_safe(key_tfm, key_tfm_tmp, &key_tfm_list,
key_tfm          1629 fs/ecryptfs/crypto.c 		list_del(&key_tfm->key_tfm_list);
key_tfm          1630 fs/ecryptfs/crypto.c 		crypto_free_skcipher(key_tfm->key_tfm);
key_tfm          1631 fs/ecryptfs/crypto.c 		kmem_cache_free(ecryptfs_key_tfm_cache, key_tfm);
key_tfm          1638 fs/ecryptfs/crypto.c ecryptfs_add_new_key_tfm(struct ecryptfs_key_tfm **key_tfm, char *cipher_name,
key_tfm          1647 fs/ecryptfs/crypto.c 	if (key_tfm)
key_tfm          1648 fs/ecryptfs/crypto.c 		(*key_tfm) = tmp_tfm;
key_tfm          1658 fs/ecryptfs/crypto.c 	rc = ecryptfs_process_key_cipher(&tmp_tfm->key_tfm,
key_tfm          1666 fs/ecryptfs/crypto.c 		if (key_tfm)
key_tfm          1667 fs/ecryptfs/crypto.c 			(*key_tfm) = NULL;
key_tfm          1685 fs/ecryptfs/crypto.c int ecryptfs_tfm_exists(char *cipher_name, struct ecryptfs_key_tfm **key_tfm)
key_tfm          1693 fs/ecryptfs/crypto.c 			if (key_tfm)
key_tfm          1694 fs/ecryptfs/crypto.c 				(*key_tfm) = tmp_key_tfm;
key_tfm          1698 fs/ecryptfs/crypto.c 	if (key_tfm)
key_tfm          1699 fs/ecryptfs/crypto.c 		(*key_tfm) = NULL;
key_tfm          1718 fs/ecryptfs/crypto.c 	struct ecryptfs_key_tfm *key_tfm;
key_tfm          1725 fs/ecryptfs/crypto.c 	if (!ecryptfs_tfm_exists(cipher_name, &key_tfm)) {
key_tfm          1726 fs/ecryptfs/crypto.c 		rc = ecryptfs_add_new_key_tfm(&key_tfm, cipher_name, 0);
key_tfm          1733 fs/ecryptfs/crypto.c 	(*tfm) = key_tfm->key_tfm;
key_tfm          1734 fs/ecryptfs/crypto.c 	(*tfm_mutex) = &key_tfm->key_tfm_mutex;
key_tfm           314 fs/ecryptfs/ecryptfs_kernel.h 	struct crypto_skcipher *key_tfm;
key_tfm           657 fs/ecryptfs/ecryptfs_kernel.h ecryptfs_add_new_key_tfm(struct ecryptfs_key_tfm **key_tfm, char *cipher_name,
key_tfm           661 fs/ecryptfs/ecryptfs_kernel.h int ecryptfs_tfm_exists(char *cipher_name, struct ecryptfs_key_tfm **key_tfm);