Home
last modified time | relevance | path

Searched refs:bnR (Results 1 – 3 of 3) 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()
530 if((retVal = PointMul(group, pL, NULL, pB, bnR, context)) != CRYPT_SUCCESS) in _cpri__EccCommitCompute()
551 retVal = PointMul(group, pE, NULL, pM, bnR, context); in _cpri__EccCommitCompute()
555 retVal = PointMul(group, pE, bnR, NULL, NULL, context); in _cpri__EccCommitCompute()
801 BIGNUM *bnR; in SignEcdsa() local
817 bnR = BN_CTX_get(context); in SignEcdsa()
861 BN_bin2bn(R.x.t.buffer, R.x.t.size, bnR); in SignEcdsa()
862 BN_mod(bnR, bnR, bnN, context); in SignEcdsa()
[all …]
DMathFunctions.c286 BIGNUM *bnR; in _math__Div() local
297 bnR = BN_CTX_get(context); in _math__Div()
299 if ( bnR == NULL in _math__Div()
307 if (BN_div(bnQ, bnR, bnN, bnD, context) != 1) in _math__Div()
320 if(!BnTo2B(r, bnR, r->size)) in _math__Div()
Dpart4.txt25862 204 BIGNUM *bnR;
25879 216 bnR = BN_CTX_get(context);
25882 219 if ( bnR == NULL
25892 229 if (BN_div(bnQ, bnR, bnN, bnD, context) != 1)
25906 243 if(!BnTo2B(r, bnR, r->size))
33611 381 BIGNUM *bnX, *bnY, *bnR, *bnD;
33627 397 bnR = BN_CTX_get(context);
33650 420 BnFrom2B(bnR, &r->b);
33683 448 if((retVal = PointMul(group, pL, NULL, pB, bnR, context)) != CRYPT_SUCCESS)
33707 472 retVal = PointMul(group, pE, NULL, pM, bnR, context);
[all …]