Home
last modified time | relevance | path

Searched refs:bnC (Results 1 – 3 of 3) sorted by relevance

/external/tpm2/
DMathFunctions.c449 BIGNUM *bnC; in _math__ModExp() local
458 bnC = BN_CTX_get(context); in _math__ModExp()
478 if(!(BN_mod_exp(bnC, bnM, bnE, bnN, context))) in _math__ModExp()
482 if((unsigned)BN_num_bytes(bnC) > cSize) in _math__ModExp()
487 i = cSize - BN_num_bytes(bnC); in _math__ModExp()
488 BN_bn2bin(bnC, &c[i]); in _math__ModExp()
DCpriECC.c1177 BIGNUM *bnC = BN_new(); in cmp_bn2hex() local
1178 pAssert(bnC != NULL); in cmp_bn2hex()
1179 BN_hex2bn(&bnC, c); in cmp_bn2hex()
1180 result = BN_ucmp(bn, bnC); in cmp_bn2hex()
1181 BN_free(bnC); in cmp_bn2hex()
Dpart4.txt26051 337 BIGNUM *bnC;
26061 347 bnC = BN_CTX_get(context);
26089 370 if(!(BN_mod_exp(bnC, bnM, bnE, bnN, context)))
26094 375 if((unsigned)BN_num_bytes(bnC) > cSize)
26099 380 i = cSize - BN_num_bytes(bnC);
26100 381 BN_bn2bin(bnC, &c[i]);
34432 1060 BIGNUM *bnC = BN_new();
34433 1061 pAssert(bnC != NULL);
34435 1063 BN_hex2bn(&bnC, c);
34436 1064 result = BN_ucmp(bn, bnC);
[all …]