Searched refs:KEY_HMAC_MD5 (Results 1 – 7 of 7) sorted by relevance
301 sprintf(buff, key_file_fmt_str, KEY_FILE_FORMAT, KEY_HMAC_MD5, "HMAC"); in dst_hmac_md5_key_to_file_format()464 if (dst_t_func[KEY_HMAC_MD5] != NULL) in dst_hmac_md5_init()466 dst_t_func[KEY_HMAC_MD5] = malloc(sizeof(struct dst_func)); in dst_hmac_md5_init()467 if (dst_t_func[KEY_HMAC_MD5] == NULL) in dst_hmac_md5_init()469 memset(dst_t_func[KEY_HMAC_MD5], 0, sizeof(struct dst_func)); in dst_hmac_md5_init()470 dst_t_func[KEY_HMAC_MD5]->sign = dst_hmac_md5_sign; in dst_hmac_md5_init()471 dst_t_func[KEY_HMAC_MD5]->verify = dst_hmac_md5_verify; in dst_hmac_md5_init()472 dst_t_func[KEY_HMAC_MD5]->compare = dst_hmac_md5_compare_keys; in dst_hmac_md5_init()473 dst_t_func[KEY_HMAC_MD5]->generate = dst_hmac_md5_generate_key; in dst_hmac_md5_init()474 dst_t_func[KEY_HMAC_MD5]->destroy = dst_hmac_md5_free_key_structure; in dst_hmac_md5_init()[all …]
136 else if (dns_key_rdata[3] == KEY_HMAC_MD5) in dst_s_dns_key_id()
609 mode = (key->dk_alg == KEY_HMAC_MD5) ? 0600 : 0644; in dst_s_write_public_key()1034 case KEY_HMAC_MD5: in dst_sig_size()
219 if (key->dk_alg != KEY_HMAC_MD5) in ns_verify()331 if (state->key->dk_alg != KEY_HMAC_MD5) in ns_verify_tcp_init()418 state->key->dk_alg != KEY_HMAC_MD5)) in ns_verify_tcp()
135 if (key->dk_alg != KEY_HMAC_MD5) in ns_sign2()260 if (state->key->dk_alg != KEY_HMAC_MD5) in ns_sign_tcp_init()
141 #define KEY_HMAC_MD5 157 macro
65 dstkey = dst_buffer_to_key(key->name, KEY_HMAC_MD5, in res_nsendsigned()