Searched refs:ctr_nonce (Results 1 – 2 of 2) sorted by relevance
/linux-5.19.10/drivers/crypto/caam/ |
D | pdb.h | 86 u8 ctr_nonce[4]; member 164 u8 ctr_nonce[4]; member
|
/linux-5.19.10/drivers/crypto/ccree/ |
D | cc_aead.c | 48 u8 ctr_nonce[MAX_NONCE_SIZE]; /* used for ctr3686 iv and aes ccm */ member 576 memcpy(ctx->ctr_nonce, enckey + ctx->enc_keylen - in cc_aead_setkey() 664 memcpy(ctx->ctr_nonce, key + keylen, 3); in cc_rfc4309_ccm_setkey() 1606 memcpy(areq_ctx->ctr_iv + CCM_BLOCK_NONCE_OFFSET, ctx->ctr_nonce, in cc_proc_rfc4309_ccm() 1885 ctx->ctr_nonce, GCM_BLOCK_RFC4_NONCE_SIZE); in cc_proc_rfc4_gcm() 1932 memcpy(areq_ctx->ctr_iv, ctx->ctr_nonce, in cc_proc_aead() 2119 memcpy(ctx->ctr_nonce, key + keylen, 4); in cc_rfc4106_gcm_setkey() 2136 memcpy(ctx->ctr_nonce, key + keylen, 4); in cc_rfc4543_gcm_setkey()
|