Lines Matching refs:cmpbuf
2856 unsigned char *cmpbuf = NULL; in dane_match_cert() local
2951 cmpbuf = i2dbuf; in dane_match_cert()
2955 cmpbuf = mdbuf; in dane_match_cert()
2956 if (!EVP_Digest(i2dbuf, i2dlen, cmpbuf, &cmplen, md, 0)) { in dane_match_cert()
2969 memcmp(cmpbuf, t->data, cmplen) == 0) { in dane_match_cert()
3063 unsigned char *cmpbuf; in dane_match_rpk() local
3074 cmpbuf = i2dbuf; in dane_match_rpk()
3085 cmpbuf = i2dbuf; in dane_match_rpk()
3089 cmpbuf = mdbuf; in dane_match_rpk()
3090 if (!EVP_Digest(i2dbuf, i2dlen, cmpbuf, &cmplen, md, 0)) { in dane_match_rpk()
3096 if (cmplen == t->dlen && memcmp(cmpbuf, t->data, cmplen) == 0) { in dane_match_rpk()