/osnet-11/usr/src/common/crypto/ecc/ |
H A D | ecl_gf.c | 70 MP_DIGITS(&meth->irr) = 0; 72 MP_CHECKOK(mp_init(&meth->irr, kmflag)); 83 * irreducible irr. */ 85 GFMethod_consGFp(const mp_int *irr) argument 90 meth = GFMethod_new(FLAG(irr)); 94 MP_CHECKOK(mp_copy(irr, &meth->irr)); 95 meth->irr_arr[0] = mpl_significant_bits(irr); 98 switch(MP_USED(&meth->irr)) { 140 * fields with irreducible irr tha 144 GFMethod_consGF2m(const mp_int *irr, const unsigned int irr_arr[5]) argument [all...] |
H A D | ecl.c | 99 ECGroup_consGFp(const mp_int *irr, const mp_int *curvea, argument 106 group = ECGroup_new(FLAG(irr)); 110 group->meth = GFMethod_consGFp(irr); 140 ECGroup_consGFp_mont(const mp_int *irr, const mp_int *curvea, argument 147 group = ECGroup_new(FLAG(irr)); 151 group->meth = GFMethod_consGFp_mont(irr); 184 ECGroup_consGF2m(const mp_int *irr, const unsigned int irr_arr[5], argument 192 group = ECGroup_new(FLAG(irr)); 196 group->meth = GFMethod_consGF2m(irr, irr_arr); 230 mp_int irr, curve local [all...] |
H A D | ecl.h | 64 ECGroup *ECGroup_consGFp(const mp_int *irr, const mp_int *curvea, 72 ECGroup *ECGroup_consGFp_mont(const mp_int *irr, const mp_int *curvea, 80 ECGroup *ECGroup_consGF2m(const mp_int *irr, const unsigned int irr_arr[5],
|
H A D | ecl_curve.c | 79 if (params->irr != NULL) { 81 ret->irr = kmem_alloc(strlen(params->irr) + 1, kmflag); 82 bcopy(params->irr, ret->irr, strlen(params->irr) + 1); 84 CHECK(ret->irr = strdup(params->irr)); 163 if (params->irr != NULL) 165 kmem_free(params->irr, strle [all...] |
H A D | ecp_mont.c | 61 * irreducible irr. */ 63 GFMethod_consGFp_mont(const mp_int *irr) argument 70 meth = GFMethod_consGFp(irr); 76 FLAG(irr)); 94 mmm->N = meth->irr; 95 i = mpl_significant_bits(&meth->irr); 98 mmm->n0prime = 0 - s_mp_invmod_radix(MP_DIGIT(&meth->irr, 0));
|
H A D | ecp_521.c | 83 MP_CHECKOK(mp_mod(a, &meth->irr, r)); 153 return mp_invmod(b, &meth->irr, r); 158 MP_CHECKOK(mp_invmod(b, &meth->irr, &t));
|
H A D | ecp_test.c | 241 MP_CHECKOK(mp_submod(&group->meth->irr, &ry, &group->meth->irr, &ry)); 258 MP_CHECKOK(mp_submod(&group->meth->irr, &ry, &group->meth->irr, &ry)); 345 MP_CHECKOK(mp_submod(&group->meth->irr, &ry, &group->meth->irr, &ry)); 367 size = mpl_significant_bits(&group->meth->irr);
|
H A D | ecp_256.c | 83 MP_CHECKOK(mp_mod(a, &meth->irr, r)); 248 MP_CHECKOK(mp_sub(r, &meth->irr, r)); 255 MP_CHECKOK(mp_add(r, &meth->irr, r)); 258 MP_CHECKOK(mp_sub(r, &meth->irr, r)); 262 if (MP_DIGIT(r,7) >= MP_DIGIT(&meth->irr,7)) { 263 if (mp_cmp(r,&meth->irr) != MP_LT) { 264 MP_CHECKOK(mp_sub(r, &meth->irr, r)); 388 MP_CHECKOK(mp_sub(r, &meth->irr, r));
|
H A D | ecl-exp.h | 61 char *irr; member in struct:ECCurveParamsStr
|
H A D | ecp_384.c | 90 MP_CHECKOK(mp_mod(a, &meth->irr, r)); 185 MP_CHECKOK(mp_submod(r, &m[9], &meth->irr, r)); 192 MP_CHECKOK(mp_mod(a, &meth->irr, r)); 254 MP_CHECKOK(mp_submod(r, &m[9], &meth->irr, r));
|
H A D | ecl-priv.h | 121 mp_int irr; member in struct:GFMethodStr 153 GFMethod *GFMethod_consGFp(const mp_int *irr); 154 GFMethod *GFMethod_consGFp_mont(const mp_int *irr); 155 GFMethod *GFMethod_consGF2m(const mp_int *irr,
|
H A D | ecp_192.c | 88 MP_CHECKOK(mp_mod(a, &meth->irr, r)); 496 return mp_invmod(b, &meth->irr, r); 501 MP_CHECKOK(mp_invmod(b, &meth->irr, &t));
|
H A D | ecp_224.c | 86 MP_CHECKOK(mp_mod(a, &meth->irr, r)); 356 return mp_invmod(b, &meth->irr, r); 361 MP_CHECKOK(mp_invmod(b, &meth->irr, &t));
|
H A D | ec2_aff.c | 309 if ((MP_SIGN(px) == MP_NEG) || (mp_cmp(px, &group->meth->irr) >= 0) || 310 (MP_SIGN(py) == MP_NEG) || (mp_cmp(py, &group->meth->irr) >= 0)) {
|
H A D | ecdecode.c | 125 curveParams->irr, kmflag)); 128 curveParams->irr, kmflag));
|
H A D | ecp_aff.c | 322 if ((MP_SIGN(px) == MP_NEG) || (mp_cmp(px, &group->meth->irr) >= 0) || 323 (MP_SIGN(py) == MP_NEG) || (mp_cmp(py, &group->meth->irr) >= 0)) {
|
H A D | ec2_test.c | 405 size = mpl_significant_bits(&group->meth->irr);
|
H A D | ecp_jac.c | 311 MP_CHECKOK(mp_add(&t1, &group->meth->irr, &t1));
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Locale/ |
H A D | Currency.pm | 219 irr:Iranian Rial
|