提交 b9e54e98 编写于 作者: K Kurt Roeckx

Fix inconsisten use of bit vs bits

Reviewed-by: NTim Hudson <tjh@openssl.org>
GH: #6794
上级 9e4c9777
...@@ -103,8 +103,8 @@ probabilistic primality test with B<nchecks> iterations. If ...@@ -103,8 +103,8 @@ probabilistic primality test with B<nchecks> iterations. If
B<nchecks == BN_prime_checks>, a number of iterations is used that B<nchecks == BN_prime_checks>, a number of iterations is used that
yields a false positive rate of at most 2^-64 for random input. yields a false positive rate of at most 2^-64 for random input.
The error rate depends on the size of the prime and goes down for bigger primes. The error rate depends on the size of the prime and goes down for bigger primes.
The rate is 2^-80 starting at 308 bits, 2^-112 at 852 bit, 2^-128 at 1080 bits, The rate is 2^-80 starting at 308 bits, 2^-112 at 852 bits, 2^-128 at 1080 bits,
2^-192 at 3747 bit and 2^-256 at 6394 bit. 2^-192 at 3747 bits and 2^-256 at 6394 bits.
When the source of the prime is not random or not trusted, the number When the source of the prime is not random or not trusted, the number
of checks needs to be much higher to reach the same level of assurance: of checks needs to be much higher to reach the same level of assurance:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册