102
102
/* XXX I want to get rid of the casting here. */
103
103
static struct group groups[] = {
105
MODP, OAKLEY_GRP_1, 0, 0, &oakley_modp[0], 0, 0, 0, 0, 0,
106
(int (*)(struct group *))modp_getlen,
107
(void (*)(struct group *, void *, unsigned char *))modp_getraw,
108
(int (*)(struct group *, void *, unsigned char *, int))modp_setraw,
109
(int (*)(struct group *, void *))modp_setrandom,
110
(int (*)(struct group *, void *, void *, void *))modp_operation
113
MODP, OAKLEY_GRP_2, 0, 0, &oakley_modp[1], 0, 0, 0, 0, 0,
114
(int (*)(struct group *))modp_getlen,
115
(void (*)(struct group *, void *, unsigned char *))modp_getraw,
116
(int (*)(struct group *, void *, unsigned char *, int))modp_setraw,
117
(int (*)(struct group *, void *))modp_setrandom,
118
(int (*)(struct group *, void *, void *, void *))modp_operation
121
MODP, OAKLEY_GRP_5, 0, 0, &oakley_modp[2], 0, 0, 0, 0, 0,
105
MODP, OAKLEY_GRP_1, 0, NULL, &oakley_modp[0], NULL, NULL, NULL, NULL, NULL,
106
(int (*)(struct group *))modp_getlen,
107
(void (*)(struct group *, void *, unsigned char *))modp_getraw,
108
(int (*)(struct group *, void *, unsigned char *, int))modp_setraw,
109
(int (*)(struct group *, void *))modp_setrandom,
110
(int (*)(struct group *, void *, void *, void *))modp_operation
113
MODP, OAKLEY_GRP_2, 0, NULL, &oakley_modp[1], NULL, NULL, NULL, NULL, NULL,
114
(int (*)(struct group *))modp_getlen,
115
(void (*)(struct group *, void *, unsigned char *))modp_getraw,
116
(int (*)(struct group *, void *, unsigned char *, int))modp_setraw,
117
(int (*)(struct group *, void *))modp_setrandom,
118
(int (*)(struct group *, void *, void *, void *))modp_operation
121
MODP, OAKLEY_GRP_5, 0, NULL, &oakley_modp[2], NULL, NULL, NULL, NULL, NULL,
122
122
(int (*)(struct group *))modp_getlen,
123
123
(void (*)(struct group *, void *, unsigned char *))modp_getraw,
124
124
(int (*)(struct group *, void *, unsigned char *, int))modp_setraw,