Searched refs:tmp_tfm (Results 1 – 1 of 1) sorted by relevance
1803 struct ecryptfs_key_tfm *tmp_tfm; in ecryptfs_add_new_key_tfm() local1808 tmp_tfm = kmem_cache_alloc(ecryptfs_key_tfm_cache, GFP_KERNEL); in ecryptfs_add_new_key_tfm()1810 (*key_tfm) = tmp_tfm; in ecryptfs_add_new_key_tfm()1811 if (!tmp_tfm) { in ecryptfs_add_new_key_tfm()1817 mutex_init(&tmp_tfm->key_tfm_mutex); in ecryptfs_add_new_key_tfm()1818 strncpy(tmp_tfm->cipher_name, cipher_name, in ecryptfs_add_new_key_tfm()1820 tmp_tfm->cipher_name[ECRYPTFS_MAX_CIPHER_NAME_SIZE] = '\0'; in ecryptfs_add_new_key_tfm()1821 tmp_tfm->key_size = key_size; in ecryptfs_add_new_key_tfm()1822 rc = ecryptfs_process_key_cipher(&tmp_tfm->key_tfm, in ecryptfs_add_new_key_tfm()1823 tmp_tfm->cipher_name, in ecryptfs_add_new_key_tfm()[all …]