Home
last modified time | relevance | path

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

/freebsd-12.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 Dsshkey.c2300 char *sigtype = NULL; in get_sigtype() local
2306 if ((r = sshbuf_get_cstring(b, &sigtype, NULL)) != 0) in get_sigtype()
2310 *sigtypep = sigtype; in get_sigtype()
2311 sigtype = NULL; in get_sigtype()
2315 free(sigtype); in get_sigtype()
2350 char *sigtype = NULL; in sshkey_check_sigtype() local
2357 if ((r = get_sigtype(sig, siglen, &sigtype)) != 0) in sshkey_check_sigtype()
2359 r = strcmp(expected_alg, sigtype) == 0; in sshkey_check_sigtype()
2360 free(sigtype); in sshkey_check_sigtype()