diff options
author | djm@openbsd.org <djm@openbsd.org> | 2019-01-21 10:00:23 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2019-01-21 21:47:28 +1100 |
commit | e93bd98eab79b9a78f64ee8dd4dffc4d3979c7ae (patch) | |
tree | b02f3b1ca965cfa9fbbf3fbf4b8a3b56d93088cd /kex.h | |
parent | 5ae3f6d314465026d028af82609c1d49ad197655 (diff) | |
download | openssh-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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 *); |