Mercurial > dropbear
diff libtommath/bn_mp_montgomery_reduce.c @ 1013:a1e79ffa5862
Tighten validation of DH values. Odds of x==0 being generated are
improbable, roughly 2**-1023
Regression in 0.49
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 10 Feb 2015 21:46:19 +0800 |
parents | 5ff8218bcee9 |
children | 60fc6476e044 |