Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/hisilicon/sec2/
H A Dsec.h16 u8 *a_ivin; member
37 u8 *a_ivin; member
H A Dsec_crypto.c338 res->a_ivin = dma_alloc_coherent(dev, SEC_TOTAL_IV_SZ(q_depth), in sec_alloc_aiv_resource()
340 if (!res->a_ivin) in sec_alloc_aiv_resource()
345 res[i].a_ivin = res->a_ivin + i * SEC_IV_SIZE; in sec_alloc_aiv_resource()
353 if (res->a_ivin) in sec_free_aiv_resource()
355 res->a_ivin, res->a_ivin_dma); in sec_free_aiv_resource()
984 a_req->a_ivin = res->a_ivin; in sec_cipher_map()
997 a_req->a_ivin = res->a_ivin; in sec_cipher_map()
1485 memcpy(a_req->a_ivin, c_req->c_ivin, ctx->c_ctx.ivsize); in set_aead_auth_iv()
1486 a_req->a_ivin[0] = flage; in set_aead_auth_iv()
1496 a_req->a_ivin[ctx->c_ctx.ivsize - IV_LAST_BYTE1] = in set_aead_auth_iv()
[all …]