Codebase list openssl / 0d67102
consttime flag changed Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Kurt Roeckx <kurt@roeckx.be> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5170) (cherry picked from commit 7150a4720af7913cae16f2e4eaf768b578c0b298) Samuel Weiser authored 6 years ago Matt Caswell committed 6 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
155155 if (BN_copy(rsa->e, e_value) == NULL)
156156 goto err;
157157
158 BN_set_flags(rsa->e, BN_FLG_CONSTTIME);
158 BN_set_flags(r2, BN_FLG_CONSTTIME);
159159 /* generate p and q */
160160 for (;;) {
161161 if (!BN_generate_prime_ex(rsa->p, bitsp, 0, NULL, NULL, cb))