Lines Matching refs:bnB
153 BIGNUM *bnB; in EccCurveInit() local
167 bnB = BN_CTX_get(context); in EccCurveInit()
177 BnFrom2B(bnB, curveData->b); in EccCurveInit()
184 ok = ( (group = EC_GROUP_new_curve_GFp(bnP, bnA, bnB, groupContext)) != NULL in EccCurveInit()
272 BIGNUM *bnB, // IN: scalar for [B]P in PointMul() argument
276 if(EC_POINT_mul(group, ecpQ, bnA, ecpP, bnB, context) != 1) in PointMul()
599 BIGNUM *bnB; in _cpri__EccIsPointOnCurve() local
611 bnB = BN_CTX_get(context); in _cpri__EccIsPointOnCurve()
622 || !BN_bin2bn(curveData->b->buffer, curveData->b->size, bnB) in _cpri__EccIsPointOnCurve()
631 || !BN_mod_add(bnA, bnA, bnB, bnP, context) in _cpri__EccIsPointOnCurve()
1210 BIGNUM *bnB = BN_new(); in cpy_hexTo2B() local
1213 BN_hex2bn(&bnB, c); in cpy_hexTo2B()
1214 pAssert(bnB != NULL); in cpy_hexTo2B()
1215 BnTo2B(b, bnB, b->size); in cpy_hexTo2B()
1216 BN_free(bnB); in cpy_hexTo2B()