Lines Matching refs:c_ivin
314 res->c_ivin = dma_alloc_coherent(dev, SEC_TOTAL_IV_SZ(q_depth), in sec_alloc_civ_resource()
316 if (!res->c_ivin) in sec_alloc_civ_resource()
321 res[i].c_ivin = res->c_ivin + i * SEC_IV_SIZE; in sec_alloc_civ_resource()
329 if (res->c_ivin) in sec_free_civ_resource()
331 res->c_ivin, res->c_ivin_dma); in sec_free_civ_resource()
980 c_req->c_ivin = res->pbuf + SEC_PBUF_IV_OFFSET; in sec_cipher_map()
993 c_req->c_ivin = res->c_ivin; in sec_cipher_map()
1272 memcpy(c_req->c_ivin, sk_req->iv, ctx->c_ctx.ivsize); in sec_skcipher_copy_iv()
1482 cl = c_req->c_ivin[0] + 1; in set_aead_auth_iv()
1483 c_req->c_ivin[ctx->c_ctx.ivsize - cl] = 0x00; in set_aead_auth_iv()
1484 memset(&c_req->c_ivin[ctx->c_ctx.ivsize - cl], 0, cl); in set_aead_auth_iv()
1485 c_req->c_ivin[ctx->c_ctx.ivsize - IV_LAST_BYTE1] = IV_CTR_INIT; in set_aead_auth_iv()
1488 flage |= c_req->c_ivin[0] & IV_CL_MASK; in set_aead_auth_iv()
1496 memcpy(a_req->a_ivin, c_req->c_ivin, ctx->c_ctx.ivsize); in set_aead_auth_iv()
1522 memcpy(c_req->c_ivin, aead_req->iv, ctx->c_ctx.ivsize); in sec_aead_set_iv()
1537 memcpy(a_req->a_ivin, c_req->c_ivin, SEC_AIV_SIZE); in sec_aead_set_iv()
1803 memcpy(req->c_req.sk_req->iv, c_req->c_ivin, in sec_process()
1806 memcpy(req->aead_req.aead_req->iv, c_req->c_ivin, in sec_process()