summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_prime.c
AgeCommit message (Expand)Author
2020-03-31Update copyright yearMatt Caswell
2020-03-19Merge probable_prime_dh_safe with bn_probable_prime_dhBernd Edlinger
2020-03-19Add a parameter to probable_prime if we look for a safe primeBernd Edlinger
2019-09-27Reorganize local header filesDr. Matthias St. Pierre
2019-07-07Fix an endless loop in BN_generate_prime_exBernd Edlinger
2019-05-28Update copyright yearRichard Levitte
2019-03-19Added NULL check to BN_clear() & BN_CTX_end()Shane Lontis
2018-06-22Fixed range of random produced in BN_is_prime_fasttest_ex() to be 1 < rand < ...Shane Lontis
2018-04-03Update copyright yearMatt Caswell
2018-04-02Use the private RNG for data that is not publicKurt Roeckx
2017-10-18Remove parentheses of return.KaoruToda
2017-10-09Since return is inconsistent, I removed unnecessary parentheses andKaoruToda
2017-08-03Add RAND_priv_bytes() for private keysRich Salz
2017-07-03BN_pseudo_rand is really BN_randRich Salz
2017-06-26Fix inaccurate comments in bn_prime.cPaul Yang
2017-04-21Numbers greater than 1 are usually non-negative.David Benjamin
2017-04-20Small primes are primes too.Adam Langley
2017-02-28Remove dead code in bnMatt Caswell
2016-11-15Check return value of some BN functions.Rich Salz
2016-08-10Change callers to use the new constants.Rich Salz
2016-06-29Whitespace cleanup in cryptoFdaSilvaYY
2016-06-25Handle BN_mod_word failures.David Benjamin
2016-06-18Useless header include of openssl/rand.hFdaSilvaYY
2016-06-13Add some missing return value checksMatt Caswell
2016-05-17Copyright consolidation 06/10Rich Salz
2016-04-28Don't leak memory on error in BN_generate_prime_exMatt Caswell
2016-01-28Restore NUMPRIMES as a numeric literalViktor Dukhovni
2016-01-27Remove EIGHT_BIT and SIXTEEN_BITRich Salz
2016-01-26Remove /* foo.c */ commentsRich Salz
2015-09-05RT3955: Reduce some stack usageRich Salz
2015-05-14Identify and move common internal libcrypto header filesRichard Levitte
2015-04-30free NULL cleanup 7Rich Salz
2015-03-17Fix probable_prime over large shiftMatt Caswell
2015-01-22Re-align some comments after running the reformat script.Matt Caswell
2015-01-22Run util/openssl-format-source -v -c .Matt Caswell
2014-12-30mark all block comments that need format preserving so thatTim Hudson
2014-06-01Tidy up, don't exceed the number of requested bits.Ben Laurie
2014-06-01Constify and reduce coprime random bits to allow for multiplier.Ben Laurie
2014-06-01Add a test to check we're really generating probable primes.Felix Laurie von Massenbach
2014-06-01Remove unused BIGNUMs.Felix Laurie von Massenbach
2014-06-01Refactor the first prime index.Felix Laurie von Massenbach
2014-06-01Try skipping over the adding and just picking a new random number.Felix Laurie von Massenbach
2014-06-01Generate safe primes not divisible by 3, 5 or 7.Felix Laurie von Massenbach
2014-06-01Add a method to generate a prime that is guaranteed not to be divisible by 3 ...Felix Laurie von Massenbach
2014-06-01Remove static from probable_prime_dh.Felix Laurie von Massenbach
2014-06-01Remove indentation from the goto targets.Felix Laurie von Massenbach
2013-06-04Ensure that, when generating small primes, the result is actually of theAdam Langley
2007-09-18Minimize stack utilization in probable_prime.Andy Polyakov
2006-09-18Ensure that the addition mods[i]+delta cannot overflow in probable_prime().Bodo Möller
2006-01-132 is a primeNils Larsch