Lines Matching refs:tfm
760 s->hash_desc->tfm = s->hash_tfm; in ecryptfs_write_tag_70_packet()
1654 struct crypto_skcipher *tfm; in decrypt_passphrase_encrypted_session_key() local
1666 rc = ecryptfs_get_tfm_and_mutex_for_cipher_name(&tfm, &tfm_mutex, in decrypt_passphrase_encrypted_session_key()
1697 req = skcipher_request_alloc(tfm, GFP_KERNEL); in decrypt_passphrase_encrypted_session_key()
1702 crypto_skcipher_driver_name(tfm)); in decrypt_passphrase_encrypted_session_key()
1710 tfm, auth_tok->token.password.session_key_encryption_key, in decrypt_passphrase_encrypted_session_key()
2192 struct crypto_skcipher *tfm; in write_tag_3_packet() local
2199 rc = ecryptfs_get_tfm_and_mutex_for_cipher_name(&tfm, &tfm_mutex, in write_tag_3_packet()
2210 crypto_skcipher_max_keysize(tfm)); in write_tag_3_packet()
2212 crypto_skcipher_max_keysize(tfm); in write_tag_3_packet()
2282 rc = crypto_skcipher_setkey(tfm, session_key_encryption_key, in write_tag_3_packet()
2291 req = skcipher_request_alloc(tfm, GFP_KERNEL); in write_tag_3_packet()
2296 "%s\n", crypto_skcipher_driver_name(tfm)); in write_tag_3_packet()