Lines Matching refs:sshbuf
148 struct sshbuf *my;
149 struct sshbuf *peer;
150 struct sshbuf *client_version;
151 struct sshbuf *server_version;
172 struct sshbuf *client_pub;
188 int kex_buf2prop(struct sshbuf *, int *, char ***);
189 int kex_prop2buf(struct sshbuf *, char *proposal[PROPOSAL_MAX]);
197 int kex_derive_keys(struct ssh *, u_char *, u_int, const struct sshbuf *);
207 int kex_dh_enc(struct kex *, const struct sshbuf *, struct sshbuf **,
208 struct sshbuf **);
209 int kex_dh_dec(struct kex *, const struct sshbuf *, struct sshbuf **);
212 int kex_ecdh_enc(struct kex *, const struct sshbuf *, struct sshbuf **,
213 struct sshbuf **);
214 int kex_ecdh_dec(struct kex *, const struct sshbuf *, struct sshbuf **);
217 int kex_c25519_enc(struct kex *, const struct sshbuf *, struct sshbuf **,
218 struct sshbuf **);
219 int kex_c25519_dec(struct kex *, const struct sshbuf *, struct sshbuf **);
222 int kex_kem_sntrup4591761x25519_enc(struct kex *, const struct sshbuf *,
223 struct sshbuf **, struct sshbuf **);
224 int kex_kem_sntrup4591761x25519_dec(struct kex *, const struct sshbuf *,
225 struct sshbuf **);
228 int kex_dh_compute_key(struct kex *, BIGNUM *, struct sshbuf *);
230 int kexgex_hash(int, const struct sshbuf *, const struct sshbuf *,
231 const struct sshbuf *, const struct sshbuf *, const struct sshbuf *,
241 const u_char pub[CURVE25519_SIZE], struct sshbuf *out)
245 const u_char pub[CURVE25519_SIZE], struct sshbuf *out, int)