diff options
Diffstat (limited to 'kex.h')
-rw-r--r-- | kex.h | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: kex.h,v 1.100 2019/01/21 10:24:09 djm Exp $ */ | 1 | /* $OpenBSD: kex.h,v 1.101 2019/01/21 10:28:01 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. |
@@ -211,6 +211,11 @@ int kexc25519_server(struct ssh *); | |||
211 | int kex_kem_client(struct ssh *); | 211 | int kex_kem_client(struct ssh *); |
212 | int kex_kem_server(struct ssh *); | 212 | int kex_kem_server(struct ssh *); |
213 | 213 | ||
214 | int kex_dh_keypair(struct kex *); | ||
215 | int kex_dh_enc(struct kex *, const u_char *, size_t, struct sshbuf **, | ||
216 | struct sshbuf **); | ||
217 | int kex_dh_dec(struct kex *, const u_char *, size_t, struct sshbuf **); | ||
218 | |||
214 | int kex_c25519_keypair(struct kex *); | 219 | int kex_c25519_keypair(struct kex *); |
215 | int kex_c25519_enc(struct kex *, const u_char *, size_t, struct sshbuf **, | 220 | int kex_c25519_enc(struct kex *, const u_char *, size_t, struct sshbuf **, |
216 | struct sshbuf **); | 221 | struct sshbuf **); |
@@ -224,9 +229,6 @@ int kex_kem_sntrup4591761x25519_dec(struct kex *, const u_char *, size_t, | |||
224 | 229 | ||
225 | int kex_dh_keygen(struct kex *); | 230 | int kex_dh_keygen(struct kex *); |
226 | int kex_dh_compute_key(struct kex *, BIGNUM *, struct sshbuf *); | 231 | int kex_dh_compute_key(struct kex *, BIGNUM *, struct sshbuf *); |
227 | int kex_dh_hash(int, const struct sshbuf *, const struct sshbuf *, | ||
228 | const u_char *, size_t, const u_char *, size_t, const u_char *, size_t, | ||
229 | const BIGNUM *, const BIGNUM *, const u_char *, size_t, u_char *, size_t *); | ||
230 | 232 | ||
231 | int kexgex_hash(int, const struct sshbuf *, const struct sshbuf *, | 233 | int kexgex_hash(int, const struct sshbuf *, const struct sshbuf *, |
232 | const u_char *, size_t, const u_char *, size_t, const u_char *, size_t, | 234 | const u_char *, size_t, const u_char *, size_t, const u_char *, size_t, |