diff options
Diffstat (limited to 'kex.h')
-rw-r--r-- | kex.h | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: kex.h,v 1.101 2019/01/21 10:28:01 djm Exp $ */ | 1 | /* $OpenBSD: kex.h,v 1.102 2019/01/21 10:29:56 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. |
@@ -216,6 +216,11 @@ int kex_dh_enc(struct kex *, const u_char *, size_t, struct sshbuf **, | |||
216 | struct sshbuf **); | 216 | struct sshbuf **); |
217 | int kex_dh_dec(struct kex *, const u_char *, size_t, struct sshbuf **); | 217 | int kex_dh_dec(struct kex *, const u_char *, size_t, struct sshbuf **); |
218 | 218 | ||
219 | int kex_ecdh_keypair(struct kex *); | ||
220 | int kex_ecdh_enc(struct kex *, const u_char *, size_t, struct sshbuf **, | ||
221 | struct sshbuf **); | ||
222 | int kex_ecdh_dec(struct kex *, const u_char *, size_t, struct sshbuf **); | ||
223 | |||
219 | int kex_c25519_keypair(struct kex *); | 224 | int kex_c25519_keypair(struct kex *); |
220 | int kex_c25519_enc(struct kex *, const u_char *, size_t, struct sshbuf **, | 225 | int kex_c25519_enc(struct kex *, const u_char *, size_t, struct sshbuf **, |
221 | struct sshbuf **); | 226 | struct sshbuf **); |
@@ -237,11 +242,6 @@ int kexgex_hash(int, const struct sshbuf *, const struct sshbuf *, | |||
237 | const BIGNUM *, const u_char *, size_t, | 242 | const BIGNUM *, const u_char *, size_t, |
238 | u_char *, size_t *); | 243 | u_char *, size_t *); |
239 | 244 | ||
240 | int kex_ecdh_hash(int, const EC_GROUP *, | ||
241 | const struct sshbuf *, const struct sshbuf *, | ||
242 | const u_char *, size_t, const u_char *, size_t, const u_char *, size_t, | ||
243 | const EC_POINT *, const EC_POINT *, const BIGNUM *, u_char *, size_t *); | ||
244 | |||
245 | int kex_c25519_hash(int, const struct sshbuf *, const struct sshbuf *, | 245 | int kex_c25519_hash(int, const struct sshbuf *, const struct sshbuf *, |
246 | const u_char *, size_t, const u_char *, size_t, | 246 | const u_char *, size_t, const u_char *, size_t, |
247 | const u_char *, size_t, const u_char *, size_t, const u_char *, size_t, | 247 | const u_char *, size_t, const u_char *, size_t, const u_char *, size_t, |