Home
last modified time | relevance | path

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

/external/openssh/
Dssh-dss.c55 size_t rlen, slen, len, dlen = ssh_digest_bytes(SSH_DIGEST_SHA1); in ssh_dss_sign()
70 if ((ret = ssh_digest_memory(SSH_DIGEST_SHA1, data, datalen, in ssh_dss_sign()
136 size_t len, dlen = ssh_digest_bytes(SSH_DIGEST_SHA1); in ssh_dss_verify()
192 if ((ret = ssh_digest_memory(SSH_DIGEST_SHA1, data, datalen, in ssh_dss_verify()
Dssh-rsa.c43 case SSH_DIGEST_SHA1: in rsa_hash_alg_ident()
58 return SSH_DIGEST_SHA1; in rsa_hash_alg_from_ident()
70 case SSH_DIGEST_SHA1: in rsa_hash_alg_nid()
98 hash_alg = SSH_DIGEST_SHA1; in ssh_rsa_sign()
288 case SSH_DIGEST_SHA1: in rsa_hash_alg_oid()
Dmac.c59 { "hmac-sha1", SSH_DIGEST, SSH_DIGEST_SHA1, 0, 0, 0, 0 },
60 { "hmac-sha1-96", SSH_DIGEST, SSH_DIGEST_SHA1, 96, 0, 0, 0 },
75 { "hmac-sha1-etm@openssh.com", SSH_DIGEST, SSH_DIGEST_SHA1, 0, 0, 0, 1 },
76 { "hmac-sha1-96-etm@openssh.com", SSH_DIGEST, SSH_DIGEST_SHA1, 96, 0, 0, 1 },
Ddigest.h27 #define SSH_DIGEST_SHA1 2 macro
Dhostfile.c110 if (ret != (int)ssh_hmac_bytes(SSH_DIGEST_SHA1)) { in extract_salt()
112 ssh_hmac_bytes(SSH_DIGEST_SHA1), ret); in extract_salt()
128 len = ssh_digest_bytes(SSH_DIGEST_SHA1); in host_hash()
140 if ((ctx = ssh_hmac_start(SSH_DIGEST_SHA1)) == NULL || in host_hash()
Dkexgex.c63 if (*hashlen < ssh_digest_bytes(SSH_DIGEST_SHA1)) in kexgex_hash()
Ddigest-openssl.c60 { SSH_DIGEST_SHA1, "SHA1", 20, EVP_sha1 },
Ddigest-libc.c82 SSH_DIGEST_SHA1,
Ddns.c115 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 },
Dkrl.c419 if ((r = sshkey_fingerprint_raw(key, SSH_DIGEST_SHA1, in ssh_krl_revoke_key_sha1()
1204 if ((r = sshkey_fingerprint_raw(key, SSH_DIGEST_SHA1, in is_key_revoked()
Dssh-keygen.c779 fptype = print_bubblebabble ? SSH_DIGEST_SHA1 : fingerprint_hash; in do_download()
842 fptype = print_bubblebabble ? SSH_DIGEST_SHA1 : fingerprint_hash; in fingerprint_one_key()
1140 fptype = print_bubblebabble ? SSH_DIGEST_SHA1 : fingerprint_hash; in known_hosts_find_delete()
Dssh.c1188 if ((md = ssh_digest_start(SSH_DIGEST_SHA1)) == NULL || in main()
1196 conn_hash_hex = tohex(conn_hash, ssh_digest_bytes(SSH_DIGEST_SHA1)); in main()
/external/openssh/regress/unittests/sshkey/
Dtest_file.c94 cp = sshkey_fingerprint(k1, SSH_DIGEST_SHA1, SSH_FP_BUBBLEBABBLE); in sshkey_file_tests()
186 cp = sshkey_fingerprint(k1, SSH_DIGEST_SHA1, SSH_FP_BUBBLEBABBLE); in sshkey_file_tests()
277 cp = sshkey_fingerprint(k1, SSH_DIGEST_SHA1, SSH_FP_BUBBLEBABBLE); in sshkey_file_tests()
375 cp = sshkey_fingerprint(k1, SSH_DIGEST_SHA1, SSH_FP_BUBBLEBABBLE); in sshkey_file_tests()
441 cp = sshkey_fingerprint(k1, SSH_DIGEST_SHA1, SSH_FP_BUBBLEBABBLE); in sshkey_file_tests()