Home
last modified time | relevance | path

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

/drivers/crypto/hisilicon/sec2/
Dsec_crypto.c302 res->c_ivin = dma_alloc_coherent(dev, SEC_TOTAL_IV_SZ, in sec_alloc_civ_resource()
304 if (!res->c_ivin) in sec_alloc_civ_resource()
309 res[i].c_ivin = res->c_ivin + i * SEC_IV_SIZE; in sec_alloc_civ_resource()
317 if (res->c_ivin) in sec_free_civ_resource()
319 res->c_ivin, res->c_ivin_dma); in sec_free_civ_resource()
931 c_req->c_ivin = res->pbuf + SEC_PBUF_IV_OFFSET; in sec_cipher_map()
944 c_req->c_ivin = res->c_ivin; in sec_cipher_map()
1223 memcpy(c_req->c_ivin, sk_req->iv, ctx->c_ctx.ivsize); in sec_skcipher_copy_iv()
1429 cl = c_req->c_ivin[0] + 1; in set_aead_auth_iv()
1430 c_req->c_ivin[ctx->c_ctx.ivsize - cl] = 0x00; in set_aead_auth_iv()
[all …]
Dsec.h14 u8 *c_ivin; member
26 u8 *c_ivin; member