Lines Matching refs:skcipher_req
613 struct skcipher_request *skcipher_req; member
700 s->skcipher_req = skcipher_request_alloc(s->skcipher_tfm, GFP_KERNEL); in ecryptfs_write_tag_70_packet()
701 if (!s->skcipher_req) { in ecryptfs_write_tag_70_packet()
709 skcipher_request_set_callback(s->skcipher_req, 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()
844 rc = crypto_skcipher_encrypt(s->skcipher_req); in ecryptfs_write_tag_70_packet()
864 skcipher_request_free(s->skcipher_req); in ecryptfs_write_tag_70_packet()
884 struct skcipher_request *skcipher_req; member
1020 s->skcipher_req = skcipher_request_alloc(s->skcipher_tfm, GFP_KERNEL); in ecryptfs_parse_tag_70_packet()
1021 if (!s->skcipher_req) { in ecryptfs_parse_tag_70_packet()
1029 skcipher_request_set_callback(s->skcipher_req, 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()
1060 rc = crypto_skcipher_decrypt(s->skcipher_req); in ecryptfs_parse_tag_70_packet()
1105 skcipher_request_free(s->skcipher_req); in ecryptfs_parse_tag_70_packet()