Lines Matching refs:kex
142 struct kex { struct
175 int (*kex[KEX_MAX])(struct ssh *); argument
203 struct kex *kex_new(void); argument
207 void kex_free(struct kex *);
230 int kex_dh_keypair(struct kex *);
231 int kex_dh_enc(struct kex *, const struct sshbuf *, struct sshbuf **,
233 int kex_dh_dec(struct kex *, const struct sshbuf *, struct sshbuf **);
235 int kex_ecdh_keypair(struct kex *);
236 int kex_ecdh_enc(struct kex *, const struct sshbuf *, struct sshbuf **,
238 int kex_ecdh_dec(struct kex *, const struct sshbuf *, struct sshbuf **);
240 int kex_c25519_keypair(struct kex *);
241 int kex_c25519_enc(struct kex *, const struct sshbuf *, struct sshbuf **,
243 int kex_c25519_dec(struct kex *, const struct sshbuf *, struct sshbuf **);
245 int kex_kem_sntrup761x25519_keypair(struct kex *);
246 int kex_kem_sntrup761x25519_enc(struct kex *, const struct sshbuf *,
248 int kex_kem_sntrup761x25519_dec(struct kex *, const struct sshbuf *,
251 int kex_kem_mlkem768x25519_keypair(struct kex *);
252 int kex_kem_mlkem768x25519_enc(struct kex *, const struct sshbuf *,
254 int kex_kem_mlkem768x25519_dec(struct kex *, const struct sshbuf *,
257 int kex_dh_keygen(struct kex *);
258 int kex_dh_compute_key(struct kex *, BIGNUM *, struct sshbuf *);