Home
last modified time | relevance | path

Searched refs:save_digest (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/drivers/crypto/amcc/
Dcrypto4xx_sa.h182 u32 save_digest[16]; /* for MD5/SHA */ member
Dcrypto4xx_core.c495 memcpy(dst, pd_uinfo->sr_va->save_digest, in crypto4xx_copy_digest_to_dst()
592 crypto4xx_memcpy_from_le32(icv, pd_uinfo->sr_va->save_digest, in crypto4xx_aead_done()
605 if (crypto_memneq(icv, pd_uinfo->sr_va->save_digest, cp_len)) in crypto4xx_aead_done()
/Linux-v6.6/net/sctp/
Dsm_statefuns.c4352 __u8 *save_digest, *digest; in sctp_sf_authenticate() local
4397 save_digest = kmemdup(digest, sig_len, GFP_ATOMIC); in sctp_sf_authenticate()
4398 if (!save_digest) in sctp_sf_authenticate()
4408 if (memcmp(save_digest, digest, sig_len)) { in sctp_sf_authenticate()
4409 kfree(save_digest); in sctp_sf_authenticate()
4413 kfree(save_digest); in sctp_sf_authenticate()