• Home
  • Raw
  • Download

Lines Matching refs:CTX

171     BN_CTX          *CTX  in BnNewVariable()  argument
178 if((CTX == NULL) || ((new = BN_CTX_get(CTX)) == NULL)) in BnNewVariable()
192 BIGNUM *osslTemp = BnNewVariable(CTX); in MathLibraryCompatibilityCheck()
237 VERIFY(BN_mul(bnTemp, bnOp1, bnOp2, CTX)); in BnModMult()
238 VERIFY(BN_div(NULL, bnResult, bnTemp, bnMod, CTX)); in BnModMult()
266 VERIFY(BN_mul(bnTemp, bnA, bnB, CTX)); in BnMult()
299 VERIFY(BN_div(bnQ, bnR, bnDend, bnSor, CTX)); in BnDiv()
334 VERIFY(BN_gcd(bnGcd, bn1, bn2, CTX)); in BnGcd()
365 VERIFY(BN_mod_exp(bnResult, bnN, bnE, bnM, CTX)); in BnModExp()
393 VERIFY(BN_mod_inverse(bnResult, bnN, bnM, CTX) != NULL); in BnModInverse()
421 BN_CTX_start(E->CTX); in PointFromOssl()
423 x = BN_CTX_get(E->CTX); in PointFromOssl()
424 y = BN_CTX_get(E->CTX); in PointFromOssl()
429 OK = EC_POINT_get_affine_coordinates_GFp(E->G, pIn, x, y, E->CTX); in PointFromOssl()
438 BN_CTX_end(E->CTX); in PointFromOssl()
459 if(!EC_POINT_set_affine_coordinates_GFp(E->G, P, bnX, bnY, E->CTX)) in EcPointInitialized()
497 E->CTX = CTX; in BnCurveInitialize()
502 E->G = EC_GROUP_new_curve_GFp(bnP, bnA, bnB, CTX); in BnCurveInitialize()
511 VERIFY(EC_POINT_set_affine_coordinates_GFp(E->G, P, bnX, bnY, CTX)); in BnCurveInitialize()
537 OsslContextLeave(E->CTX); in BnCurveFree()
560 EC_POINT_mul(E->G, pR, bnD, NULL, NULL, E->CTX); in BnEccModMult()
562 EC_POINT_mul(E->G, pR, NULL, pS, bnD, E->CTX); in BnEccModMult()
590 EC_POINT_mul(E->G, pR, bnD, pQ, bnU, E->CTX); in BnEccModMult2()
618 EC_POINT_add(E->G, pR, pS, pQ, E->CTX); in BnEccAdd()