Lines Matching refs:skcipher_req
600 struct skcipher_request *skcipher_req; member
687 s->skcipher_req = skcipher_request_alloc(s->skcipher_tfm, GFP_KERNEL); in ecryptfs_write_tag_70_packet()
688 if (!s->skcipher_req) { in ecryptfs_write_tag_70_packet()
696 skcipher_request_set_callback(s->skcipher_req, in ecryptfs_write_tag_70_packet()
828 skcipher_request_set_crypt(s->skcipher_req, s->src_sg, s->dst_sg, in ecryptfs_write_tag_70_packet()
830 rc = crypto_skcipher_encrypt(s->skcipher_req); in ecryptfs_write_tag_70_packet()
850 skcipher_request_free(s->skcipher_req); in ecryptfs_write_tag_70_packet()
870 struct skcipher_request *skcipher_req; member
1006 s->skcipher_req = skcipher_request_alloc(s->skcipher_tfm, GFP_KERNEL); in ecryptfs_parse_tag_70_packet()
1007 if (!s->skcipher_req) { in ecryptfs_parse_tag_70_packet()
1015 skcipher_request_set_callback(s->skcipher_req, in ecryptfs_parse_tag_70_packet()
1044 skcipher_request_set_crypt(s->skcipher_req, s->src_sg, s->dst_sg, in ecryptfs_parse_tag_70_packet()
1046 rc = crypto_skcipher_decrypt(s->skcipher_req); in ecryptfs_parse_tag_70_packet()
1092 skcipher_request_free(s->skcipher_req); in ecryptfs_parse_tag_70_packet()