Matt Caswell
|
1fef2f8050
Remove dead code in bn
|
7 vuotta sitten |
Rich Salz
|
78e09b53a4
Check return value of some BN functions.
|
8 vuotta sitten |
Rich Salz
|
2301d91dd5
Change callers to use the new constants.
|
8 vuotta sitten |
FdaSilvaYY
|
02e112a885
Whitespace cleanup in crypto
|
8 vuotta sitten |
David Benjamin
|
d70a562714
Handle BN_mod_word failures.
|
8 vuotta sitten |
FdaSilvaYY
|
823146d65f
Useless header include of openssl/rand.h
|
8 vuotta sitten |
Matt Caswell
|
d356dc5619
Add some missing return value checks
|
8 vuotta sitten |
Rich Salz
|
4f22f40507
Copyright consolidation 06/10
|
8 vuotta sitten |
Matt Caswell
|
d71eb667c4
Don't leak memory on error in BN_generate_prime_ex
|
8 vuotta sitten |
Viktor Dukhovni
|
7eba4e6207
Restore NUMPRIMES as a numeric literal
|
8 vuotta sitten |
Rich Salz
|
b4f35e5e07
Remove EIGHT_BIT and SIXTEEN_BIT
|
8 vuotta sitten |
Rich Salz
|
349807608f
Remove /* foo.c */ comments
|
9 vuotta sitten |
Rich Salz
|
8e704858f2
RT3955: Reduce some stack usage
|
9 vuotta sitten |
Richard Levitte
|
b39fc56061
Identify and move common internal libcrypto header files
|
9 vuotta sitten |
Rich Salz
|
23a1d5e97c
free NULL cleanup 7
|
9 vuotta sitten |
Matt Caswell
|
e4676e900f
Fix probable_prime over large shift
|
9 vuotta sitten |
Matt Caswell
|
50e735f9e5
Re-align some comments after running the reformat script.
|
9 vuotta sitten |
Matt Caswell
|
0f113f3ee4
Run util/openssl-format-source -v -c .
|
9 vuotta sitten |
Tim Hudson
|
1d97c84351
mark all block comments that need format preserving so that
|
10 vuotta sitten |
Ben Laurie
|
c93233dbfd
Tidy up, don't exceed the number of requested bits.
|
10 vuotta sitten |
Ben Laurie
|
46838817c7
Constify and reduce coprime random bits to allow for multiplier.
|
10 vuotta sitten |
Felix Laurie von Massenbach
|
8927c2786d
Add a test to check we're really generating probable primes.
|
10 vuotta sitten |
Felix Laurie von Massenbach
|
9a3a99748b
Remove unused BIGNUMs.
|
10 vuotta sitten |
Felix Laurie von Massenbach
|
c74e148776
Refactor the first prime index.
|
10 vuotta sitten |
Felix Laurie von Massenbach
|
982c42cb20
Try skipping over the adding and just picking a new random number.
|
10 vuotta sitten |
Felix Laurie von Massenbach
|
c09ec5d2a0
Generate safe primes not divisible by 3, 5 or 7.
|
10 vuotta sitten |
Felix Laurie von Massenbach
|
b0513819e0
Add a method to generate a prime that is guaranteed not to be divisible by 3 or 5.
|
10 vuotta sitten |
Felix Laurie von Massenbach
|
e46a059ebf
Remove static from probable_prime_dh.
|
10 vuotta sitten |
Felix Laurie von Massenbach
|
e55fca760b
Remove indentation from the goto targets.
|
10 vuotta sitten |
Adam Langley
|
96a4c31be3
Ensure that, when generating small primes, the result is actually of the
|
11 vuotta sitten |