Home
last modified time | relevance | path

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

/drivers/crypto/ccp/
Dccp-crypto-aes-galois.c81 struct scatterlist *iv_sg = NULL; in ccp_aes_gcm_crypt() local
111 iv_sg = &rctx->iv_sg; in ccp_aes_gcm_crypt()
113 sg_init_one(iv_sg, rctx->iv, iv_len); in ccp_aes_gcm_crypt()
125 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.c70 struct scatterlist *iv_sg = NULL; in ccp_aes_crypt() local
87 iv_sg = &rctx->iv_sg; in ccp_aes_crypt()
89 sg_init_one(iv_sg, rctx->iv, iv_len); in ccp_aes_crypt()
101 rctx->cmd.u.aes.iv = iv_sg; in ccp_aes_crypt()
Dccp-crypto.h113 struct scatterlist iv_sg; member
140 struct scatterlist iv_sg; member
175 struct scatterlist iv_sg; member
Dccp-crypto-aes-xts.c165 sg_init_one(&rctx->iv_sg, rctx->iv, AES_BLOCK_SIZE); in ccp_aes_xts_crypt()
176 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/virtio/
Dvirtio_crypto_algs.c339 struct scatterlist outhdr, iv_sg, status_sg, **sgs; in __virtio_crypto_skcipher_do_req() local
433 sg_init_one(&iv_sg, iv, ivsize); in __virtio_crypto_skcipher_do_req()
434 sgs[num_out++] = &iv_sg; in __virtio_crypto_skcipher_do_req()