summaryrefslogtreecommitdiff
path: root/crypto/bn/bn_prime.pl
Commit message (Collapse)AuthorAgeFilesLines
* Add a local perl module to get year last changedRich Salz2021-03-311-2/+6
| | | | | | | | | | | This is used for generating a more-correct copyright statement for the "build_generated" targets. Fixes: #13765 Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/13791)
* Update copyright yearMatt Caswell2020-04-231-1/+1
| | | | | Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/11616)
* Make generated copyright year be "now"Rich Salz2020-01-071-2/+2
| | | | | | | | | | | | Always use the current year in generating output files, rather than trying to base is on the modtime of the script or input, as that can vary depending on the ability of the local OS to keep those accurate. Fixes #10744 Reviewed-by: Shane Lontis <shane.lontis@oracle.com> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/10776)
* Update generator copyright year.Viktor Dukhovni2019-01-071-1/+1
| | | | | | | | | Some Travis builds appear to fail because generated objects get 2019 copyrights now, and the diff complains. Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/7986)
* Following the license change, modify the boilerplates in crypto/bn/Richard Levitte2018-12-061-2/+2
| | | | | | | [skip ci] Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/7777)
* Update copyright yearMatt Caswell2018-02-271-1/+1
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* Generate copyright year properlyRich Salz2018-02-131-1/+3
| | | | | | | | | Output copyright year depends on any input file(s) and the script. This is not perfect, but better than what we had. Also run 'make update' Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5350)
* Fix up bn_prime.pl formatting.David Benjamin2016-10-101-3/+3
| | | | | | | | Align at 5 characters, not 4. There are 5-digit numbers in the output. Also avoid emitting an extra blank line and trailing whitespace. Reviewed-by: Kurt Roeckx <kurt@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
* Manual fixes after copyright consolidationRich Salz2016-05-171-2/+2
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* Copyright consolidation: perl filesRich Salz2016-04-201-55/+15
| | | | | | | | | Add copyright to most .pl files This does NOT cover any .pl file that has other copyright in it. Most of those are Andy's but some are public domain. Fix typo's in some existing files. Reviewed-by: Richard Levitte <levitte@openssl.org>
* Restore NUMPRIMES as a numeric literalViktor Dukhovni2016-01-281-1/+2
| | | | | | | This fixes clang compilation problem with size_t NUMPRIMES and int loop counters. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Remove EIGHT_BIT and SIXTEEN_BITRich Salz2016-01-271-43/+22
| | | | | | Also cleaned up bn_prime.pl to current coding style. Reviewed-by: Andy Polyakov <appro@openssl.org>
* Replace "SSLeay" in API with OpenSSLRich Salz2015-10-301-26/+13
| | | | | | | All instances of SSLeay (any combination of case) were replaced with the case-equivalent OpenSSL. Reviewed-by: Richard Levitte <levitte@openssl.org>
* Minimize stack utilization in probable_prime.Andy Polyakov2007-09-181-1/+3
|
* Fix prime generation loop in crypto/bn/bn_prime.pl by makingRalf S. Engelschall2003-09-251-1/+1
| | | | | | | | sure the loop does correctly stop and breaking ("division by zero") modulus operations are not performed. The (pre-generated) prime table crypto/bn/bn_prime.h was already correct, but it could not be re-generated on some platforms because of the "division by zero" situation in the script.
* Move primes to read-only segment.Andy Polyakov2000-02-161-1/+1
|
* add dependency and auto-generation rule for bn_prime.hBodo Möller2000-01-121-3/+64
| | | | | (created by bn_prime.pl, which now prints the copyright/license note as found in bn_prime.h)
* Import of old SSLeay release: SSLeay 0.8.1bRalf S. Engelschall1998-12-211-0/+56