summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2000-09-19 23:25:00 +0000
committerBodo Möller <bodo@openssl.org>2000-09-19 23:25:00 +0000
commitfe03519704d5f533722e061009ca079e7217cfd2 (patch)
treef5b344f73719a46269834d13a2c06e2c544563c8 /test
parentb004872c5959f8921571dd3d6164672faee13f97 (diff)
Totally remove the supposedly 'faster' variant in
BN_mod_mul_montgomery, which calls bn_sqr_recursive without much preparation. bn_sqr_recursive requires the length of its argument to be a power of 2, which is not always the case here. There's no reason for not using BN_sqr -- if a simpler approach to squaring made sense, then why not change BN_sqr? (Using BN_sqr should also speed up DH where g is chosen such that it becomes small [e.g., 2] when converted to Montgomery representation.) Case closed :-)
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions