/openbsd/usr.bin/ssh/ |
H A D | mac.c | 56 { "hmac-sha1", SSH_DIGEST, SSH_DIGEST_SHA1, 0, 0, 0, 0 }, 57 { "hmac-sha1-96", SSH_DIGEST, SSH_DIGEST_SHA1, 96, 0, 0, 0 }, 66 { "hmac-sha1-etm@openssh.com", SSH_DIGEST, SSH_DIGEST_SHA1, 0, 0, 0, 1 }, 67 { "hmac-sha1-96-etm@openssh.com", SSH_DIGEST, SSH_DIGEST_SHA1, 96, 0, 0, 1 },
|
H A D | kex-names.c | 55 { KEX_DH1, KEX_DH_GRP1_SHA1, 0, SSH_DIGEST_SHA1 }, 56 { KEX_DH14_SHA1, KEX_DH_GRP14_SHA1, 0, SSH_DIGEST_SHA1 }, 60 { KEX_DHGEX_SHA1, KEX_DH_GEX_SHA1, 0, SSH_DIGEST_SHA1 },
|
H A D | ssh-dss.c | 261 size_t rlen, slen, len, dlen = ssh_digest_bytes(SSH_DIGEST_SHA1); in ssh_dss_sign() 276 if ((ret = ssh_digest_memory(SSH_DIGEST_SHA1, data, datalen, in ssh_dss_sign() 331 size_t len, hlen = ssh_digest_bytes(SSH_DIGEST_SHA1); in ssh_dss_verify() 384 if ((ret = ssh_digest_memory(SSH_DIGEST_SHA1, data, dlen, in ssh_dss_verify()
|
H A D | ssh-rsa.c | 309 case SSH_DIGEST_SHA1: in rsa_hash_alg_ident() 327 return SSH_DIGEST_SHA1; in rsa_hash_id_from_ident() 348 return SSH_DIGEST_SHA1; in rsa_hash_id_from_keyname() 414 hash_alg = SSH_DIGEST_SHA1; in ssh_rsa_sign()
|
H A D | digest.h | 26 #define SSH_DIGEST_SHA1 1 macro
|
H A D | kexgex.c | 59 if (*hashlen < ssh_digest_bytes(SSH_DIGEST_SHA1)) in kexgex_hash()
|
H A D | hostfile.c | 104 if (ret != (int)ssh_hmac_bytes(SSH_DIGEST_SHA1)) { in extract_salt() 106 ssh_hmac_bytes(SSH_DIGEST_SHA1), ret); in extract_salt() 122 len = ssh_digest_bytes(SSH_DIGEST_SHA1); in host_hash() 134 if ((ctx = ssh_hmac_start(SSH_DIGEST_SHA1)) == NULL || in host_hash()
|
H A D | digest-openssl.c | 44 { SSH_DIGEST_SHA1, "SHA1", 20, EVP_sha1 },
|
H A D | digest-libc.c | 66 SSH_DIGEST_SHA1,
|
H A D | dns.c | 107 fp_alg = SSH_DIGEST_SHA1; in dns_read_key()
|
H A D | ssh-keygen.c | 866 fptype = print_bubblebabble ? SSH_DIGEST_SHA1 : fingerprint_hash; in do_download() 925 fptype = print_bubblebabble ? SSH_DIGEST_SHA1 : fingerprint_hash; in fingerprint_one_key() 1255 fptype = print_bubblebabble ? SSH_DIGEST_SHA1 : fingerprint_hash; in known_hosts_find_delete() 2411 SSH_DIGEST_SHA1, &blob, &blen) != 0) { in update_krl_from_file()
|
H A D | krl.c | 1196 if ((r = sshkey_fingerprint_raw(key, SSH_DIGEST_SHA1, in is_key_revoked()
|
H A D | readconf.c | 346 if ((md = ssh_digest_start(SSH_DIGEST_SHA1)) == NULL || in ssh_connection_hash() 355 return tohex(conn_hash, ssh_digest_bytes(SSH_DIGEST_SHA1)); in ssh_connection_hash()
|
H A D | sshkey.c | 479 case SSH_DIGEST_SHA1: in ssh_digest_to_md()
|
/openbsd/regress/usr.bin/ssh/unittests/sshkey/ |
H A D | test_file.c | 148 cp = sshkey_fingerprint(k1, SSH_DIGEST_SHA1, SSH_FP_BUBBLEBABBLE); in sshkey_file_tests() 240 cp = sshkey_fingerprint(k1, SSH_DIGEST_SHA1, SSH_FP_BUBBLEBABBLE); in sshkey_file_tests() 339 cp = sshkey_fingerprint(k1, SSH_DIGEST_SHA1, SSH_FP_BUBBLEBABBLE); in sshkey_file_tests() 404 cp = sshkey_fingerprint(k1, SSH_DIGEST_SHA1, SSH_FP_BUBBLEBABBLE); in sshkey_file_tests() 468 cp = sshkey_fingerprint(k1, SSH_DIGEST_SHA1, SSH_FP_BUBBLEBABBLE); in sshkey_file_tests() 533 cp = sshkey_fingerprint(k1, SSH_DIGEST_SHA1, SSH_FP_BUBBLEBABBLE); in sshkey_file_tests()
|