Implementation of raw DNSKEY functions (work on wire rdata). More...
Functions | |
size_t | sldns_rr_dnskey_key_size_raw (const unsigned char *keydata, const size_t len, int alg) |
get the length of the keydata in bits More... | |
uint16_t | sldns_calc_keytag_raw (uint8_t *key, size_t keysize) |
Calculates keytag of DNSSEC key, operates on wireformat rdata. More... | |
Implementation of raw DNSKEY functions (work on wire rdata).
size_t sldns_rr_dnskey_key_size_raw | ( | const unsigned char * | keydata, |
const size_t | len, | ||
int | alg | ||
) |
get the length of the keydata in bits
[in] | keydata | the raw key data |
[in] | len | the length of the keydata |
[in] | alg | the cryptographic algorithm this is a key for |
Referenced by dnskey_get_keysize(), and dnskey_size_is_supported().
uint16_t sldns_calc_keytag_raw | ( | uint8_t * | key, |
size_t | keysize | ||
) |
Calculates keytag of DNSSEC key, operates on wireformat rdata.
[in] | key | the key as uncompressed wireformat rdata. |
[in] | keysize | length of key data. |
Referenced by dnskey_calc_keytag().