• B
    Integrate my implementation of a countermeasure against · 35ed8cb8
    Bodo Möller 提交于
    Bleichenbacher's DSA attack.  With this implementation, the expected
    number of iterations never exceeds 2.
    
    New semantics for BN_rand_range():
    BN_rand_range(r, min, range) now generates r such that
         min <= r < min+range.
    (Previously, BN_rand_range(r, min, max) generated r such that
         min <= r < max.
    It is more convenient to have the range; also the previous
    prototype was misleading because max was larger than
    the actual maximum.)
    35ed8cb8
BN_rand.pod 1.6 KB