Home
last modified time | relevance | path

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

/fs/ext4/
Dcrypto_fname.c74 struct scatterlist src_sg, dst_sg; in ext4_fname_encrypt() local
119 sg_init_one(&dst_sg, oname->name, ciphertext_len); in ext4_fname_encrypt()
120 ablkcipher_request_set_crypt(req, &src_sg, &dst_sg, ciphertext_len, iv); in ext4_fname_encrypt()
150 struct scatterlist src_sg, dst_sg; in ext4_fname_decrypt() local
180 sg_init_one(&dst_sg, oname->name, oname->len); in ext4_fname_decrypt()
181 ablkcipher_request_set_crypt(req, &src_sg, &dst_sg, iname->len, iv); in ext4_fname_decrypt()
Dcrypto_key.c46 struct scatterlist src_sg, dst_sg; in ext4_derive_key_aes() local
69 sg_init_one(&dst_sg, derived_key, EXT4_AES_256_XTS_KEY_SIZE); in ext4_derive_key_aes()
70 ablkcipher_request_set_crypt(req, &src_sg, &dst_sg, in ext4_derive_key_aes()
/fs/crypto/
Dkeyinfo.c35 struct scatterlist src_sg, dst_sg; in derive_key_aes() local
58 sg_init_one(&dst_sg, derived_raw_key, source_key->size); in derive_key_aes()
59 ablkcipher_request_set_crypt(req, &src_sg, &dst_sg, source_key->size, in derive_key_aes()
Dfname.c94 struct scatterlist src_sg, dst_sg; in fname_decrypt() local
121 sg_init_one(&dst_sg, oname->name, oname->len); in fname_decrypt()
122 ablkcipher_request_set_crypt(req, &src_sg, &dst_sg, iname->len, iv); in fname_decrypt()
/fs/ecryptfs/
Dkeystore.c610 struct scatterlist dst_sg[2]; member
832 s->dst_sg, 2); in ecryptfs_write_tag_70_packet()
860 rc = crypto_blkcipher_encrypt_iv(&s->desc, s->dst_sg, s->src_sg, in ecryptfs_write_tag_70_packet()
897 struct scatterlist dst_sg[2]; member
1032 s->block_aligned_filename_size, s->dst_sg, 2); in ecryptfs_parse_tag_70_packet()
1068 rc = crypto_blkcipher_decrypt_iv(&s->desc, s->dst_sg, s->src_sg, in ecryptfs_parse_tag_70_packet()
1674 struct scatterlist dst_sg[2]; in decrypt_passphrase_encrypted_session_key() local
1713 dst_sg, 2); in decrypt_passphrase_encrypted_session_key()
1730 rc = crypto_blkcipher_decrypt(&desc, dst_sg, src_sg, in decrypt_passphrase_encrypted_session_key()
2193 struct scatterlist dst_sg[2]; in write_tag_3_packet() local
[all …]
Dcrypto.c342 struct scatterlist *dst_sg, in crypt_scatterlist() argument
387 ablkcipher_request_set_crypt(req, src_sg, dst_sg, size, iv); in crypt_scatterlist()
435 struct scatterlist src_sg, dst_sg; in crypt_extent() local
450 sg_init_table(&dst_sg, 1); in crypt_extent()
454 sg_set_page(&dst_sg, dst_page, extent_size, in crypt_extent()
457 rc = crypt_scatterlist(crypt_stat, &dst_sg, &src_sg, extent_size, in crypt_extent()