Home
last modified time | relevance | path

Searched refs:SSH_DIGEST_SHA1 (Results 1 – 14 of 14) sorted by relevance

/external/openssh/
Dssh-dss.c58 size_t rlen, slen, len, dlen = ssh_digest_bytes(SSH_DIGEST_SHA1); in ssh_dss_sign()
73 if ((ret = ssh_digest_memory(SSH_DIGEST_SHA1, data, datalen, in ssh_dss_sign()
127 size_t len, dlen = ssh_digest_bytes(SSH_DIGEST_SHA1); in ssh_dss_verify()
180 if ((ret = ssh_digest_memory(SSH_DIGEST_SHA1, data, datalen, in ssh_dss_verify()
Dssh-rsa.c46 case SSH_DIGEST_SHA1: in rsa_hash_alg_ident()
64 return SSH_DIGEST_SHA1; in rsa_hash_id_from_ident()
85 return SSH_DIGEST_SHA1; in rsa_hash_id_from_keyname()
97 case SSH_DIGEST_SHA1: in rsa_hash_alg_nid()
182 hash_alg = SSH_DIGEST_SHA1; in ssh_rsa_sign()
386 case SSH_DIGEST_SHA1: in rsa_hash_alg_oid()
Dmac.c60 { "hmac-sha1", SSH_DIGEST, SSH_DIGEST_SHA1, 0, 0, 0, 0 },
61 { "hmac-sha1-96", SSH_DIGEST, SSH_DIGEST_SHA1, 96, 0, 0, 0 },
70 { "hmac-sha1-etm@openssh.com", SSH_DIGEST, SSH_DIGEST_SHA1, 0, 0, 0, 1 },
71 { "hmac-sha1-96-etm@openssh.com", SSH_DIGEST, SSH_DIGEST_SHA1, 96, 0, 0, 1 },
Ddigest.h26 #define SSH_DIGEST_SHA1 1 macro
Dkexgex.c65 if (*hashlen < ssh_digest_bytes(SSH_DIGEST_SHA1)) in kexgex_hash()
Dhostfile.c109 if (ret != (int)ssh_hmac_bytes(SSH_DIGEST_SHA1)) { in extract_salt()
111 ssh_hmac_bytes(SSH_DIGEST_SHA1), ret); in extract_salt()
127 len = ssh_digest_bytes(SSH_DIGEST_SHA1); in host_hash()
139 if ((ctx = ssh_hmac_start(SSH_DIGEST_SHA1)) == NULL || in host_hash()
Ddigest-openssl.c60 { SSH_DIGEST_SHA1, "SHA1", 20, EVP_sha1 },
Ddigest-libc.c76 SSH_DIGEST_SHA1,
Ddns.c119 fp_alg = SSH_DIGEST_SHA1; in dns_read_key()
Dkex.c90 { KEX_DH1, KEX_DH_GRP1_SHA1, 0, SSH_DIGEST_SHA1 },
91 { KEX_DH14_SHA1, KEX_DH_GRP14_SHA1, 0, SSH_DIGEST_SHA1 },
95 { KEX_DHGEX_SHA1, KEX_DH_GEX_SHA1, 0, SSH_DIGEST_SHA1 },
Dssh-keygen.c836 fptype = print_bubblebabble ? SSH_DIGEST_SHA1 : fingerprint_hash; in do_download()
895 fptype = print_bubblebabble ? SSH_DIGEST_SHA1 : fingerprint_hash; in fingerprint_one_key()
1227 fptype = print_bubblebabble ? SSH_DIGEST_SHA1 : fingerprint_hash; in known_hosts_find_delete()
2328 SSH_DIGEST_SHA1, &blob, &blen) != 0) { in update_krl_from_file()
Dreadconf.c334 if ((md = ssh_digest_start(SSH_DIGEST_SHA1)) == NULL || in ssh_connection_hash()
342 return tohex(conn_hash, ssh_digest_bytes(SSH_DIGEST_SHA1)); in ssh_connection_hash()
Dkrl.c1264 if ((r = sshkey_fingerprint_raw(key, SSH_DIGEST_SHA1, in is_key_revoked()
/external/openssh/regress/unittests/sshkey/
Dtest_file.c160 cp = sshkey_fingerprint(k1, SSH_DIGEST_SHA1, SSH_FP_BUBBLEBABBLE); in sshkey_file_tests()
251 cp = sshkey_fingerprint(k1, SSH_DIGEST_SHA1, SSH_FP_BUBBLEBABBLE); in sshkey_file_tests()
349 cp = sshkey_fingerprint(k1, SSH_DIGEST_SHA1, SSH_FP_BUBBLEBABBLE); in sshkey_file_tests()
416 cp = sshkey_fingerprint(k1, SSH_DIGEST_SHA1, SSH_FP_BUBBLEBABBLE); in sshkey_file_tests()