Searched refs:DST_KEY (Results 1 - 4 of 4) sorted by relevance

/haiku/src/system/libnetwork/netresolv/include/isc/
H A Ddst.h14 } DST_KEY; typedef in typeref:struct:dst_key
65 DST_KEY *, /*!< the key to use */
72 DST_KEY *, /*!< the key to use */
78 DST_KEY *dst_read_key(const char *, /*!< name of key */
82 int dst_write_key(const DST_KEY *, /*!< key to write out */
84 DST_KEY *dst_dnskey_to_key(const char *, /*!< KEY record name */
87 int dst_key_to_dnskey(const DST_KEY *, /*!< key to translate */
90 DST_KEY *dst_buffer_to_key(const char *, /*!< name of the key */
96 int dst_key_to_buffer(DST_KEY *, u_char *, int);
98 DST_KEY *dst_generate_ke
[all...]
/haiku/src/system/libnetwork/netresolv/dst/
H A Ddst_internal.h47 } DST_KEY; typedef in typeref:struct:dst_key
90 int (*sign)(const int mode, DST_KEY *key, void **context,
93 int (*verify)(const int mode, DST_KEY *key, void **context,
96 int (*compare)(const DST_KEY *key1, const DST_KEY *key2);
97 int (*generate)(DST_KEY *key, int parms);
100 int (*to_dns_key)(const DST_KEY *key, u_int8_t *out,
102 int (*from_dns_key)(DST_KEY *key, const u_int8_t *str,
104 int (*to_file_fmt)(const DST_KEY *key, char *out,
106 int (*from_file_fmt)(DST_KEY *ke
[all...]
H A Ddst_api.c29 * DST_KEY *dst_read_key() Function to retrieve private/public KEY.
31 * DST_KEY *dst_dnskey_to_key() Function to convert DNS KEY RR to a DST
35 * DST_KEY *dst_buffer_to_key() Converst a data in buffer to KEY
36 * int *dst_key_to_buffer() Writes out DST_KEY key matterial in buffer
71 static DST_KEY *dst_s_read_public_key(const char *in_name,
73 static int dst_s_read_private_key_file(char *name, DST_KEY *pk_key,
75 static int dst_s_write_public_key(const DST_KEY *key);
76 static int dst_s_write_private_key(const DST_KEY *key);
79 static DST_KEY *dst_s_get_key_struct(const char *name, const int alg,
164 static DST_KEY *
[all...]
H A Dhmac_link.c78 dst_hmac_md5_sign(const int mode, DST_KEY *d_key, void **context,
147 dst_hmac_md5_verify(const int mode, DST_KEY *d_key, void **context,
210 dst_buffer_to_hmac_md5(DST_KEY *dkey, const u_char *key, const int keylen)
265 dst_hmac_md5_key_to_file_format(const DST_KEY *dkey, char *buff,
329 dst_hmac_md5_key_from_file_format(DST_KEY *dkey, const char *buff,
370 * function to extract hmac key from DST_KEY structure
380 dst_hmac_md5_to_dns_key(const DST_KEY *in_key, u_char *out_str,
406 dst_hmac_md5_compare_keys(const DST_KEY *key1, const DST_KEY *key2)
436 dst_hmac_md5_generate_key(DST_KEY *ke
[all...]

Completed in 34 milliseconds