Home
last modified time | relevance | path

Searched refs:src_sg (Results 1 – 4 of 4) sorted by relevance

/linux-4.19.296/fs/crypto/
Dfname.c96 struct scatterlist src_sg, dst_sg; in fname_decrypt() local
113 sg_init_one(&src_sg, iname->name, iname->len); in fname_decrypt()
115 skcipher_request_set_crypt(req, &src_sg, &dst_sg, iname->len, iv); in fname_decrypt()
Dkeyinfo.c36 struct scatterlist src_sg, dst_sg; in derive_key_aes() local
57 sg_init_one(&src_sg, master_key, derived_keysize); in derive_key_aes()
59 skcipher_request_set_crypt(req, &src_sg, &dst_sg, derived_keysize, in derive_key_aes()
/linux-4.19.296/fs/ecryptfs/
Dkeystore.c610 struct scatterlist src_sg[2]; member
807 s->block_aligned_filename_size, s->src_sg, 2); in ecryptfs_write_tag_70_packet()
842 skcipher_request_set_crypt(s->skcipher_req, s->src_sg, s->dst_sg, in ecryptfs_write_tag_70_packet()
881 struct scatterlist src_sg[2]; member
995 s->block_aligned_filename_size, s->src_sg, 2); in ecryptfs_parse_tag_70_packet()
1058 skcipher_request_set_crypt(s->skcipher_req, s->src_sg, s->dst_sg, in ecryptfs_parse_tag_70_packet()
1663 struct scatterlist src_sg[2]; in decrypt_passphrase_encrypted_session_key() local
1687 src_sg, 2); in decrypt_passphrase_encrypted_session_key()
1729 skcipher_request_set_crypt(req, src_sg, dst_sg, in decrypt_passphrase_encrypted_session_key()
2196 struct scatterlist src_sg[2]; in write_tag_3_packet() local
[all …]
Dcrypto.c321 struct scatterlist *src_sg, int size, in crypt_scatterlist() argument
365 skcipher_request_set_crypt(req, src_sg, dst_sg, size, iv); in crypt_scatterlist()
413 struct scatterlist src_sg, dst_sg; in crypt_extent() local
427 sg_init_table(&src_sg, 1); in crypt_extent()
430 sg_set_page(&src_sg, src_page, extent_size, in crypt_extent()
435 rc = crypt_scatterlist(crypt_stat, &dst_sg, &src_sg, extent_size, in crypt_extent()