Searched refs:dgst_alg (Results 1 – 1 of 1) sorted by relevance
/openbsd/usr.bin/ssh/ |
H A D | sshkey.c | 948 sshkey_fingerprint_raw(const struct sshkey *k, int dgst_alg, in sshkey_fingerprint_raw() argument 959 if (ssh_digest_bytes(dgst_alg) == 0) { in sshkey_fingerprint_raw() 970 if ((r = ssh_digest_memory(dgst_alg, blob, blob_len, in sshkey_fingerprint_raw() 979 *lenp = ssh_digest_bytes(dgst_alg); in sshkey_fingerprint_raw() 1207 sshkey_fingerprint(const struct sshkey *k, int dgst_alg, in sshkey_fingerprint() argument 1218 if (dgst_alg == SSH_DIGEST_MD5) { in sshkey_fingerprint() 1219 retval = fingerprint_hex(ssh_digest_alg_name(dgst_alg), in sshkey_fingerprint() 1222 retval = fingerprint_b64(ssh_digest_alg_name(dgst_alg), in sshkey_fingerprint() 1227 retval = fingerprint_hex(ssh_digest_alg_name(dgst_alg), in sshkey_fingerprint() 1231 retval = fingerprint_b64(ssh_digest_alg_name(dgst_alg), in sshkey_fingerprint() [all …]
|