Home
last modified time | relevance | path

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

/linux-2.6.39/fs/ecryptfs/
Dcrypto.c1847 struct ecryptfs_key_tfm *tmp_tfm; in ecryptfs_add_new_key_tfm() local
1852 tmp_tfm = kmem_cache_alloc(ecryptfs_key_tfm_cache, GFP_KERNEL); in ecryptfs_add_new_key_tfm()
1854 (*key_tfm) = tmp_tfm; in ecryptfs_add_new_key_tfm()
1855 if (!tmp_tfm) { in ecryptfs_add_new_key_tfm()
1861 mutex_init(&tmp_tfm->key_tfm_mutex); in ecryptfs_add_new_key_tfm()
1862 strncpy(tmp_tfm->cipher_name, cipher_name, in ecryptfs_add_new_key_tfm()
1864 tmp_tfm->cipher_name[ECRYPTFS_MAX_CIPHER_NAME_SIZE] = '\0'; in ecryptfs_add_new_key_tfm()
1865 tmp_tfm->key_size = key_size; in ecryptfs_add_new_key_tfm()
1866 rc = ecryptfs_process_key_cipher(&tmp_tfm->key_tfm, in ecryptfs_add_new_key_tfm()
1867 tmp_tfm->cipher_name, in ecryptfs_add_new_key_tfm()
[all …]