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

/external/chromium_org/third_party/boringssl/src/crypto/rsa/
H A Drsa.c618 BIGNUM *totient, *rem, *multiple, *p_plus_q, *p_minus_q; local
642 totient = BN_CTX_get(ctx);
648 if (totient == NULL || rem == NULL || multiple == NULL || p_plus_q == NULL ||
655 if (!BN_mul(totient, rsa->e, rsa->d, ctx) ||
656 !BN_sub_word(totient, 1) ||
664 * which the totient cannot be. So we add one to the estimate.
675 !BN_div(multiple, NULL, totient, rsa->n, ctx) ||
677 !BN_div(totient, rem, totient, multiple, ctx)) {
699 * n - totient
[all...]

Completed in 45 milliseconds