Home
last modified time | relevance | path

Searched refs:timingsafe_bcmp (Results 1 – 25 of 63) sorted by relevance

123

/freebsd/lib/libc/amd64/string/
H A Dtimingsafe_bcmp.S35 ARCHFUNCS(timingsafe_bcmp)
36 ARCHFUNC(timingsafe_bcmp, scalar)
37 ARCHFUNC(timingsafe_bcmp, baseline)
38 ENDARCHFUNCS(timingsafe_bcmp)
40 ARCHENTRY(timingsafe_bcmp, scalar)
121 ARCHEND(timingsafe_bcmp, scalar)
123 ARCHENTRY(timingsafe_bcmp, baseline)
230 ARCHEND(timingsafe_bcmp, baseline)
H A DMakefile.inc29 timingsafe_bcmp.S \
/freebsd/lib/libc/string/
H A DMakefile.inc21 timingsafe_bcmp.c \
53 timingsafe_bcmp.3 \
93 MLINKS+=timingsafe_bcmp.3 timingsafe_memcmp.3
H A Dtimingsafe_bcmp.c33 __weak_reference(__timingsafe_bcmp, timingsafe_bcmp);
H A DSymbol.map105 timingsafe_bcmp;
/freebsd/lib/libc/tests/string/
H A Dtimingsafe_bcmp_test.c29 #define MEMCMP timingsafe_bcmp
/freebsd/sys/libkern/
H A Dtimingsafe_bcmp.c22 timingsafe_bcmp(const void *b1, const void *b2, size_t n) in timingsafe_bcmp() function
/freebsd/crypto/openssh/openbsd-compat/
H A Dtimingsafe_bcmp.c24 timingsafe_bcmp(const void *b1, const void *b2, size_t n) in timingsafe_bcmp() function
H A DMakefile.in66 timingsafe_bcmp.o \
/freebsd/contrib/libfido2/openbsd-compat/
H A Dtimingsafe_bcmp.c25 timingsafe_bcmp(const void *b1, const void *b2, size_t n) in timingsafe_bcmp() function
H A Dopenbsd-compat.h79 int timingsafe_bcmp(const void *, const void *, size_t);
/freebsd/lib/libc/aarch64/string/
H A Dtimingsafe_bcmp.S9 ENTRY(timingsafe_bcmp)
113 END(timingsafe_bcmp)
H A DMakefile.inc34 timingsafe_bcmp.S \
/freebsd/contrib/libfido2/src/
H A Dtpm.c254 ok = timingsafe_bcmp(&expected, actual, sizeof(expected)); in check_rs256_pubarea()
291 ok = timingsafe_bcmp(&expected, actual, sizeof(expected)); in check_es256_pubarea()
335 ok = timingsafe_bcmp(&expected, actual, sizeof(expected)); in check_sha1_certinfo()
/freebsd/sys/crypto/
H A Dchacha20_poly1305.c120 result = (timingsafe_bcmp(u.tag, src + resid, POLY1305_HASH_LEN) == 0); in chacha20_poly1305_decrypt()
223 result = (timingsafe_bcmp(u.tag, src + resid, POLY1305_HASH_LEN) == 0); in xchacha20_poly1305_decrypt()
/freebsd/crypto/openssh/
H A Dcipher-chachapoly.c92 if (timingsafe_bcmp(expected_tag, tag, POLY1305_TAGLEN) != 0) { in chachapoly_crypt()
H A Dcipher-chachapoly-libcrypto.c111 if (timingsafe_bcmp(expected_tag, tag, POLY1305_TAGLEN) != 0) { in chachapoly_crypt()
H A Dkexc25519.c70 if (timingsafe_bcmp(zero, shared_key, CURVE25519_SIZE) == 0) in kexc25519_shared_key_ext()
H A Ddns.c269 if (timingsafe_bcmp(hostkey_digest, dnskey_digest, in verify_host_key_dns()
/freebsd/include/
H A Dstring.h155 int timingsafe_bcmp(const void *, const void *, size_t);
/freebsd/contrib/libfido2/fuzz/
H A Dsummary.txt12 openbsd-compat/timingsafe_bcmp.c 4 0 100.00% 1 0 100.00% 7 0 100.00%
/freebsd/sys/dev/glxsb/
H A Dglxsb_hash.c94 if (timingsafe_bcmp(hash, hash2, ses->ses_mlen) != 0) in glxsb_authcompute()
/freebsd/secure/lib/libssh/
H A DMakefile53 recallocarray.c strtonum.c timingsafe_bcmp.c vis.c xcrypt.c
/freebsd/sys/dev/wg/
H A Dwg_cookie.c241 if (timingsafe_bcmp(our_macs.mac1, macs->mac1, COOKIE_MAC_SIZE) != 0) in cookie_checker_validate_macs()
249 if (timingsafe_bcmp(our_macs.mac2, macs->mac2, COOKIE_MAC_SIZE) != 0) in cookie_checker_validate_macs()
/freebsd/sys/opencrypto/
H A Dcryptosoft.c305 if (timingsafe_bcmp(s.aalg, s.uaalg, sw->sw_mlen) != 0) in swcr_authcompute()
388 if (timingsafe_bcmp(s.tag, s.tag2, swa->sw_mlen) != 0) in swcr_gmac()
552 r = timingsafe_bcmp(s.tag, s.tag2, swa->sw_mlen); in swcr_gcm()
720 if (timingsafe_bcmp(s.tag, s.tag2, swa->sw_mlen) != 0) in swcr_ccm_cbc_mac()
886 r = timingsafe_bcmp(s.tag, s.tag2, swa->sw_mlen); in swcr_ccm()
1092 r = timingsafe_bcmp(s.tag, s.tag2, swa->sw_mlen); in swcr_chacha20_poly1305()

123