Lines Matching full:key
2 * keyraw.h -- raw key and signature access and conversion
13 * raw key and signature access and conversion
33 * \param[in] keydata the raw key data
35 * \param[in] alg the cryptographic algorithm this is a key for
42 * Calculates keytag of DNSSEC key, operates on wireformat rdata.
43 * \param[in] key the key as uncompressed wireformat rdata.
44 * \param[in] keysize length of key data.
47 uint16_t sldns_calc_keytag_raw(uint8_t* key, size_t keysize);
63 * \param[in] key the uncompressed wireformat of the key.
64 * \param[in] len length of key data
65 * \return a DSA * structure with the key material
67 DSA *sldns_key_buf2dsa_raw(unsigned char* key, size_t len);
71 * Converts a holding buffer with DSA key material to EVP PKEY in openssl.
72 * \param[in] key the uncompressed wireformat of the key.
73 * \param[in] len length of key data
74 * \return the key or NULL on error.
76 EVP_PKEY *sldns_key_dsa2pkey_raw(unsigned char* key, size_t len);
79 * Converts a holding buffer with key material to EVP PKEY in openssl.
81 * \param[in] key data to convert
82 * \param[in] keylen length of the key data
83 * \return the key or NULL on error.
85 EVP_PKEY* sldns_gost2pkey_raw(unsigned char* key, size_t keylen);
88 * Converts a holding buffer with key material to EVP PKEY in openssl.
90 * \param[in] key data to convert
91 * \param[in] keylen length of the key data
93 * \return the key or NULL on error.
95 EVP_PKEY* sldns_ecdsa2pkey_raw(unsigned char* key, size_t keylen, uint8_t algo);
100 * \param[in] key the uncompressed wireformat of the key.
101 * \param[in] len length of key data
102 * \return a RSA * structure with the key material
104 RSA *sldns_key_buf2rsa_raw(unsigned char* key, size_t len);
108 * Converts a holding buffer with RSA key material to EVP PKEY in openssl.
109 * \param[in] key the uncompressed wireformat of the key.
110 * \param[in] len length of key data
111 * \return the key or NULL on error.
113 EVP_PKEY* sldns_key_rsa2pkey_raw(unsigned char* key, size_t len);
116 * Converts a holding buffer with key material to EVP PKEY in openssl.
118 * \param[in] key the uncompressed wireformat of the key.
119 * \param[in] len length of key data
120 * \return the key or NULL on error.
122 EVP_PKEY* sldns_ed255192pkey_raw(const unsigned char* key, size_t len);
125 * Converts a holding buffer with key material to EVP PKEY in openssl.
127 * \param[in] key the uncompressed wireformat of the key.
128 * \param[in] len length of key data
129 * \return the key or NULL on error.
131 EVP_PKEY* sldns_ed4482pkey_raw(const unsigned char* key, size_t len);