Generate safe primes not divisible by 3, 5 or 7.
authorFelix Laurie von Massenbach <felix@erbridge.co.uk>
Tue, 27 May 2014 01:12:59 +0000 (02:12 +0100)
committerBen Laurie <ben@links.org>
Sun, 1 Jun 2014 14:31:26 +0000 (15:31 +0100)
commitc09ec5d2a0e368b18efc1cbf2444fdb37ca7270b
tree2ee78e4877b8f73b76040a7c9e61f0d65bc80baa
parentb0513819e043b13692c9e923adf5aafa26cddec0
Generate safe primes not divisible by 3, 5 or 7.

~2% speed improvement on trial division.
apps/speed.c
crypto/bn/bn_lcl.h
crypto/bn/bn_prime.c