Home
last modified time | relevance | path

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

/openbmc/linux/fs/ecryptfs/
H A Dkeystore.c596 struct mutex *tfm_mutex; member
647 &s->tfm_mutex, mount_crypt_stat->global_default_fn_cipher_name); in ecryptfs_write_tag_70_packet()
654 mutex_lock(s->tfm_mutex); in ecryptfs_write_tag_70_packet()
846 mutex_unlock(s->tfm_mutex); in ecryptfs_write_tag_70_packet()
866 struct mutex *tfm_mutex; member
973 &s->tfm_mutex, in ecryptfs_parse_tag_70_packet()
981 mutex_lock(s->tfm_mutex); in ecryptfs_parse_tag_70_packet()
1083 mutex_unlock(s->tfm_mutex); in ecryptfs_parse_tag_70_packet()
1653 struct mutex *tfm_mutex; 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()
[all …]
H A Dcrypto.c1670 struct mutex **tfm_mutex, in ecryptfs_get_tfm_and_mutex_for_cipher_name() argument
1677 (*tfm_mutex) = NULL; in ecryptfs_get_tfm_and_mutex_for_cipher_name()
1689 (*tfm_mutex) = &key_tfm->key_tfm_mutex; in ecryptfs_get_tfm_and_mutex_for_cipher_name()
2033 struct mutex *tfm_mutex; in ecryptfs_set_f_namelen() local
2042 rc = ecryptfs_get_tfm_and_mutex_for_cipher_name(&tfm, &tfm_mutex, in ecryptfs_set_f_namelen()
2049 mutex_lock(tfm_mutex); in ecryptfs_set_f_namelen()
2051 mutex_unlock(tfm_mutex); in ecryptfs_set_f_namelen()
H A Decryptfs_kernel.h648 struct mutex **tfm_mutex,