Home
last modified time | relevance | path

Searched refs:iv_sg (Results 1 – 8 of 8) sorted by relevance

/drivers/crypto/ccp/
Dccp-crypto-aes-galois.c82 struct scatterlist *iv_sg = NULL; in ccp_aes_gcm_crypt() local
112 iv_sg = &rctx->iv_sg; in ccp_aes_gcm_crypt()
114 sg_init_one(iv_sg, rctx->iv, iv_len); in ccp_aes_gcm_crypt()
126 rctx->cmd.u.aes.iv = iv_sg; in ccp_aes_gcm_crypt()
Dccp-crypto-des3.c65 struct scatterlist *iv_sg = NULL; in ccp_des3_crypt() local
82 iv_sg = &rctx->iv_sg; in ccp_des3_crypt()
84 sg_init_one(iv_sg, rctx->iv, iv_len); in ccp_des3_crypt()
97 rctx->cmd.u.des3.iv = iv_sg; in ccp_des3_crypt()
Dccp-crypto-aes.c71 struct scatterlist *iv_sg = NULL; in ccp_aes_crypt() local
88 iv_sg = &rctx->iv_sg; in ccp_aes_crypt()
90 sg_init_one(iv_sg, rctx->iv, iv_len); in ccp_aes_crypt()
102 rctx->cmd.u.aes.iv = iv_sg; in ccp_aes_crypt()
Dccp-crypto.h112 struct scatterlist iv_sg; member
137 struct scatterlist iv_sg; member
172 struct scatterlist iv_sg; member
Dccp-crypto-aes-xts.c166 sg_init_one(&rctx->iv_sg, rctx->iv, AES_BLOCK_SIZE); in ccp_aes_xts_crypt()
177 rctx->cmd.u.xts.iv = &rctx->iv_sg; in ccp_aes_xts_crypt()
Dccp-crypto-aes-cmac.c102 sg_init_one(&rctx->iv_sg, rctx->iv, sizeof(rctx->iv)); in ccp_do_cmac_update()
164 rctx->cmd.u.aes.iv = &rctx->iv_sg; in ccp_do_cmac_update()
/drivers/crypto/
Domap-aes-gcm.c177 struct scatterlist iv_sg, tag_sg; in do_encrypt_iv() local
191 sg_init_one(&iv_sg, iv, AES_BLOCK_SIZE); in do_encrypt_iv()
196 skcipher_request_set_crypt(sk_req, &iv_sg, &tag_sg, AES_BLOCK_SIZE, in do_encrypt_iv()
/drivers/crypto/virtio/
Dvirtio_crypto_algs.c355 struct scatterlist outhdr, iv_sg, status_sg, **sgs; in __virtio_crypto_ablkcipher_do_req() local
443 sg_init_one(&iv_sg, iv, ivsize); in __virtio_crypto_ablkcipher_do_req()
444 sgs[num_out++] = &iv_sg; in __virtio_crypto_ablkcipher_do_req()