Lines Matching defs:hash
55 u_char *hash, size_t *hashlen)
83 if (ssh_digest_buffer(hash_alg, b, hash, *hashlen) != 0) {
90 dump_digest("hash", hash, *hashlen);
147 u_char hash[SSH_DIGEST_MAX_LENGTH];
207 hashlen = sizeof(hash);
218 hash, &hashlen)) != 0)
221 if ((r = sshkey_verify(server_host_key, signature, slen, hash, hashlen,
225 if ((r = kex_derive_keys(ssh, hash, hashlen, shared_secret)) != 0 ||
246 explicit_bzero(hash, sizeof(hash));
280 u_char *signature = NULL, hash[SSH_DIGEST_MAX_LENGTH];
337 hashlen = sizeof(hash);
348 hash, &hashlen)) != 0)
353 &signature, &slen, hash, hashlen, kex->hostkey_alg)) != 0)
364 if ((r = kex_derive_keys(ssh, hash, hashlen, shared_secret)) != 0 ||
374 explicit_bzero(hash, sizeof(hash));