Home
last modified time | relevance | path

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

/fs/ecryptfs/
Dkeystore.c1192 rc = ecryptfs_cipher_code_to_string(crypt_stat->cipher, cipher_code); in decrypt_pki_encrypted_session_key()
1456 rc = ecryptfs_cipher_code_to_string(crypt_stat->cipher, in parse_tag_3_packet()
1684 crypt_stat->cipher); in decrypt_passphrase_encrypted_session_key()
1688 crypt_stat->cipher, rc); in decrypt_passphrase_encrypted_session_key()
1957 crypt_stat->cipher, rc); in ecryptfs_parse_packet_set()
1979 crypt_stat->cipher, in pki_encrypt_session_key()
2205 crypt_stat->cipher); in write_tag_3_packet()
2209 crypt_stat->cipher, rc); in write_tag_3_packet()
2227 && strcmp("aes", crypt_stat->cipher) == 0) { in write_tag_3_packet()
2347 cipher_code = ecryptfs_code_for_cipher_string(crypt_stat->cipher, in write_tag_3_packet()
[all …]
Dcrypto.c793 if (!crypt_stat->cipher) { in ecryptfs_init_crypt_ctx()
800 crypt_stat->cipher, (int)strlen(crypt_stat->cipher), in ecryptfs_init_crypt_ctx()
808 crypt_stat->cipher, "cbc"); in ecryptfs_init_crypt_ctx()
818 crypt_stat->cipher); in ecryptfs_init_crypt_ctx()
979 strcpy(crypt_stat->cipher, ECRYPTFS_DEFAULT_CIPHER); in ecryptfs_set_default_crypt_stat_vals()
1028 memcpy(crypt_stat->cipher, in ecryptfs_new_file_context()
1031 crypt_stat->cipher[cipher_name_len] = '\0'; in ecryptfs_new_file_context()
1039 crypt_stat->cipher, rc); in ecryptfs_new_file_context()
Decryptfs_kernel.h240 unsigned char cipher[ECRYPTFS_MAX_CIPHER_NAME_SIZE]; member