Lines Matching refs:poly
63 group->poly[0] = 0;
64 group->poly[1] = 0;
65 group->poly[2] = 0;
66 group->poly[3] = 0;
67 group->poly[4] = 0;
68 group->poly[5] = -1;
83 dest->poly[0] = src->poly[0];
84 dest->poly[1] = src->poly[1];
85 dest->poly[2] = src->poly[2];
86 dest->poly[3] = src->poly[3];
87 dest->poly[4] = src->poly[4];
88 dest->poly[5] = src->poly[5];
89 if (bn_wexpand(dest->a, (int)(dest->poly[0] + BN_BITS2 - 1) / BN_BITS2) ==
92 if (bn_wexpand(dest->b, (int)(dest->poly[0] + BN_BITS2 - 1) / BN_BITS2) ==
110 i = BN_GF2m_poly2arr(group->field, group->poly, 6) - 1;
117 if (!BN_GF2m_mod_arr(group->a, a, group->poly))
119 if (bn_wexpand(group->a, (int)(group->poly[0] + BN_BITS2 - 1) / BN_BITS2)
125 if (!BN_GF2m_mod_arr(group->b, b, group->poly))
127 if (bn_wexpand(group->b, (int)(group->poly[0] + BN_BITS2 - 1) / BN_BITS2)
201 if (!BN_GF2m_mod_arr(b, group->b, group->poly))
698 return BN_GF2m_mod_mul_arr(r, a, b, group->poly, ctx);
705 return BN_GF2m_mod_sqr_arr(r, a, group->poly, ctx);