|
Electroneum
|
Go to the source code of this file.
Functions | |
| size_t | sldns_rr_dnskey_key_size_raw (const unsigned char *keydata, const size_t len, int alg) |
| uint16_t | sldns_calc_keytag_raw (uint8_t *key, size_t keysize) |
raw key and signature access and conversion
Since those functions heavily rely op cryptographic operations, this module is dependent on openssl.
Definition in file keyraw.h.
Calculates keytag of DNSSEC key, operates on wireformat rdata.
| [in] | key | the key as uncompressed wireformat rdata. |
| [in] | keysize | length of key data. |
| 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 |