Lines Matching refs:dgst_alg
873 sshkey_fingerprint_raw(const struct sshkey *k, int dgst_alg, in sshkey_fingerprint_raw() argument
884 if (ssh_digest_bytes(dgst_alg) == 0) { in sshkey_fingerprint_raw()
909 if ((r = ssh_digest_memory(dgst_alg, blob, blob_len, in sshkey_fingerprint_raw()
918 *lenp = ssh_digest_bytes(dgst_alg); in sshkey_fingerprint_raw()
1151 sshkey_fingerprint(const struct sshkey *k, int dgst_alg, in sshkey_fingerprint() argument
1158 if (sshkey_fingerprint_raw(k, dgst_alg, &dgst_raw, &dgst_raw_len) != 0) in sshkey_fingerprint()
1162 if (dgst_alg == SSH_DIGEST_MD5) { in sshkey_fingerprint()
1163 retval = fingerprint_hex(ssh_digest_alg_name(dgst_alg), in sshkey_fingerprint()
1166 retval = fingerprint_b64(ssh_digest_alg_name(dgst_alg), in sshkey_fingerprint()
1171 retval = fingerprint_hex(ssh_digest_alg_name(dgst_alg), in sshkey_fingerprint()
1175 retval = fingerprint_b64(ssh_digest_alg_name(dgst_alg), in sshkey_fingerprint()
1182 retval = fingerprint_randomart(ssh_digest_alg_name(dgst_alg), in sshkey_fingerprint()