Symbol: timingsafe_bcmp
crypto/libressl/crypto/rsa/rsa_pmeth.c
337
if (rslen != tbslen || timingsafe_bcmp(tbs, rctx->tbuf, rslen))
crypto/libressl/crypto/rsa/rsa_pss.c
169
if (timingsafe_bcmp(H_, H, hLen)) {
crypto/libressl/crypto/rsa/rsa_sign.c
219
if (timingsafe_bcmp(decrypt_buf,
crypto/libressl/crypto/rsa/rsa_sign.c
250
timingsafe_bcmp(encoded, decrypt_buf, encoded_len) != 0) {
crypto/openssh/channels.c
1350
timingsafe_bcmp(ucp + 12 + ((proto_len + 3) & ~3),
crypto/openssh/cipher-chachapoly-libcrypto.c
111
if (timingsafe_bcmp(expected_tag, tag, POLY1305_TAGLEN) != 0) {
crypto/openssh/cipher-chachapoly.c
92
if (timingsafe_bcmp(expected_tag, tag, POLY1305_TAGLEN) != 0) {
crypto/openssh/dns.c
269
if (timingsafe_bcmp(hostkey_digest, dnskey_digest,
crypto/openssh/kexc25519.c
70
if (timingsafe_bcmp(zero, shared_key, CURVE25519_SIZE) == 0)
crypto/openssh/mac.c
222
if (timingsafe_bcmp(ourmac, theirmac, mac->mac_len) != 0)
crypto/openssh/monitor.c
1277
(timingsafe_bcmp(p, session_id2, session_id2_len) != 0))
crypto/openssh/monitor.c
1286
(timingsafe_bcmp(p, session_id2, session_id2_len) != 0))
crypto/openssh/monitor.c
1357
(timingsafe_bcmp(p, session_id2, session_id2_len) != 0))
crypto/openssh/monitor.c
549
timingsafe_bcmp(key_blob, blob, key_bloblen))
crypto/openssh/ssh-agent.c
1485
if (timingsafe_bcmp(passwdhash, lock_pwhash, LOCK_SIZE) == 0) {
crypto/openssh/ssh-agent.c
830
if (timingsafe_bcmp(sshbuf_ptr(a), sshbuf_ptr(b), sshbuf_len(a)) != 0)
crypto/openssh/ssh-rsa.c
668
oidmatch = timingsafe_bcmp(decrypted, oid, oidlen) == 0;
crypto/openssh/ssh-rsa.c
669
hashmatch = timingsafe_bcmp(decrypted + oidlen, hash, hlen) == 0;
crypto/openssh/sshbuf-misc.c
247
if (timingsafe_bcmp(sshbuf_ptr(b) + offset, s, len) != 0)
crypto/openssh/sshkey.c
682
if (timingsafe_bcmp(sshbuf_ptr(a->certblob), sshbuf_ptr(b->certblob),
include/string.h
153
int timingsafe_bcmp(const void *, const void *, size_t) __pure;
lib/libssh/openbsd-compat/openbsd-compat.h
311
int timingsafe_bcmp(const void *, const void *, size_t);
sys/crypto/chachapoly.c
195
ret = (timingsafe_bcmp(ctx->tag, tag, sizeof(tag)) == 0);
sys/crypto/curve25519/curve25519.c
39
if (timingsafe_bcmp(secret, null_point, CURVE25519_KEY_SIZE) == 0)
sys/crypto/curve25519/curve25519.c
918
return timingsafe_bcmp(out, null_point, CURVE25519_KEY_SIZE);
sys/net/wg/if_wg.c
2617
timingsafe_bcmp(private, iface_o.i_private, WG_KEY_SIZE) != 0)) {
sys/net/wg/wg_cookie.c
257
if (timingsafe_bcmp(our_macs.mac1, macs->mac1, COOKIE_MAC_SIZE) != 0)
sys/net/wg/wg_cookie.c
265
if (timingsafe_bcmp(our_macs.mac2, macs->mac2, COOKIE_MAC_SIZE)
sys/net/wg/wg_noise.c
1499
if (timingsafe_bcmp(ss, null_point, NOISE_PUBLIC_KEY_LEN) == 0)
sys/net/wg/wg_noise.c
503
if (timingsafe_bcmp(r->r_public, public, NOISE_PUBLIC_KEY_LEN)
sys/net/wg/wg_noise.c
651
if (timingsafe_bcmp(r->r_psk, null_psk, NOISE_SYMMETRIC_KEY_LEN) != 0) {
sys/sys/libkern.h
99
int timingsafe_bcmp(const void *, const void *, size_t);