Searched defs:gx (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/common/crypto/ecc/
H A Dec2_test.c151 mp_int one, order_1, gx, gy, rx, ry, n; local
159 MP_CHECKOK(mp_init(&gx, kmflag));
170 MP_CHECKOK(group->meth->field_dec(&group->genx, &gx, group->meth));
173 MP_CHECKOK(mp_copy(&group->genx, &gx));
180 MP_CHECKOK(mp_toradix(&gx, s, 16));
265 if ((mp_cmp(&rx, &gx) != 0) || (mp_cmp(&ry, &gy) != 0)) {
273 MP_CHECKOK(ECPoint_mul(group, &order_1, &gx, &gy, &rx, &ry));
282 if ((mp_cmp(&rx, &gx) != 0) || (mp_cmp(&ry, &gy) != 0)) {
359 MP_CHECKOK(ECPoint_mul(group, &group->order, &gx, &gy, &rx, &ry));
375 (group, &order_1, &order_1, &gx,
[all...]
H A Decp_test.c150 mp_int one, order_1, gx, gy, rx, ry, n; local
158 MP_CHECKOK(mp_init(&gx, kmflag));
169 MP_CHECKOK(group->meth->field_dec(&group->genx, &gx, group->meth));
172 MP_CHECKOK(mp_copy(&group->genx, &gx));
178 MP_CHECKOK(mp_toradix(&gx, s, 16));
244 if ((mp_cmp(&rx, &gx) != 0) || (mp_cmp(&ry, &gy) != 0)) {
252 MP_CHECKOK(ECPoint_mul(group, &order_1, &gx, &gy, &rx, &ry));
261 if ((mp_cmp(&rx, &gx) != 0) || (mp_cmp(&ry, &gy) != 0)) {
321 MP_CHECKOK(ECPoint_mul(group, &group->order, &gx, &gy, &rx, &ry));
337 (group, &order_1, &order_1, &gx,
[all...]
/illumos-gate/usr/src/common/mpi/
H A Dmpi.c1937 mp_int gx, xc, yc, u, v, A, B, C, D; local
1950 MP_CHECKOK( mp_init(&gx, FLAG(a)) );
1951 clean[++last] = &gx;
1967 mp_set(&gx, 1);
1976 MP_CHECKOK( s_mp_mul_2d(&gx,n) );
2030 MP_CHECKOK( mp_mul(&gx, &v, g) );

Completed in 82 milliseconds