Lines Matching refs:dk_alg
177 new_key->dk_alg = alg;
203 if (key1->dk_alg != key2->dk_alg)
353 if (!(dg_key = dst_s_get_key_struct(keyname, pubkey->dk_alg,
359 pubkey->dk_alg) == 0)
373 if (!dst_check_algorithm(key->dk_alg)) { /*%< make sure alg is available */
375 key->dk_alg));
393 * K<key->dk_name>+<key->dk_alg+><key-d>k_id.><private key suffix>.
420 key->dk_alg));
428 dst_s_build_filename(file, key->dk_key_name, key->dk_id, key->dk_alg,
603 key->dk_alg, PUBLIC_KEY, PATH_MAX) == -1) {
609 mode = (key->dk_alg == KEY_HMAC_MD5) ? 0600 : 0644;
623 key->dk_flags, key->dk_proto, key->dk_alg, enc_key);
711 if (!dst_check_algorithm(key->dk_alg)) { /*%< make sure alg is available */
713 key->dk_alg));
722 out_storage[loc++] = (u_char) key->dk_alg;
741 key->dk_alg));
911 pk_key->dk_alg = alg;
978 new_key->dk_key_name, new_key->dk_alg,
1010 f_key->dk_alg));
1033 switch (key->dk_alg) {
1043 EREPORT(("dst_sig_size(): Unknown key alg %d\n", key->dk_alg));