Home
last modified time | relevance | path

Searched refs:bnR (Results 1 – 2 of 2) sorted by relevance

/external/tpm2/
DCpriECC.c474 BIGNUM *bnY, *bnR, *bnD; in _cpri__EccCommitCompute() local
488 bnR = BN_CTX_get(context); in _cpri__EccCommitCompute()
506 BnFrom2B(bnR, &r->b); in _cpri__EccCommitCompute()
533 if((retVal = PointMul(group, pL, NULL, pB, bnR, context)) != CRYPT_SUCCESS) in _cpri__EccCommitCompute()
554 retVal = PointMul(group, pE, NULL, pM, bnR, context); in _cpri__EccCommitCompute()
558 retVal = PointMul(group, pE, bnR, NULL, NULL, context); in _cpri__EccCommitCompute()
804 BIGNUM *bnR; in SignEcdsa() local
820 bnR = BN_CTX_get(context); in SignEcdsa()
864 BN_bin2bn(R.x.t.buffer, R.x.t.size, bnR); in SignEcdsa()
865 BN_mod(bnR, bnR, bnN, context); in SignEcdsa()
[all …]
DMathFunctions.c289 BIGNUM *bnR; in _math__Div() local
300 bnR = BN_CTX_get(context); in _math__Div()
302 if ( bnR == NULL in _math__Div()
310 if (BN_div(bnQ, bnR, bnN, bnD, context) != 1) in _math__Div()
323 if(!BnTo2B(r, bnR, r->size)) in _math__Div()