dh_group
struct dh_group *group, *group2;
struct dh_group *
group_free(struct dh_group *group)
struct dh_group *
struct dh_group *group;
dh_init(struct dh_group *group)
dh_getlen(struct dh_group *group)
dh_secretlen(struct dh_group *group)
dh_create_exchange(struct dh_group *group, struct ibuf **bufp, struct ibuf *iexchange)
int dh_init(struct dh_group *);
dh_create_shared(struct dh_group *group, struct ibuf **secretp, struct ibuf *exchange)
int dh_getlen(struct dh_group *);
int dh_secretlen(struct dh_group *);
modp_init(struct dh_group *group)
int modp_init(struct dh_group *);
modp_getlen(struct dh_group *group)
modp_create_exchange(struct dh_group *group, uint8_t *buf)
int modp_getlen(struct dh_group *);
int modp_create_exchange(struct dh_group *, uint8_t *);
int modp_create_shared(struct dh_group *, uint8_t *, uint8_t *);
modp_create_shared(struct dh_group *group, uint8_t *secret, uint8_t *exchange)
ec_init(struct dh_group *group)
int ec_init(struct dh_group *);
int ec_getlen(struct dh_group *);
ec_getlen(struct dh_group *group)
int ec_secretlen(struct dh_group *);
ec_secretlen(struct dh_group *group)
int ec_create_exchange(struct dh_group *, uint8_t *);
ec_create_exchange(struct dh_group *group, uint8_t *buf)
int ec_create_shared(struct dh_group *, uint8_t *, uint8_t *);
ec_create_shared(struct dh_group *group, uint8_t *secret, uint8_t *exchange)
int ec_point2raw(struct dh_group *, const EC_POINT *, uint8_t *, size_t, int);
ec_point2raw(struct dh_group *group, const EC_POINT *point,
ec_raw2point(struct dh_group *, uint8_t *, size_t);
int ec25519_init(struct dh_group *);
int ec25519_getlen(struct dh_group *);
int ec25519_create_exchange(struct dh_group *, uint8_t *);
ec_raw2point(struct dh_group *group, uint8_t *buf, size_t len)
int ec25519_create_shared(struct dh_group *, uint8_t *, uint8_t *);
ec25519_init(struct dh_group *group)
ec25519_getlen(struct dh_group *group)
ec25519_create_exchange(struct dh_group *group, uint8_t *buf)
ec25519_create_shared(struct dh_group *group, uint8_t *shared, uint8_t *public)
kemsx_init(struct dh_group *group)
kemsx_getlen(struct dh_group *group)
kemsx_create_exchange2(struct dh_group *group, struct ibuf **bufp,
int kemsx_init(struct dh_group *);
int kemsx_getlen(struct dh_group *);
kemsx_create_shared2(struct dh_group *group, struct ibuf **sharedp,
int kemsx_create_exchange2(struct dh_group *, struct ibuf **, struct ibuf *);
int kemsx_create_shared2(struct dh_group *, struct ibuf **, struct ibuf *);
int (*init)(struct dh_group *);
int (*getlen)(struct dh_group *);
int (*secretlen)(struct dh_group *);
int (*exchange)(struct dh_group *, uint8_t *);
int (*exchange2)(struct dh_group *, struct ibuf **, struct ibuf *);
int (*shared)(struct dh_group *, uint8_t *, uint8_t *);
int (*shared2)(struct dh_group *, struct ibuf **, struct ibuf *);
void group_free(struct dh_group *);
struct dh_group *group_get(uint32_t);
int dh_create_exchange(struct dh_group *, struct ibuf **, struct ibuf *);
int dh_create_shared(struct dh_group *, struct ibuf **, struct ibuf *);
struct dh_group *kex_dhgroup; /* DH group */
struct dh_group *group;
struct dh_group *group;
struct dh_group *group;
struct dh_group *group;
struct dh_group *group;
struct dh_group *group;
struct dh_group *group = NULL;