Searched refs:totient (Results 1 - 1 of 1) sorted by relevance

/external/boringssl/src/crypto/fipsmodule/rsa/
H A Drsa_impl.c952 BIGNUM *totient = BN_CTX_get(ctx); local
957 if (totient == NULL || pm1 == NULL || qm1 == NULL || gcd == NULL ||
1023 // use d (mod p-1) and d (mod q-1) as exponents. Using a minimal totient
1027 !BN_mul(totient, pm1, qm1, ctx) ||
1029 !BN_div(totient, NULL, totient, gcd, ctx) ||
1030 !BN_mod_inverse(rsa->d, rsa->e, totient, ctx)) {

Completed in 86 milliseconds