Home
last modified time | relevance | path

Searched refs:sshkey_type_plain (Results 1 – 20 of 20) sorted by relevance

/openbsd/usr.bin/ssh/
H A Dssh-ed25519.c160 sshkey_type_plain(key->type) != KEY_ED25519 || in ssh_ed25519_sign()
216 sshkey_type_plain(key->type) != KEY_ED25519 || in ssh_ed25519_verify()
H A Dsshkey.c417 switch (sshkey_type_plain(k->type)) { in sshkey_is_sk()
428 sshkey_type_plain(int type) in sshkey_type_plain() function
805 sshkey_type_plain(a->type) != sshkey_type_plain(b->type)) in sshkey_equal_public()
2124 sshkey_type_plain(impl->type), impl->nid); in sshkey_sigalg_by_name()
2232 k->type = sshkey_type_plain(k->type); in sshkey_drop_cert()
3181 sshkey_type_plain(type) != sshkey_type_plain(pubkey->type)) { in sshkey_parse_private2()
3253 sshkey_type_plain(type) != sshkey_type_plain(pubkey->type)) { in sshkey_parse_private2_pubkey()
3700 sshkey_type_plain(k->type) != KEY_XMSS) in sshkey_private_serialize_maxsign()
3720 if (sshkey_type_plain(k->type) == KEY_XMSS) in sshkey_signatures_left()
3728 if (sshkey_type_plain(k->type) != KEY_XMSS) in sshkey_enable_maxsign()
[all …]
H A Dssh-xmss.c213 sshkey_type_plain(key->type) != KEY_XMSS || in ssh_xmss_sign()
286 sshkey_type_plain(key->type) != KEY_XMSS || in ssh_xmss_verify()
H A Dssh-dss.c271 sshkey_type_plain(key->type) != KEY_DSA) in ssh_dss_sign()
337 sshkey_type_plain(key->type) != KEY_DSA || in ssh_dss_verify()
H A Dssh-ecdsa.c330 sshkey_type_plain(key->type) != KEY_ECDSA) in ssh_ecdsa_sign()
390 sshkey_type_plain(key->type) != KEY_ECDSA || in ssh_ecdsa_verify()
H A Dssh-rsa.c419 sshkey_type_plain(key->type) != KEY_RSA) in ssh_rsa_sign()
477 sshkey_type_plain(key->type) != KEY_RSA || in ssh_rsa_verify()
H A Dssh_api.c552 k->key->type != sshkey_type_plain(ktype))) in _ssh_order_hostkeyalgs()
554 if (sshkey_type_plain(k->key->type) == KEY_ECDSA && in _ssh_order_hostkeyalgs()
H A Dssh-ed25519-sk.c148 sshkey_type_plain(key->type) != KEY_ED25519_SK || in ssh_ed25519_sk_verify()
H A Dsshkey.h225 int sshkey_type_plain(int);
H A Dserverloop.c647 if (sshkey_type_plain(sshkey_type_from_name( in server_input_hostkeys_prove()
683 if (sshkey_type_plain(key->type) == KEY_RSA) { in server_input_hostkeys_prove()
H A Dssh-ecdsa-sk.c240 sshkey_type_plain(key->type) != KEY_ECDSA_SK || in ssh_ecdsa_sk_verify()
H A Dsshsig.c191 if (sshkey_type_plain(key->type) == KEY_RSA) in sshsig_wrap_sign()
363 if (sshkey_type_plain(key->type) == KEY_RSA) { in sshsig_wrap_verify()
H A Dsshkey-xmss.c1084 if (sshkey_type_plain(k->type) == KEY_XMSS && state && in sshkey_xmss_signatures_left()
1098 if (sshkey_type_plain(k->type) != KEY_XMSS) in sshkey_xmss_enable_maxsign()
H A Dauthfd.c390 if (alg != NULL && sshkey_type_plain(key->type) == KEY_RSA) { in agent_encode_alg()
H A Dhostfile.c366 sshkey_type_plain(keytype) == KEY_ECDSA && in check_hostkeys_by_key_or_type()
H A Dssh-add.c503 if (sshkey_type_plain(key->type) == KEY_RSA) in test_key()
H A Dssh-sk.c652 type = sshkey_type_plain(key->type); in sshsk_sign()
H A Dsshconnect2.c147 sshkey_type_plain(sshkey_type_from_name(best)), in order_hostkeyalgs()
186 sshkey_type_plain(ktype), in order_hostkeyalgs()
H A Dclientloop.c2335 if (sshkey_type_plain(sshkey_type_from_name( in client_global_hostkeys_prove_confirm()
2348 plaintype = sshkey_type_plain(ctx->keys[i]->type); in client_global_hostkeys_prove_confirm()
H A Dssh-keygen.c366 switch (sshkey_type_plain(k->type)) { in do_convert_to_pkcs8()
392 switch (sshkey_type_plain(k->type)) { in do_convert_to_pem()