Searched refs:cofactor (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/common/crypto/ecc/
H A Decl.c103 const mp_int *geny, const mp_int *order, int cofactor)
122 group->cofactor = cofactor;
144 const mp_int *geny, const mp_int *order, int cofactor)
165 group->cofactor = cofactor;
189 const mp_int *order, int cofactor)
208 group->cofactor = cofactor;
272 &order, params->cofactor);
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
[all...]
H A Dec.c184 group = ECGroup_consGFp(&irreducible, &a, &b, &Gx, &Gy, &order, params->cofactor);
192 group = ECGroup_consGF2m(&irreducible, irr_arr, &a, &b, &Gx, &Gy, &order, params->cofactor);
308 key->ecParams.cofactor = ecParams->cofactor;
462 * X9.62. The ECDH primitive when used without the cofactor does
547 ** cofactor) and returns the x-coordinate of the resulting elliptic
566 mp_int cofactor; local
588 if (withCofactor && (ecParams->cofactor != 1)) {
589 /* multiply k with the cofactor */
590 MP_DIGITS(&cofactor)
[all...]
H A Decl-exp.h67 int cofactor; member in struct:ECCurveParamsStr
H A Decdecode.c144 params->cofactor = curveParams->cofactor;
187 params->cofactor = 0;
567 if (!params->cofactor) {
H A Decl_curve.c127 ret->cofactor = params->cofactor;
H A Decc_impl.h175 int cofactor; member in struct:ECParamsStr
H A Decl-priv.h175 /* Order and cofactor of the base point. */
177 int cofactor; member in struct:ECGroupStr

Completed in 307 milliseconds