Home
last modified time | relevance | path

Searched refs:ct_memcmp (Results 1 – 19 of 19) sorted by relevance

/netbsd-src/crypto/external/bsd/heimdal/dist/lib/gssapi/krb5/
H A Dunwrap.c160 if (ct_memcmp (p - 8, hash, 8) != 0) in unwrap_des()
195 cmp = ct_memcmp(&seq[4], "\xff\xff\xff\xff", 4); in unwrap_des()
197 cmp = ct_memcmp(&seq[4], "\x00\x00\x00\x00", 4); in unwrap_des()
274 if (ct_memcmp (p, "\x04\x00", 2) != 0) /* HMAC SHA1 DES3_KD */ in unwrap_des3()
277 if (ct_memcmp (p, "\x02\x00", 2) == 0) { in unwrap_des3()
279 } else if (ct_memcmp (p, "\xff\xff", 2) == 0) { in unwrap_des3()
286 if (ct_memcmp (p, "\xff\xff", 2) != 0) in unwrap_des3()
367 cmp = ct_memcmp(&seq[4], "\xff\xff\xff\xff", 4); in unwrap_des3()
369 cmp = ct_memcmp(&seq[4], "\x00\x00\x00\x00", 4); in unwrap_des3()
H A Dverify_mic.c93 if (ct_memcmp (p - 8, hash, 8) != 0) { in verify_mic_des()
131 cmp = ct_memcmp(&seq[4], "\xff\xff\xff\xff", 4); in verify_mic_des()
133 cmp = ct_memcmp(&seq[4], "\x00\x00\x00\x00", 4); in verify_mic_des()
233 cmp = ct_memcmp(&seq[4], "\xff\xff\xff\xff", 4); in verify_mic_des3()
235 cmp = ct_memcmp(&seq[4], "\x00\x00\x00\x00", 4); in verify_mic_des3()
H A Ddecapsulate.c91 if (ct_memcmp(p, in _gssapi_verify_mech_header()
119 if (ct_memcmp (*str, type, 2) != 0) in _gsskrb5_verify_header()
H A Darcfour.c384 cmp = (ct_memcmp(cksum_data, p + 8, 8) == 0); in _gssapi_verify_mic_arcfour()
418 cmp = (ct_memcmp(&SND_SEQ[4], "\xff\xff\xff\xff", 4) != 0); in _gssapi_verify_mic_arcfour()
420 cmp = (ct_memcmp(&SND_SEQ[4], "\x00\x00\x00\x00", 4) != 0); in _gssapi_verify_mic_arcfour()
729 cmp = (ct_memcmp(&SND_SEQ[4], "\xff\xff\xff\xff", 4) != 0); in _gssapi_unwrap_arcfour()
731 cmp = (ct_memcmp(&SND_SEQ[4], "\x00\x00\x00\x00", 4) != 0); in _gssapi_unwrap_arcfour()
815 cmp = (ct_memcmp(cksum_data, p0 + 16, 8) == 0); /* SGN_CKSUM */ in _gssapi_unwrap_arcfour()
1402 cmp = (ct_memcmp(&snd_seq[4], "\xff\xff\xff\xff", 4) != 0); in _gssapi_unwrap_iov_arcfour()
1404 cmp = (ct_memcmp(&snd_seq[4], "\x00\x00\x00\x00", 4) != 0); in _gssapi_unwrap_iov_arcfour()
H A D8003.c208 if(ct_memcmp(hash, p, sizeof(hash)) != 0) { in _gsskrb5_verify_8003_checksum()
H A Dcfx.c950 if (ct_memcmp(ttoken, token, sizeof(*token)) != 0) { in _gssapi_unwrap_cfx_iov()
1529 if (ct_memcmp(p, token, sizeof(*token)) != 0) { in _gssapi_unwrap_cfx()
1731 if (ct_memcmp(token->Filler, "\xff\xff\xff\xff\xff", 5) != 0) { in _gssapi_verify_mic_cfx()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dct.c63 ct_memcmp(const volatile void * volatile p1, in ct_memcmp() function
H A Dversion-script.map11 ct_memcmp;
H A Droken-common.h512 ct_memcmp(const volatile void * volatile,
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/hcrypto/
H A Dtest_hmac.c66 if (ct_memcmp(hmac, answer, hmaclen) != 0) { in main()
H A Dvalidate.c289 if (ct_memcmp(hmac, answer, hmaclen) != 0) in check_hmac()
H A Drsa.c299 if (ret == sizeof(inbuf) && ct_memcmp(buffer, inbuf, sizeof(inbuf)) == 0) { in RSA_check_key()
H A Ddes.c186 weak ^= (ct_memcmp(weak_keys[i], key, DES_CBLOCK_LEN) == 0); in DES_is_weak_key()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/krb5/
H A Ddata.c226 return ct_memcmp(data1->data, data2->data, data1->length); in krb5_data_ct_cmp()
H A Dcrypto-des-common.c133 if(ct_memcmp(res, tmp + 8, sizeof(res)) != 0) { in _krb5_des_verify()
H A Dcrypto-arcfour.c278 if (ct_memcmp (cksum.checksum.data, data, 16) != 0) { in ARCFOUR_subdecrypt()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/kadm5/
H A Dmarshall.c48 ct_memcmp(key->key_data_contents[1], KADM5_BOGUS_KEY_DATA, in kadm5_some_keys_are_bogus()
66 ct_memcmp(key->key_data_contents[1], KADM5_BOGUS_KEY_DATA, in kadm5_all_keys_are_bogus()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/hx509/
H A Dtest_soft_pkcs11.c218 if (ct_memcmp(sighash, outdata, strlen(sighash)) != 0) in main()
H A Dcrypto.c272 ct_memcmp(to, data->data, retsize) != 0) in rsa_verify_signature()
776 if (ct_memcmp(digest, sig->data, sigsize) != 0) { in evp_md_verify_signature()