Lines Matching refs:bnX

110    BIGNUM             *bnX;  in Point2B()  local
113 bnX = BN_CTX_get(context); in Point2B()
117 || EC_POINT_get_affine_coordinates_GFp(group, ecP, bnX, bnY, context) != 1 in Point2B()
119 || (!BnTo2B(&p->x.b, bnX, size)) in Point2B()
154 BIGNUM *bnX; in EccCurveInit() local
168 bnX = BN_CTX_get(context); in EccCurveInit()
178 BnFrom2B(bnX, curveData->x); in EccCurveInit()
186 && EC_POINT_set_affine_coordinates_GFp(group, P, bnX, bnY, groupContext) in EccCurveInit()
215 BIGNUM *bnX; in PointFrom2B() local
221 bnX = BN_CTX_get(context); in PointFrom2B()
225 || BN_bin2bn(p->x.t.buffer, p->x.t.size, bnX) == NULL in PointFrom2B()
227 || !EC_POINT_set_affine_coordinates_GFp(group, ecP, bnX, bnY, context) in PointFrom2B()
593 BIGNUM *bnX; in _cpri__EccIsPointOnCurve() local
605 bnX = BN_CTX_get(context); in _cpri__EccIsPointOnCurve()
614 if ( !BN_bin2bn(Q->x.t.buffer, Q->x.t.size, bnX) in _cpri__EccIsPointOnCurve()
625 if( !BN_mod_mul(bnA, bnA, bnX, bnP, context) in _cpri__EccIsPointOnCurve()
630 || !BN_mod_exp(bnX, bnX, bn3, bnP, context) in _cpri__EccIsPointOnCurve()
632 || !BN_mod_add(bnX, bnX, bnA, bnP, context) in _cpri__EccIsPointOnCurve()
637 retVal = BN_cmp(bnX, bnY) == 0; in _cpri__EccIsPointOnCurve()
1785 BIGNUM *bnX, // IN/OUT: the reduced value in avf1() argument
1792 BN_mask_bits(bnX, f); // This is mod 2*2^f but it doesn't matter because in avf1()
1794 BN_set_bit(bnX, f); in avf1()
1934 BIGNUM *bnX, // IN/OUT: the reduced value in avfSm2() argument
1942 BN_mask_bits(bnX, w); // as wiht avf1, this is too big by a factor of 2 but in avfSm2()
1944 BN_set_bit(bnX, w); in avfSm2()