Home
last modified time | relevance | path

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

/fs/ecryptfs/
Dcrypto.c339 struct scatterlist *src_sg, int size, in encrypt_scatterlist() argument
372 crypto_blkcipher_encrypt_iv(&desc, dest_sg, src_sg, size); in encrypt_scatterlist()
687 struct scatterlist *src_sg, int size, in decrypt_scatterlist() argument
709 rc = crypto_blkcipher_decrypt_iv(&desc, dest_sg, src_sg, size); in decrypt_scatterlist()
739 struct scatterlist src_sg, dst_sg; in ecryptfs_encrypt_page_offset() local
741 sg_init_table(&src_sg, 1); in ecryptfs_encrypt_page_offset()
744 sg_set_page(&src_sg, src_page, size, src_offset); in ecryptfs_encrypt_page_offset()
746 return encrypt_scatterlist(crypt_stat, &dst_sg, &src_sg, size, iv); in ecryptfs_encrypt_page_offset()
767 struct scatterlist src_sg, dst_sg; in ecryptfs_decrypt_page_offset() local
769 sg_init_table(&src_sg, 1); in ecryptfs_decrypt_page_offset()
[all …]
Dkeystore.c482 struct scatterlist src_sg; member
691 s->block_aligned_filename_size, &s->src_sg, 1); in ecryptfs_write_tag_70_packet()
730 rc = crypto_blkcipher_encrypt_iv(&s->desc, &s->dst_sg, &s->src_sg, in ecryptfs_write_tag_70_packet()
763 struct scatterlist src_sg; member
869 s->block_aligned_filename_size, &s->src_sg, 1); in ecryptfs_parse_tag_70_packet()
929 rc = crypto_blkcipher_decrypt_iv(&s->desc, &s->dst_sg, &s->src_sg, in ecryptfs_parse_tag_70_packet()
1554 struct scatterlist src_sg[2]; in decrypt_passphrase_encrypted_session_key() local
1579 src_sg, 2); in decrypt_passphrase_encrypted_session_key()
1609 rc = crypto_blkcipher_decrypt(&desc, dst_sg, src_sg, in decrypt_passphrase_encrypted_session_key()
2056 struct scatterlist src_sg[2]; in write_tag_3_packet() local
[all …]