Home
last modified time | relevance | path

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

/freebsd/crypto/openssh/
H A Dssh-ed25519.c161 sshkey_type_plain(key->type) != KEY_ED25519 || in ssh_ed25519_sign()
241 sshkey_type_plain(key->type) != KEY_ED25519 || in ssh_ed25519_verify()
H A Dsshkey.c232 return sshkey_ssh_name_from_type_nid(sshkey_type_plain(k->type), in sshkey_ssh_name_plain()
428 switch (sshkey_type_plain(k->type)) { in sshkey_is_sk()
439 sshkey_type_plain(int type) in sshkey_type_plain() function
841 sshkey_type_plain(a->type) != sshkey_type_plain(b->type)) in sshkey_equal_public()
884 type = force_plain ? sshkey_type_plain(key->type) : key->type; in to_blob_buf()
2165 sshkey_type_plain(impl->type), impl->nid); in sshkey_sigalg_by_name()
2276 k->type = sshkey_type_plain(k->type); in sshkey_drop_cert()
3199 sshkey_type_plain(type) != sshkey_type_plain(pubkey->type)) { in sshkey_parse_private2()
3271 sshkey_type_plain(type) != sshkey_type_plain(pubkey->type)) { in sshkey_parse_private2_pubkey()
H A Dssh-mldsa-eddsa.c386 sshkey_type_plain(key->type) != KEY_MLDSA44_ED25519 || in ssh_mldsa44_ed25519_sign()
432 sshkey_type_plain(key->type) != KEY_MLDSA44_ED25519 || in ssh_mldsa44_ed25519_verify()
H A Dssh-ecdsa.c337 sshkey_type_plain(key->type) != KEY_ECDSA) in ssh_ecdsa_sign()
421 sshkey_type_plain(key->type) != KEY_ECDSA || in ssh_ecdsa_verify()
H A Dssh-rsa.c423 sshkey_type_plain(key->type) != KEY_RSA) in ssh_rsa_sign()
506 sshkey_type_plain(key->type) != KEY_RSA || in ssh_rsa_verify()
H A Dssh_api.c558 k->key->type != sshkey_type_plain(ktype))) in _ssh_order_hostkeyalgs()
560 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 Dauth2-hostbased.c99 if (key->type != pktype || (sshkey_type_plain(pktype) == KEY_ECDSA && in userauth_hostbased()
H A Dsshkey.h218 int sshkey_type_plain(int);
H A Dserverloop.c683 if (sshkey_type_plain(sshkey_type_from_name( in server_input_hostkeys_prove()
719 if (sshkey_type_plain(key->type) == KEY_RSA) { in server_input_hostkeys_prove()
H A Dssh-ecdsa-sk.c258 sshkey_type_plain(key->type) != KEY_ECDSA_SK || in ssh_ecdsa_sk_verify()
H A Dsshsig.c193 if (sshkey_type_plain(key->type) == KEY_RSA) { in sshsig_wrap_sign()
370 if (sshkey_type_plain(key->type) == KEY_RSA) { in sshsig_wrap_verify()
H A Dauthfd.c390 if (alg != NULL && sshkey_type_plain(key->type) == KEY_RSA) { in agent_encode_alg()
H A Dauth2-pubkey.c151 if (key->type != pktype || (sshkey_type_plain(pktype) == KEY_ECDSA && in userauth_pubkey()
H A Dssh-sk.c669 type = sshkey_type_plain(key->type); in sshsk_sign()
H A Dhostfile.c368 sshkey_type_plain(keytype) == KEY_ECDSA && in check_hostkeys_by_key_or_type()
H A Dssh-add.c510 if (sshkey_type_plain(key->type) == KEY_RSA) in test_key()
H A Dclientloop.c2383 if (sshkey_type_plain(sshkey_type_from_name( in client_global_hostkeys_prove_confirm()
2396 plaintype = sshkey_type_plain(ctx->keys[i]->type); in client_global_hostkeys_prove_confirm()
H A Dsshconnect2.c153 sshkey_type_plain(sshkey_type_from_name(best)), in order_hostkeyalgs()
192 sshkey_type_plain(ktype), in order_hostkeyalgs()
H A Dssh_namespace.h986 #define sshkey_type_plain Fssh_sshkey_type_plain macro
H A Dssh-keygen.c361 switch (sshkey_type_plain(k->type)) { in do_convert_to_pkcs8()
382 switch (sshkey_type_plain(k->type)) { in do_convert_to_pem()
/freebsd/crypto/openssh/regress/misc/ssh-verify-attestation/
H A Dssh-verify-attestation.c309 switch (sshkey_type_plain(k->type)) { in cred_matches_key()
389 switch (sshkey_type_plain(k->type)) { in main()
/freebsd/crypto/openssh/regress/unittests/sshkey/
H A Dtest_fuzz.c56 if (test_is_fast() || sshkey_type_plain(k->type) == KEY_MLDSA44_ED25519) in public_fuzz()
86 if (test_is_fast() || sshkey_type_plain(k->type) == KEY_MLDSA44_ED25519) in sig_fuzz()