Home
last modified time | relevance | path

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

/external/tpm2/
DCpriRSA.c44 BIGNUM *bnQr; in RsaPrivateExponent() local
58 bnQr = BN_CTX_get(context); in RsaPrivateExponent()
59 if(bnQr == NULL) in RsaPrivateExponent()
76 if (BN_div(bnQ, bnQr, bnN, bnP, context) != 1) in RsaPrivateExponent()
79 if(BN_num_bytes(bnQr) != 0 || BN_num_bits(bnQ) != BN_num_bits(bnP)) in RsaPrivateExponent()
149 BIGNUM *bnQr; in _cpri__TestKeyRSA() local
169 bnQr = BN_CTX_get(context); // n mod p in _cpri__TestKeyRSA()
170 if(bnQr == NULL) in _cpri__TestKeyRSA()
208 if(BN_div(bnQ, bnQr, bnN, bnP, context) != 1) in _cpri__TestKeyRSA()
211 if(BN_num_bytes(bnQr) != 0 || BN_num_bits(bnQ) != BN_num_bits(bnP)) in _cpri__TestKeyRSA()