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

/illumos-gate/usr/src/common/crypto/ecc/
H A Decl_gf.c95 meth->irr_arr[0] = mpl_significant_bits(irr);
96 meth->irr_arr[1] = meth->irr_arr[2] = meth->irr_arr[3] =
97 meth->irr_arr[4] = 0;
140 * fields with irreducible irr that has array representation irr_arr (see
141 * ecl-priv.h for description of the representation). If irr_arr is NULL,
144 GFMethod_consGF2m(const mp_int *irr, const unsigned int irr_arr[5]) argument
155 if (irr_arr != NULL) {
157 meth->irr_arr[
[all...]
H A Dec2_163.c142 return mp_bsqrmod(a, meth->irr_arr, r);
150 return mp_bsqrmod(a, meth->irr_arr, r);
H A Dec2_193.c150 return mp_bsqrmod(a, meth->irr_arr, r);
158 return mp_bsqrmod(a, meth->irr_arr, r);
H A Dec.c93 unsigned int irr_arr[5];
187 irr_arr[0] = params->fieldID.size;
188 irr_arr[1] = params->fieldID.k1;
189 irr_arr[2] = params->fieldID.k2;
190 irr_arr[3] = params->fieldID.k3;
191 irr_arr[4] = 0;
192 group = ECGroup_consGF2m(&irreducible, irr_arr, &a, &b, &Gx, &Gy, &order, params->cofactor);
H A Dec2_233.c166 return mp_bsqrmod(a, meth->irr_arr, r);
174 return mp_bsqrmod(a, meth->irr_arr, r);
H A Decl-priv.h122 /* For prime fields, the value irr_arr[0] is the number of bits in the
127 unsigned int irr_arr[5]; member in struct:GFMethodStr
156 const unsigned int irr_arr[5]);
H A Decl.c186 ECGroup_consGF2m(const mp_int *irr, const unsigned int irr_arr[5], argument
198 group->meth = GFMethod_consGF2m(irr, irr_arr);

Completed in 72 milliseconds