Home
last modified time | relevance | path

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

/linux-4.1.27/fs/ecryptfs/
Dcrypto.c1595 ecryptfs_process_key_cipher(struct crypto_blkcipher **key_tfm, in ecryptfs_process_key_cipher() argument
1602 *key_tfm = NULL; in ecryptfs_process_key_cipher()
1613 *key_tfm = crypto_alloc_blkcipher(full_alg_name, 0, CRYPTO_ALG_ASYNC); in ecryptfs_process_key_cipher()
1614 if (IS_ERR(*key_tfm)) { in ecryptfs_process_key_cipher()
1615 rc = PTR_ERR(*key_tfm); in ecryptfs_process_key_cipher()
1620 crypto_blkcipher_set_flags(*key_tfm, CRYPTO_TFM_REQ_WEAK_KEY); in ecryptfs_process_key_cipher()
1622 struct blkcipher_alg *alg = crypto_blkcipher_alg(*key_tfm); in ecryptfs_process_key_cipher()
1627 rc = crypto_blkcipher_setkey(*key_tfm, dummy_key, *key_size); in ecryptfs_process_key_cipher()
1658 struct ecryptfs_key_tfm *key_tfm, *key_tfm_tmp; in ecryptfs_destroy_crypto() local
1661 list_for_each_entry_safe(key_tfm, key_tfm_tmp, &key_tfm_list, in ecryptfs_destroy_crypto()
[all …]
Decryptfs_kernel.h313 struct crypto_blkcipher *key_tfm; member
658 ecryptfs_add_new_key_tfm(struct ecryptfs_key_tfm **key_tfm, char *cipher_name,
662 int ecryptfs_tfm_exists(char *cipher_name, struct ecryptfs_key_tfm **key_tfm);