Home
last modified time | relevance | path

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

/linux/drivers/crypto/ccree/
A Dcc_aead.c1597 memset(areq_ctx->ctr_iv, 0, AES_BLOCK_SIZE); in cc_proc_rfc4309_ccm()
1601 areq_ctx->ctr_iv[0] = 3; in cc_proc_rfc4309_ccm()
1608 memcpy(areq_ctx->ctr_iv + CCM_BLOCK_IV_OFFSET, req->iv, in cc_proc_rfc4309_ccm()
1610 req->iv = areq_ctx->ctr_iv; in cc_proc_rfc4309_ccm()
1884 memcpy(areq_ctx->ctr_iv + GCM_BLOCK_RFC4_NONCE_OFFSET, in cc_proc_rfc4_gcm()
1888 req->iv = areq_ctx->ctr_iv; in cc_proc_rfc4_gcm()
1932 memcpy(areq_ctx->ctr_iv, ctx->ctr_nonce, in cc_proc_aead()
1941 req->iv = areq_ctx->ctr_iv; in cc_proc_aead()
1946 if (areq_ctx->ctr_iv != req->iv) { in cc_proc_aead()
1947 memcpy(areq_ctx->ctr_iv, req->iv, in cc_proc_aead()
[all …]
A Dcc_aead.h52 u8 ctr_iv[AES_BLOCK_SIZE] ____cacheline_aligned; member

Completed in 8 milliseconds