Searched refs:src_sg (Results 1 – 2 of 2) sorted by relevance
/fs/ecryptfs/ |
D | crypto.c | 337 struct scatterlist *src_sg, int size, in encrypt_scatterlist() argument 370 crypto_blkcipher_encrypt_iv(&desc, dest_sg, src_sg, size); in encrypt_scatterlist() 627 struct scatterlist *src_sg, int size, in decrypt_scatterlist() argument 649 rc = crypto_blkcipher_decrypt_iv(&desc, dest_sg, src_sg, size); in decrypt_scatterlist() 679 struct scatterlist src_sg, dst_sg; in ecryptfs_encrypt_page_offset() local 681 sg_init_table(&src_sg, 1); in ecryptfs_encrypt_page_offset() 684 sg_set_page(&src_sg, src_page, size, src_offset); in ecryptfs_encrypt_page_offset() 686 return encrypt_scatterlist(crypt_stat, &dst_sg, &src_sg, size, iv); in ecryptfs_encrypt_page_offset() 707 struct scatterlist src_sg, dst_sg; in ecryptfs_decrypt_page_offset() local 709 sg_init_table(&src_sg, 1); in ecryptfs_decrypt_page_offset() [all …]
|
D | keystore.c | 603 struct scatterlist src_sg[2]; member 817 s->block_aligned_filename_size, s->src_sg, 2); in ecryptfs_write_tag_70_packet() 854 rc = crypto_blkcipher_encrypt_iv(&s->desc, s->dst_sg, s->src_sg, in ecryptfs_write_tag_70_packet() 890 struct scatterlist src_sg[2]; member 1007 s->block_aligned_filename_size, s->src_sg, 2); in ecryptfs_parse_tag_70_packet() 1062 rc = crypto_blkcipher_decrypt_iv(&s->desc, s->dst_sg, s->src_sg, in ecryptfs_parse_tag_70_packet() 1669 struct scatterlist src_sg[2]; in decrypt_passphrase_encrypted_session_key() local 1694 src_sg, 2); in decrypt_passphrase_encrypted_session_key() 1724 rc = crypto_blkcipher_decrypt(&desc, dst_sg, src_sg, in decrypt_passphrase_encrypted_session_key() 2189 struct scatterlist src_sg[2]; in write_tag_3_packet() local [all …]
|