Searched refs:p_plus_q (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 697 p_plus_q = 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() 752 if (!BN_sub(p_plus_q, rsa->n, totient) || in RSA_recover_crt_params() 753 !BN_add_word(p_plus_q, 1) || in RSA_recover_crt_params() 755 !BN_sqr(rem, p_plus_q, ctx) || in RSA_recover_crt_params() 760 !BN_sub(rsa->q, p_plus_q, p_minus_q) || in RSA_recover_crt_params()
|