Searched refs:p_plus_q (Results 1 – 1 of 1) sorted by relevance
/external/boringssl/src/crypto/rsa/ |
D | rsa.c | 612 BIGNUM *totient, *rem, *multiple, *p_plus_q, *p_minus_q; in RSA_recover_crt_params() local 639 p_plus_q = 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() 694 if (!BN_sub(p_plus_q, rsa->n, totient) || in RSA_recover_crt_params() 695 !BN_add_word(p_plus_q, 1) || in RSA_recover_crt_params() 697 !BN_sqr(rem, p_plus_q, ctx) || in RSA_recover_crt_params() 702 !BN_sub(rsa->q, p_plus_q, p_minus_q) || in RSA_recover_crt_params()
|