Home
last modified time | relevance | path

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

/external/tpm2/
DCpriRSA.c42 BIGNUM *bnPhi; in RsaPrivateExponent() local
56 bnPhi = BN_CTX_get(context); in RsaPrivateExponent()
85 if( BN_copy(bnPhi, bnN) == NULL in RsaPrivateExponent()
86 || !BN_sub(bnPhi, bnPhi, bnP) in RsaPrivateExponent()
87 || !BN_sub(bnPhi, bnPhi, bnQ) in RsaPrivateExponent()
88 || !BN_add_word(bnPhi, 1)) in RsaPrivateExponent()
92 if(BN_mod_inverse(bnD, bnE, bnPhi, context) == NULL) in RsaPrivateExponent()
147 BIGNUM *bnPhi; in _cpri__TestKeyRSA() local
167 bnPhi = BN_CTX_get(context); // (p-1)(q-1) in _cpri__TestKeyRSA()
213 BN_copy(bnPhi, bnN); in _cpri__TestKeyRSA()
[all …]
Dpart4.txt28868 14 BIGNUM *bnPhi;
28890 31 bnPhi = BN_CTX_get(context);
28925 66 if( BN_copy(bnPhi, bnN) == NULL
28926 67 || !BN_sub(bnPhi, bnPhi, bnP)
28927 68 || !BN_sub(bnPhi, bnPhi, bnQ)
28928 69 || !BN_add_word(bnPhi, 1))
28933 74 if(BN_mod_inverse(bnD, bnE, bnPhi, context) == NULL)
28997 118 BIGNUM *bnPhi;
29026 142 bnPhi = BN_CTX_get(context); // (p-1)(q-1)
29080 196 BN_copy(bnPhi, bnN);
[all …]