-/* $OpenBSD: dhtest.c,v 1.3 2020/11/03 20:45:58 tobhe Exp $ */
+/* $OpenBSD: dhtest.c,v 1.4 2021/02/04 20:45:13 tobhe Exp $ */
/* $EOM: dhtest.c,v 1.1 1998/07/18 21:14:20 provos Exp $ */
/*
struct ibuf *buf, *buf2;
struct ibuf *sec, *sec2;
uint8_t *raw, *raw2;
- struct group *group, *group2;
+ struct dh_group *group, *group2;
const char *name[] = { "MODP", "ECP", "CURVE25519" };
group_init();
-/* $OpenBSD: common.c,v 1.9 2020/11/26 22:29:32 tobhe Exp $ */
+/* $OpenBSD: common.c,v 1.10 2021/02/04 20:45:13 tobhe Exp $ */
/*
* A bunch of stub functions so we can compile and link ikev2_pld.c
* in a standalone program for testing purposes.
void sa_state(struct iked *, struct iked_sa *, int);
void ikev2_disable_rekeying(struct iked *, struct iked_sa *);
void ikev2_init_ike_sa(struct iked *, void *);
-struct group *
+struct dh_group *
group_get(u_int32_t);
void timer_set(struct iked *, struct iked_timer *,
void (*)(struct iked *, void *), void *);