diff options
Diffstat (limited to 'kex.h')
-rw-r--r-- | kex.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: kex.h,v 1.95 2019/01/21 10:00:23 djm Exp $ */ | 1 | /* $OpenBSD: kex.h,v 1.96 2019/01/21 10:03:37 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. | 4 | * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. |
@@ -203,15 +203,16 @@ int kexc25519_client(struct ssh *); | |||
203 | int kexc25519_server(struct ssh *); | 203 | int kexc25519_server(struct ssh *); |
204 | 204 | ||
205 | int kex_dh_keygen(struct kex *); | 205 | int kex_dh_keygen(struct kex *); |
206 | int kex_dh_compute_key(struct kex *, BIGNUM *, struct sshbuf *); | ||
206 | int kex_dh_hash(int, const struct sshbuf *, const struct sshbuf *, | 207 | int kex_dh_hash(int, const struct sshbuf *, const struct sshbuf *, |
207 | const u_char *, size_t, const u_char *, size_t, const u_char *, size_t, | 208 | const u_char *, size_t, const u_char *, size_t, const u_char *, size_t, |
208 | const BIGNUM *, const BIGNUM *, const BIGNUM *, u_char *, size_t *); | 209 | const BIGNUM *, const BIGNUM *, const u_char *, size_t, u_char *, size_t *); |
209 | 210 | ||
210 | int kexgex_hash(int, const struct sshbuf *, const struct sshbuf *, | 211 | int kexgex_hash(int, const struct sshbuf *, const struct sshbuf *, |
211 | const u_char *, size_t, const u_char *, size_t, const u_char *, size_t, | 212 | const u_char *, size_t, const u_char *, size_t, const u_char *, size_t, |
212 | int, int, int, | 213 | int, int, int, |
213 | const BIGNUM *, const BIGNUM *, const BIGNUM *, | 214 | const BIGNUM *, const BIGNUM *, const BIGNUM *, |
214 | const BIGNUM *, const BIGNUM *, | 215 | const BIGNUM *, const u_char *, size_t, |
215 | u_char *, size_t *); | 216 | u_char *, size_t *); |
216 | 217 | ||
217 | int kex_ecdh_hash(int, const EC_GROUP *, | 218 | int kex_ecdh_hash(int, const EC_GROUP *, |