Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/rsa/
Drsa.c612 BIGNUM *totient, *rem, *multiple, *p_plus_q, *p_minus_q; in RSA_recover_crt_params() local
636 totient = BN_CTX_get(ctx); in RSA_recover_crt_params()
642 if (totient == NULL || rem == NULL || multiple == NULL || p_plus_q == NULL || in RSA_recover_crt_params()
649 if (!BN_mul(totient, rsa->e, rsa->d, ctx) || in RSA_recover_crt_params()
650 !BN_sub_word(totient, 1) || in RSA_recover_crt_params()
669 !BN_div(multiple, NULL, totient, rsa->n, ctx) || in RSA_recover_crt_params()
671 !BN_div(totient, rem, totient, multiple, ctx)) { in RSA_recover_crt_params()
694 if (!BN_sub(p_plus_q, rsa->n, totient) || in RSA_recover_crt_params()