Searched refs:ct_memcmp (Results 1 - 18 of 18) sorted by relevance

/netbsd-current/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dct.c44 * ct_memcmp() can't be used to order memory regions like memcmp(),
45 * for example, use ct_memcmp() with qsort().
48 * linker turn this ct_memcmp() into a plain memcmp(). The pointers
63 ct_memcmp(const volatile void * volatile p1, function
H A Droken-common.h512 ct_memcmp(const volatile void * volatile,
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/hcrypto/
H A Dtest_hmac.c66 if (ct_memcmp(hmac, answer, hmaclen) != 0) {
H A Dvalidate.c289 if (ct_memcmp(hmac, answer, hmaclen) != 0)
H A Drsa.c299 if (ret == sizeof(inbuf) && ct_memcmp(buffer, inbuf, sizeof(inbuf)) == 0) {
H A Ddes.c186 weak ^= (ct_memcmp(weak_keys[i], key, DES_CBLOCK_LEN) == 0);
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/gssapi/krb5/
H A Dunwrap.c160 if (ct_memcmp (p - 8, hash, 8) != 0)
195 cmp = ct_memcmp(&seq[4], "\xff\xff\xff\xff", 4);
197 cmp = ct_memcmp(&seq[4], "\x00\x00\x00\x00", 4);
274 if (ct_memcmp (p, "\x04\x00", 2) != 0) /* HMAC SHA1 DES3_KD */
277 if (ct_memcmp (p, "\x02\x00", 2) == 0) {
279 } else if (ct_memcmp (p, "\xff\xff", 2) == 0) {
286 if (ct_memcmp (p, "\xff\xff", 2) != 0)
367 cmp = ct_memcmp(&seq[4], "\xff\xff\xff\xff", 4);
369 cmp = ct_memcmp(&seq[4], "\x00\x00\x00\x00", 4);
H A Dverify_mic.c93 if (ct_memcmp (p - 8, hash, 8) != 0) {
131 cmp = ct_memcmp(&seq[4], "\xff\xff\xff\xff", 4);
133 cmp = ct_memcmp(&seq[4], "\x00\x00\x00\x00", 4);
233 cmp = ct_memcmp(&seq[4], "\xff\xff\xff\xff", 4);
235 cmp = ct_memcmp(&seq[4], "\x00\x00\x00\x00", 4);
H A Ddecapsulate.c91 if (ct_memcmp(p,
119 if (ct_memcmp (*str, type, 2) != 0)
H A Darcfour.c384 cmp = (ct_memcmp(cksum_data, p + 8, 8) == 0);
418 cmp = (ct_memcmp(&SND_SEQ[4], "\xff\xff\xff\xff", 4) != 0);
420 cmp = (ct_memcmp(&SND_SEQ[4], "\x00\x00\x00\x00", 4) != 0);
729 cmp = (ct_memcmp(&SND_SEQ[4], "\xff\xff\xff\xff", 4) != 0);
731 cmp = (ct_memcmp(&SND_SEQ[4], "\x00\x00\x00\x00", 4) != 0);
815 cmp = (ct_memcmp(cksum_data, p0 + 16, 8) == 0); /* SGN_CKSUM */
1402 cmp = (ct_memcmp(&snd_seq[4], "\xff\xff\xff\xff", 4) != 0);
1404 cmp = (ct_memcmp(&snd_seq[4], "\x00\x00\x00\x00", 4) != 0);
H A D8003.c208 if(ct_memcmp(hash, p, sizeof(hash)) != 0) {
H A Dcfx.c950 if (ct_memcmp(ttoken, token, sizeof(*token)) != 0) {
1529 if (ct_memcmp(p, token, sizeof(*token)) != 0) {
1731 if (ct_memcmp(token->Filler, "\xff\xff\xff\xff\xff", 5) != 0) {
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/krb5/
H A Ddata.c226 return ct_memcmp(data1->data, data2->data, data1->length);
H A Dcrypto-des-common.c133 if(ct_memcmp(res, tmp + 8, sizeof(res)) != 0) {
H A Dcrypto-arcfour.c278 if (ct_memcmp (cksum.checksum.data, data, 16) != 0) {
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/kadm5/
H A Dmarshall.c48 ct_memcmp(key->key_data_contents[1], KADM5_BOGUS_KEY_DATA,
66 ct_memcmp(key->key_data_contents[1], KADM5_BOGUS_KEY_DATA,
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/hx509/
H A Dtest_soft_pkcs11.c218 if (ct_memcmp(sighash, outdata, strlen(sighash)) != 0)
H A Dcrypto.c272 ct_memcmp(to, data->data, retsize) != 0)
776 if (ct_memcmp(digest, sig->data, sigsize) != 0) {

Completed in 384 milliseconds