Remove obsolete TODO.
This has since been done. Change-Id: I498f845fa4ba3d1c04a5892831be4b07f31536d4 Reviewed-on: https://boringssl-review.googlesource.com/16124 Commit-Queue: David Benjamin <davidben@google.com> Commit-Queue: Steven Valdez <svaldez@google.com> Reviewed-by: Steven Valdez <svaldez@google.com> CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
This commit is contained in:
parent
873ebc9783
commit
f99d2c6141
@ -878,8 +878,7 @@ static int generate_prime(BIGNUM *out, int bits, const BIGNUM *e,
|
|||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
if (BN_is_one(tmp)) {
|
if (BN_is_one(tmp)) {
|
||||||
/* Test |out| for primality (steps 4.5.1 and 5.6.1).
|
/* Test |out| for primality (steps 4.5.1 and 5.6.1). */
|
||||||
* TODO(davidben): Align the primality test with FIPS 186-4. */
|
|
||||||
int is_probable_prime;
|
int is_probable_prime;
|
||||||
if (!BN_primality_test(&is_probable_prime, out, BN_prime_checks, ctx, 1,
|
if (!BN_primality_test(&is_probable_prime, out, BN_prime_checks, ctx, 1,
|
||||||
cb)) {
|
cb)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user