Lines Matching refs:giv
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()
748 memcpy(req->giv + ivsize - len, &seq, len); in spacc_aead_givencrypt()
750 return spacc_aead_setup(&req->areq, req->giv, alg->type, 1); in spacc_aead_givencrypt()