Searched refs:dgst_alg (Results 1 – 1 of 1) sorted by relevance
/netbsd/crypto/external/bsd/openssh/dist/ |
H A D | sshkey.c | 818 sshkey_fingerprint_raw(const struct sshkey *k, int dgst_alg, in sshkey_fingerprint_raw() argument 829 if (ssh_digest_bytes(dgst_alg) == 0) { in sshkey_fingerprint_raw() 840 if ((r = ssh_digest_memory(dgst_alg, blob, blob_len, in sshkey_fingerprint_raw() 849 *lenp = ssh_digest_bytes(dgst_alg); in sshkey_fingerprint_raw() 1077 sshkey_fingerprint(const struct sshkey *k, int dgst_alg, in sshkey_fingerprint() argument 1088 if (dgst_alg == SSH_DIGEST_MD5) { in sshkey_fingerprint() 1089 retval = fingerprint_hex(ssh_digest_alg_name(dgst_alg), in sshkey_fingerprint() 1092 retval = fingerprint_b64(ssh_digest_alg_name(dgst_alg), in sshkey_fingerprint() 1097 retval = fingerprint_hex(ssh_digest_alg_name(dgst_alg), in sshkey_fingerprint() 1101 retval = fingerprint_b64(ssh_digest_alg_name(dgst_alg), in sshkey_fingerprint() [all …]
|