Searched refs:timingsafe_bcmp (Results 1 – 15 of 15) sorted by relevance
| /f-stack/freebsd/libkern/ |
| H A D | timingsafe_bcmp.c | 24 timingsafe_bcmp(const void *b1, const void *b2, size_t n) in timingsafe_bcmp() function
|
| /f-stack/freebsd/opencrypto/ |
| H A D | cryptosoft.c | 371 if (timingsafe_bcmp(aalg, uaalg, sw->sw_mlen) != 0) in swcr_authcompute() 451 if (timingsafe_bcmp(tag, tag2, swa->sw_mlen) != 0) in swcr_gmac() 600 r = timingsafe_bcmp(tag, tag2, swa->sw_mlen); in swcr_gcm() 690 if (timingsafe_bcmp(tag, tag2, swa->sw_mlen) != 0) in swcr_ccm_cbc_mac() 823 r = timingsafe_bcmp(tag, tag2, swa->sw_mlen); in swcr_ccm()
|
| /f-stack/freebsd/crypto/openssl/ |
| H A D | ossl.c | 252 if (timingsafe_bcmp(digest, digest2, s->hash.mlen) != 0) in ossl_process()
|
| /f-stack/freebsd/sys/ |
| H A D | libkern.h | 132 int timingsafe_bcmp(const void *, const void *, size_t);
|
| /f-stack/freebsd/crypto/aesni/ |
| H A D | aesni_ccm.c | 430 if (timingsafe_bcmp(&staging_block, tag, tag_length) != 0) { in AES_CCM_decrypt()
|
| H A D | aesni.c | 916 if (timingsafe_bcmp(res, res2, ses->mlen) != 0) in aesni_cipher_mac()
|
| /f-stack/freebsd/mips/cavium/cryptocteon/ |
| H A D | cryptocteon.c | 394 if (timingsafe_bcmp(icv, icv2, od->octo_mlen) != 0) in cryptocteon_process()
|
| /f-stack/freebsd/crypto/blake2/ |
| H A D | blake2_cryptodev.c | 403 if (timingsafe_bcmp(res, res2, ses->mlen) != 0) in blake2_cipher_process()
|
| /f-stack/freebsd/crypto/via/ |
| H A D | padlock_hash.c | 313 if (timingsafe_bcmp(hash, hash2, ses->ses_mlen) != 0) in padlock_authcompute()
|
| /f-stack/freebsd/crypto/armv8/ |
| H A D | armv8_crypto_wrap.c | 379 if (timingsafe_bcmp(tag, Xi.c, GMAC_DIGEST_LEN) != 0) { in armv8_aes_decrypt_gcm()
|
| /f-stack/freebsd/mips/nlm/dev/sec/ |
| H A D | nlmsec.c | 291 if (timingsafe_bcmp(cmd->hashdest, hash, in nlm_xlpsec_msgring_handler()
|
| /f-stack/freebsd/crypto/ccp/ |
| H A D | ccp_hardware.c | 1234 if (timingsafe_bcmp(s->hmac.res, ihash, s->hmac.hash_len) != 0) in ccp_do_hmac_done() 1854 if (timingsafe_bcmp(tag, s->gmac.final_block, s->gmac.hash_len) != 0) in ccp_gcm_done()
|
| /f-stack/freebsd/netipsec/ |
| H A D | xform_ah.c | 749 if (timingsafe_bcmp(ptr + skip + rplen, calc, authsize)) { in ah_input_cb()
|
| /f-stack/freebsd/netinet/ |
| H A D | sctp_auth.c | 1697 if (timingsafe_bcmp(digest, computed_digest, digestlen) != 0) { in sctp_handle_auth()
|
| H A D | sctp_input.c | 2402 if (timingsafe_bcmp(calc_sig, sig, SCTP_SIGNATURE_SIZE) != 0) { in sctp_handle_cookie_echo() 2411 if (timingsafe_bcmp(calc_sig, sig, SCTP_SIGNATURE_SIZE) == 0) in sctp_handle_cookie_echo()
|