Home
last modified time | relevance | path

Searched refs:sigtype (Results 1 – 3 of 3) sorted by relevance

/freebsd-13.1/crypto/openssh/
H A Dssh-rsa.c250 char *sigtype = NULL; in ssh_rsa_verify() local
266 if (sshbuf_get_cstring(b, &sigtype, NULL) != 0) { in ssh_rsa_verify()
270 if ((hash_alg = rsa_hash_id_from_ident(sigtype)) == -1) { in ssh_rsa_verify()
325 free(sigtype); in ssh_rsa_verify()
H A Dsshsig.c297 char *got_namespace = NULL, *sigtype = NULL, *sig_hashalg = NULL; in sshsig_wrap_verify() local
355 if ((r = sshkey_get_sigtype(sig, siglen, &sigtype)) != 0) { in sshsig_wrap_verify()
360 if (match_pattern_list(sigtype, RSA_SIGN_ALLOWED, 0) != 1) { in sshsig_wrap_verify()
362 "signature algorithm %s", sigtype); in sshsig_wrap_verify()
381 free(sigtype); in sshsig_wrap_verify()
H A Dsshkey.c2641 char *sigtype = NULL; in sshkey_get_sigtype() local
2651 *sigtypep = sigtype; in sshkey_get_sigtype()
2652 sigtype = NULL; in sshkey_get_sigtype()
2656 free(sigtype); in sshkey_get_sigtype()
2712 char *sigtype = NULL; in sshkey_check_sigtype() local
2721 r = strcmp(expected_alg, sigtype) == 0; in sshkey_check_sigtype()
2722 free(sigtype); in sshkey_check_sigtype()
2899 char *sigtype = NULL; in sshkey_certify_custom() local
3040 k->cert->signature_type = sigtype; in sshkey_certify_custom()
3041 sigtype = NULL; in sshkey_certify_custom()
[all …]