Home
last modified time | relevance | path

Searched refs:dk_alg (Results 1 – 5 of 5) sorted by relevance

/titanic_44/usr/src/lib/libresolv2/common/dst/
H A Ddst_api.c177 new_key->dk_alg = alg; in dst_s_get_key_struct()
203 if (key1->dk_alg != key2->dk_alg) in dst_compare_keys()
353 if (!(dg_key = dst_s_get_key_struct(keyname, pubkey->dk_alg, in dst_read_key()
359 pubkey->dk_alg) == 0) in dst_read_key()
373 if (!dst_check_algorithm(key->dk_alg)) { /*%< make sure alg is available */ in dst_write_key()
375 key->dk_alg)); in dst_write_key()
420 key->dk_alg)); in dst_s_write_private_key()
428 dst_s_build_filename(file, key->dk_key_name, key->dk_id, key->dk_alg, in dst_s_write_private_key()
603 key->dk_alg, PUBLIC_KEY, PATH_MAX) == -1) { in dst_s_write_public_key()
609 mode = (key->dk_alg == KEY_HMAC_MD5) ? 0600 : 0644; in dst_s_write_public_key()
[all …]
H A Ddst_internal.h40 int dk_alg; /*%< algorithm number from key record */ member
/titanic_44/usr/src/lib/libresolv2/common/nameser/
H A Dns_verify.c219 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()
H A Dns_sign.c135 if (key->dk_alg != KEY_HMAC_MD5) in ns_sign2()
260 if (state->key->dk_alg != KEY_HMAC_MD5) in ns_sign_tcp_init()
/titanic_44/usr/src/lib/libresolv2/include/isc/
H A Ddst.h9 int dk_alg; /*%< algorithm number from key record */ member