DST_KEY
DST_KEY *
dst_free_key(DST_KEY *f_key)
dst_sig_size(DST_KEY *key) {
static DST_KEY *
DST_KEY *new_key = NULL;
new_key = (DST_KEY *) malloc(sizeof(*new_key));
dst_compare_keys(const DST_KEY *key1, const DST_KEY *key2)
dst_sign_data(const int mode, DST_KEY *in_key, void **context,
dst_verify_data(const int mode, DST_KEY *in_key, void **context,
DST_KEY *
DST_KEY *dg_key = NULL, *pubkey = NULL;
dst_write_key(const DST_KEY *key, const int type)
dst_s_write_private_key(const DST_KEY *key)
static DST_KEY *
dst_s_write_public_key(const DST_KEY *key)
DST_KEY *
DST_KEY *key_st;
dst_key_to_dnskey(const DST_KEY *key, u_char *out_storage,
static DST_KEY *dst_s_read_public_key(const char *in_name,
static int dst_s_read_private_key_file(char *name, DST_KEY *pk_key,
static int dst_s_write_public_key(const DST_KEY *key);
static int dst_s_write_private_key(const DST_KEY *key);
DST_KEY *
DST_KEY *dkey = NULL;
static DST_KEY *dst_s_get_key_struct(const char *name, const int alg,
dst_key_to_buffer(DST_KEY *key, u_char *out_buff, int buf_len)
dst_s_read_private_key_file(char *name, DST_KEY *pk_key, u_int16_t in_id,
DST_KEY *
DST_KEY *new_key = NULL;
int (*to_dns_key)(const DST_KEY *key, u_int8_t *out,
int (*from_dns_key)(DST_KEY *key, const u_int8_t *str,
int (*to_file_fmt)(const DST_KEY *key, char *out,
int (*from_file_fmt)(DST_KEY *key, const char *out,
int (*sign)(const int mode, DST_KEY *key, void **context,
int (*verify)(const int mode, DST_KEY *key, void **context,
int (*compare)(const DST_KEY *key1, const DST_KEY *key2);
int (*generate)(DST_KEY *key, int parms);
dst_hmac_md5_verify(const int mode, DST_KEY *d_key, void **context,
dst_buffer_to_hmac_md5(DST_KEY *dkey, const u_char *key, const int keylen)
dst_hmac_md5_key_to_file_format(const DST_KEY *dkey, char *buff,
dst_hmac_md5_key_from_file_format(DST_KEY *dkey, const char *buff,
dst_hmac_md5_to_dns_key(const DST_KEY *in_key, u_char *out_str,
dst_hmac_md5_compare_keys(const DST_KEY *key1, const DST_KEY *key2)
dst_hmac_md5_generate_key(DST_KEY *key, const int nothing)
dst_hmac_md5_sign(const int mode, DST_KEY *d_key, void **context,
DST_KEY *dst_free_key(DST_KEY *);
int dst_compare_keys(const DST_KEY *, const DST_KEY *);
int dst_sig_size(DST_KEY *);
DST_KEY *, /*!< the key to use */
DST_KEY *, /*!< the key to use */
DST_KEY *dst_read_key(const char *, /*!< name of key */
int dst_write_key(const DST_KEY *, /*!< key to write out */
DST_KEY *dst_dnskey_to_key(const char *, /*!< KEY record name */
int dst_key_to_dnskey(const DST_KEY *, /*!< key to translate */
DST_KEY *dst_buffer_to_key(const char *, /*!< name of the key */
int dst_key_to_buffer(DST_KEY *, u_char *, int);
DST_KEY *dst_generate_key(const char *, /*!< name of new key */