Searched refs:totient (Results 1 – 1 of 1) sorted by relevance
/external/boringssl/src/crypto/rsa/ |
D | rsa.c | 666 BIGNUM *totient, *rem, *multiple, *p_plus_q, *p_minus_q; in RSA_recover_crt_params() local 694 totient = BN_CTX_get(ctx); in RSA_recover_crt_params() 700 if (totient == NULL || rem == NULL || multiple == NULL || p_plus_q == NULL || in RSA_recover_crt_params() 707 if (!BN_mul(totient, rsa->e, rsa->d, ctx) || in RSA_recover_crt_params() 708 !BN_sub_word(totient, 1) || in RSA_recover_crt_params() 727 !BN_div(multiple, NULL, totient, rsa->n, ctx) || in RSA_recover_crt_params() 729 !BN_div(totient, rem, totient, multiple, ctx)) { in RSA_recover_crt_params() 752 if (!BN_sub(p_plus_q, rsa->n, totient) || in RSA_recover_crt_params()
|