Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/crypto/ccree/
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()
1606 memcpy(areq_ctx->ctr_iv + CCM_BLOCK_NONCE_OFFSET, ctx->ctr_nonce, 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()
1886 memcpy(areq_ctx->ctr_iv + GCM_BLOCK_RFC4_IV_OFFSET, req->iv, 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()
1934 memcpy(areq_ctx->ctr_iv + CTR_RFC3686_NONCE_SIZE, req->iv, in cc_proc_aead()
[all …]
Dcc_aead.h52 u8 ctr_iv[AES_BLOCK_SIZE] ____cacheline_aligned; member