Home
last modified time | relevance | path

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

/Linux-v5.10/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()
594 crypto4xx_memcpy_from_le32(icv, pd_uinfo->sr_va->save_digest, in crypto4xx_aead_done()
607 if (crypto_memneq(icv, pd_uinfo->sr_va->save_digest, cp_len)) in crypto4xx_aead_done()
/Linux-v5.10/net/sctp/
Dsm_statefuns.c4208 __u8 *save_digest, *digest; in sctp_sf_authenticate() local
4253 save_digest = kmemdup(digest, sig_len, GFP_ATOMIC); in sctp_sf_authenticate()
4254 if (!save_digest) in sctp_sf_authenticate()
4264 if (memcmp(save_digest, digest, sig_len)) { in sctp_sf_authenticate()
4265 kfree(save_digest); in sctp_sf_authenticate()
4269 kfree(save_digest); in sctp_sf_authenticate()