Home
last modified time | relevance | path

Searched refs:c_ivin (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/crypto/hisilicon/sec2/
Dsec_crypto.c313 res->c_ivin = dma_alloc_coherent(dev, SEC_TOTAL_IV_SZ(q_depth), in sec_alloc_civ_resource()
315 if (!res->c_ivin) in sec_alloc_civ_resource()
320 res[i].c_ivin = res->c_ivin + i * SEC_IV_SIZE; in sec_alloc_civ_resource()
328 if (res->c_ivin) in sec_free_civ_resource()
330 res->c_ivin, res->c_ivin_dma); in sec_free_civ_resource()
979 c_req->c_ivin = res->pbuf + SEC_PBUF_IV_OFFSET; in sec_cipher_map()
992 c_req->c_ivin = res->c_ivin; in sec_cipher_map()
1271 memcpy(c_req->c_ivin, sk_req->iv, ctx->c_ctx.ivsize); in sec_skcipher_copy_iv()
1480 cl = c_req->c_ivin[0] + 1; in set_aead_auth_iv()
1481 c_req->c_ivin[ctx->c_ctx.ivsize - cl] = 0x00; in set_aead_auth_iv()
[all …]
Dsec.h14 u8 *c_ivin; member
27 u8 *c_ivin; member