/linux-2.6.39/crypto/ |
D | eseqiv.c | 47 memcpy(req->giv, PTR_ALIGN((u8 *)reqctx->tail, in eseqiv_complete2() 77 u8 *giv; in eseqiv_givencrypt() local 88 giv = req->giv; in eseqiv_givencrypt() 101 if (vsrc != giv + ivsize && vdst != giv + ivsize) { in eseqiv_givencrypt() 102 giv = PTR_ALIGN((u8 *)reqctx->tail, in eseqiv_givencrypt() 112 sg_set_buf(reqctx->src, giv, ivsize); in eseqiv_givencrypt() 113 scatterwalk_crypto_chain(reqctx->src, osrc, vsrc == giv + ivsize, 2); in eseqiv_givencrypt() 118 sg_set_buf(reqctx->dst, giv, ivsize); in eseqiv_givencrypt() 119 scatterwalk_crypto_chain(reqctx->dst, odst, vdst == giv + ivsize, 2); in eseqiv_givencrypt() 132 memset(req->giv, 0, ivsize - sizeof(u64)); in eseqiv_givencrypt() [all …]
|
D | chainiv.c | 68 memcpy(req->giv, ctx->iv, ivsize); in chainiv_givencrypt() 168 memcpy(req->giv, ctx->iv, ivsize); in async_chainiv_givencrypt_tail()
|
D | seqiv.c | 135 memcpy(req->giv, info, ivsize); in seqiv_givencrypt() 181 memcpy(req->giv, info, ivsize); in seqiv_aead_givencrypt()
|
D | authenc.c | 416 err = crypto_authenc_genicv(areq, greq->giv, 0); in crypto_authenc_givencrypt_done() 428 u8 *iv = req->giv; in crypto_authenc_givencrypt()
|
D | authencesn.c | 523 err = crypto_authenc_esn_genicv(areq, greq->giv, 0); in crypto_authenc_esn_givencrypt_done() 535 u8 *iv = req->giv; in crypto_authenc_esn_givencrypt()
|
D | pcrypt.c | 264 aead_givcrypt_set_giv(creq, req->giv, req->seq); in pcrypt_aead_givencrypt()
|
/linux-2.6.39/include/crypto/ |
D | skcipher.h | 28 u8 *giv; member 103 struct skcipher_givcrypt_request *req, u8 *giv, u64 seq) in skcipher_givcrypt_set_giv() argument 105 req->giv = giv; in skcipher_givcrypt_set_giv()
|
D | aead.h | 28 u8 *giv; member 99 u8 *giv, u64 seq) in aead_givcrypt_set_giv() argument 101 req->giv = giv; in aead_givcrypt_set_giv()
|
/linux-2.6.39/drivers/crypto/ |
D | picoxcell_crypto.c | 102 u8 *giv; member 318 static int spacc_aead_make_ddts(struct spacc_req *req, u8 *giv) in spacc_aead_make_ddts() argument 329 u8 *iv = giv ? giv : areq->iv; in spacc_aead_make_ddts() 362 giv ? DMA_BIDIRECTIONAL : DMA_TO_DEVICE); in spacc_aead_make_ddts() 377 if (giv || req->is_encrypt) in spacc_aead_make_ddts() 636 if (!req->giv) { in spacc_aead_submit() 676 static int spacc_aead_setup(struct aead_request *req, u8 *giv, in spacc_aead_setup() argument 686 dev_req->giv = giv; in spacc_aead_setup() 697 spacc_aead_make_ddts(dev_req, dev_req->giv); in spacc_aead_setup() 744 memset(req->giv, 0, ivsize - sizeof(u64)); in spacc_aead_givencrypt() [all …]
|
D | talitos.c | 1010 u8 *giv, u64 seq, in ipsec_esp() argument 1032 map_single_talitos_ptr(dev, &desc->ptr[2], ivsize, giv ?: areq->iv, 0, in ipsec_esp() 1373 memcpy(req->giv, ctx->iv, crypto_aead_ivsize(authenc)); in aead_givencrypt() 1375 *(__be64 *)req->giv ^= cpu_to_be64(req->seq); in aead_givencrypt() 1377 return ipsec_esp(edesc, areq, req->giv, req->seq, in aead_givencrypt() 1436 u8 *giv, in common_nonsnoop() argument 1456 map_single_talitos_ptr(dev, &desc->ptr[1], ivsize, giv ?: areq->info, 0, in common_nonsnoop()
|
D | ixp4xx_crypto.c | 1220 memset(req->giv, 0, ivsize - sizeof(u64)); in aead_givencrypt() 1224 memcpy(req->giv + ivsize - len, &seq, len); in aead_givencrypt() 1226 req->areq.cryptlen +ivsize, req->giv); in aead_givencrypt()
|