Lines Matching refs:dgst_alg
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
1214 if (sshkey_fingerprint_raw(k, dgst_alg, &dgst_raw, &dgst_raw_len) != 0) in sshkey_fingerprint()
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()
1238 retval = fingerprint_randomart(ssh_digest_alg_name(dgst_alg), in sshkey_fingerprint()