/illumos-gate/usr/src/common/crypto/ecc/ |
H A D | ecl.c | 76 MP_DIGITS(&group->genx) = 0; 87 MP_CHECKOK(mp_init(&group->genx, kmflag)); 102 const mp_int *curveb, const mp_int *genx, 119 MP_CHECKOK(mp_copy(genx, &group->genx)); 143 const mp_int *curveb, const mp_int *genx, 162 MP_CHECKOK(group->meth->field_enc(genx, &group->genx, group->meth)); 188 const mp_int *genx, const mp_int *geny, 205 MP_CHECKOK(mp_copy(genx, 101 ECGroup_consGFp(const mp_int *irr, const mp_int *curvea, const mp_int *curveb, const mp_int *genx, const mp_int *geny, const mp_int *order, int cofactor) argument 142 ECGroup_consGFp_mont(const mp_int *irr, const mp_int *curvea, const mp_int *curveb, const mp_int *genx, const mp_int *geny, const mp_int *order, int cofactor) argument 186 ECGroup_consGF2m(const mp_int *irr, const unsigned int irr_arr[5], const mp_int *curvea, const mp_int *curveb, const mp_int *genx, const mp_int *geny, const mp_int *order, int cofactor) argument 232 mp_int irr, curvea, curveb, genx, geny, order; local [all...] |
H A D | ecl_curve.c | 103 if (params->genx != NULL) { 105 ret->genx = kmem_alloc(strlen(params->genx) + 1, kmflag); 106 bcopy(params->genx, ret->genx, strlen(params->genx) + 1); 108 CHECK(ret->genx = strdup(params->genx)); 181 if (params->genx != NULL) 183 kmem_free(params->genx, strle [all...] |
H A D | ecp_test.c | 169 MP_CHECKOK(group->meth->field_dec(&group->genx, &gx, group->meth)); 172 MP_CHECKOK(mp_copy(&group->genx, &gx)); 184 MP_CHECKOK(mp_toradix(&group->genx, s, 16)); 195 (&order_1, &group->genx, &group->geny, &rx, &ry, group)); 204 if ((mp_cmp(&rx, &group->genx) != 0) 216 (&order_1, &group->genx, &group->geny, &rx, &ry, group)); 225 if ((mp_cmp(&rx, &group->genx) != 0) 270 (&group->order, &group->genx, &group->geny, &rx, &ry, 289 (&group->order, &group->genx, &group->geny, &rx, &ry, 380 (&n, &group->genx, [all...] |
H A D | ec2_test.c | 170 MP_CHECKOK(group->meth->field_dec(&group->genx, &gx, group->meth)); 173 MP_CHECKOK(mp_copy(&group->genx, &gx)); 186 MP_CHECKOK(mp_toradix(&group->genx, s, 16)); 197 (&order_1, &group->genx, &group->geny, &rx, &ry, group)); 206 if ((mp_cmp(&rx, &group->genx) != 0) 217 (&order_1, &group->genx, &group->geny, &rx, &ry, group)); 226 if ((mp_cmp(&rx, &group->genx) != 0) 237 (&order_1, &group->genx, &group->geny, &rx, &ry, group)); 246 if ((mp_cmp(&rx, &group->genx) != 0) 291 (&group->order, &group->genx, [all...] |
H A D | ecl-exp.h | 64 char *genx; member in struct:ECCurveParamsStr
|
H A D | ecl_mult.c | 85 point_mul(&kt, &group->genx, &group->geny, rx, ry, 221 MP_CHECKOK(mp_copy(&group->genx, &precomp[0][1][0])); 226 MP_CHECKOK(mp_copy(&group->genx, &precomp[1][0][0]));
|
H A D | ecdecode.c | 139 strcat(genenc, curveParams->genx);
|
H A D | ecl-priv.h | 174 mp_int genx, geny; member in struct:ECGroupStr
|
H A D | ecp_jac.c | 469 MP_CHECKOK(mp_copy(&group->genx, &precomp[0][1][0])); 474 MP_CHECKOK(mp_copy(&group->genx, &precomp[1][0][0]));
|