summaryrefslogtreecommitdiff
path: root/kex.h
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2019-01-21 10:00:23 +0000
committerDamien Miller <djm@mindrot.org>2019-01-21 21:47:28 +1100
commite93bd98eab79b9a78f64ee8dd4dffc4d3979c7ae (patch)
treeb02f3b1ca965cfa9fbbf3fbf4b8a3b56d93088cd /kex.h
parent5ae3f6d314465026d028af82609c1d49ad197655 (diff)
downloadopenssh-git-e93bd98eab79b9a78f64ee8dd4dffc4d3979c7ae.tar.gz
upstream: factor out DH keygen; it's identical between the client
and the server from markus@ ok djm@ OpenBSD-Commit-ID: 2be57f6a0d44f1ab2c8de2b1b5d6f530c387fae9
Diffstat (limited to 'kex.h')
-rw-r--r--kex.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/kex.h b/kex.h
index 085e60b5..4394e100 100644
--- a/kex.h
+++ b/kex.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: kex.h,v 1.94 2019/01/19 21:43:56 djm Exp $ */
+/* $OpenBSD: kex.h,v 1.95 2019/01/21 10:00:23 djm Exp $ */
/*
* Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
@@ -202,6 +202,7 @@ int kexecdh_server(struct ssh *);
int kexc25519_client(struct ssh *);
int kexc25519_server(struct ssh *);
+int kex_dh_keygen(struct kex *);
int kex_dh_hash(int, const struct sshbuf *, const struct sshbuf *,
const u_char *, size_t, const u_char *, size_t, const u_char *, size_t,
const BIGNUM *, const BIGNUM *, const BIGNUM *, u_char *, size_t *);