Home
last modified time | relevance | path

Searched refs:ldns_buffer_begin (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/ldns/
H A Ddnssec_sign.c350 sha1_hash = SHA1((unsigned char*)ldns_buffer_begin(to_sign), in ldns_sign_public_dsa()
498 (unsigned char*)ldns_buffer_begin(b64sig),
500 (unsigned char*)ldns_buffer_begin(to_sign),
512 ldns_buffer_begin(to_sign),
517 ldns_buffer_begin(b64sig), &siglen, key);
565 ldns_buffer_begin(b64sig));
587 sha1_hash = SHA1((unsigned char*)ldns_buffer_begin(to_sign),
595 (unsigned char*)ldns_buffer_begin(b64sig),
603 ldns_buffer_begin(b64sig));
621 md5_hash = MD5((unsigned char*)ldns_buffer_begin(to_sign),
[all …]
H A Ddnssec.c302 ac16 = ldns_calc_keytag_raw(ldns_buffer_begin(keybuf), keysize); in ldns_calc_keytag()
339 return ldns_key_buf2dsa_raw((const unsigned char*)ldns_buffer_begin(key), in ldns_key_buf2dsa()
416 return ldns_key_buf2rsa_raw((const unsigned char*)ldns_buffer_begin(key), in ldns_key_buf2rsa()
638 (void) ldns_sha1((unsigned char *) ldns_buffer_begin(data_buf), in ldns_key_rr2ds()
649 (void) ldns_sha256((unsigned char *) ldns_buffer_begin(data_buf), in ldns_key_rr2ds()
659 if(!ldns_digest_evp((unsigned char *) ldns_buffer_begin(data_buf), in ldns_key_rr2ds()
675 (void) SHA384((unsigned char *) ldns_buffer_begin(data_buf), in ldns_key_rr2ds()
1753 unsigned char *dsasig_data = (unsigned char*)ldns_buffer_begin(sig); in ldns_convert_dsa_rrsig_asn12rdf()
1874 unsigned char *data = (unsigned char*)ldns_buffer_begin(sig); in ldns_convert_ecdsa_rrsig_asn1len2rdf()
H A Ddnssec_verify.c2013 (unsigned char*)ldns_buffer_begin(rawsig_buf), in ldns_verify_rrsig_buffers()
2016 (unsigned char*)ldns_buffer_begin(key_buf), in ldns_verify_rrsig_buffers()
2592 (unsigned char*)ldns_buffer_begin(sig), in ldns_verify_rrsig_evp()
2620 ldns_buffer_begin(rrset),
2630 ldns_buffer_begin(rrset),
2652 (unsigned char*) ldns_buffer_begin(sig),
2655 (unsigned char*) ldns_buffer_begin(key),
2663 (unsigned char*)ldns_buffer_begin(sig),
2666 (unsigned char*) ldns_buffer_begin(key),
2674 (unsigned char*)ldns_buffer_begin(sig),
[all …]
H A Dbuffer.c175 ldns_buffer_write(result, ldns_buffer_begin(from), tocopy); in ldns_buffer_copy()
H A Dnet.c691 memcpy(sendbuf + 2, ldns_buffer_begin(qbin), ldns_buffer_position(qbin));
711 bytes = sendto(sockfd, (void*)ldns_buffer_begin(qbin),
H A Dwire2host.c397 return ldns_wire2pkt(packet, ldns_buffer_begin(buffer), in ldns_buffer2pkt_wire()
H A Dhost2str.c3240 str = strdup((const char *)ldns_buffer_begin(buffer)); in ldns_buffer2str()
/freebsd/contrib/ldns/ldns/
H A Dbuffer.h270 ldns_buffer_begin(const ldns_buffer *buffer) in ldns_buffer_begin() function