summaryrefslogtreecommitdiff
path: root/crypto/objects/objects.pl
Commit message (Collapse)AuthorAgeFilesLines
* 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-6/+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/objects/Richard Levitte2018-12-061-2/+2
| | | | | | | [skip ci] Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/7804)
* Make some perl scripts output to stdoutRich Salz2018-02-271-16/+19
| | | | | | | And only generate one output "file" at a time for objects.pl Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5432)
* Update copyright yearMatt Caswell2018-02-271-1/+1
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* Generate copyright year properlyRich Salz2018-02-131-2/+9
| | | | | | | | | 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)
* Implementation of the ARIA cipher as described in RFC 5794.Pauli2017-02-211-2/+2
| | | | | | | | | | | | | | This implementation is written in endian agnostic C code. No attempt at providing machine specific assembly code has been made. This implementation expands the evptests by including the test cases from RFC 5794 and ARIA official site rather than providing an individual test case. Support for ARIA has been integrated into the command line applications, but not TLS. Implemented modes are CBC, CFB1, CFB8, CFB128, CTR, ECB and OFB128. Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2337)
* Copyright consolidation: perl filesRich Salz2016-04-201-59/+14
| | | | | | | | | 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>
* Perl's chop / chomp considered bad, use a regexp insteadRichard Levitte2016-02-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Once upon a time, there was chop, which somply chopped off the last character of $_ or a given variable, and it was used to take off the EOL character (\n) of strings. ... but then, you had to check for the presence of such character. So came chomp, the better chop which checks for \n before chopping it off. And this worked well, as long as Perl made internally sure that all EOLs were converted to \n. These days, though, there seems to be a mixture of perls, so lines from files in the "wrong" environment might have \r\n as EOL, or just \r (Mac OS, unless I'm misinformed). So it's time we went for the more generic variant and use s|\R$||, the better chomp which recognises all kinds of known EOLs and chops them off. A few chops were left alone, as they are use as surgical tools to remove one last slash or one last comma. NOTE: \R came with perl 5.10.0. It means that from now on, our scripts will fail with any older version. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Complete the removal of /* foo.c */ commentsRichard Levitte2016-01-271-2/+0
| | | | | | | Some files that are automatically generated still had those comments added by the generating scripts. Reviewed-by: Rich Salz <rsalz@openssl.org>
* RT3230: Better test for C identifierAnnie Yousar2015-06-021-1/+1
| | | | | | | | | objects.pl only looked for a space to see if the name could be used as a C identifier. Improve the test to match the real C rules. Signed-off-by: Rich Salz <rsalz@akamai.com> Reviewed-by: Matt Caswell <matt@openssl.org>
* Bring objects.pl output even closer to new format.Andy Polyakov2015-02-091-2/+1
| | | | Reviewed-by: Matt Caswell <matt@openssl.org>
* Harmonize objects.pl output with new format.Andy Polyakov2015-02-091-17/+26
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* Produce meaningful error if sanity check fails.Dr. Stephen Henson2008-03-191-1/+2
| | | | | | Delete trailing whitespace from objects.txt Delete duplicate NIDs.
* Additional sanity check.Dr. Stephen Henson2008-03-191-0/+2
|
* Fix buggy object definitions (Svenning Sorensen <sss@sss.dnsalias.net>).Lutz Jänicke2002-04-041-0/+2
|
* Fix: 2.5.29 is "id-ce", not "ld-ce" (sort of a typo in objects.h).Bodo Möller2001-12-031-6/+7
| | | | | | | | Fix (?): Delete 'ip-pda 6' (id-pda-pseudonym) because it does not exist in RFC 3039. Also change Perl scripts to put auto-generation warning in the first lines of the file.
* Change obj_... generation so that it does not generate rubbish orBodo Möller2001-03-061-0/+2
| | | | | | | | abort with errors if no name is defined for some object, which was the case for 'pilotAttributeType 27'. Also avoid this very situation by assigning the name 'pilotAttributeType27'.
* Corrected small bug that could add ',L' when it shouldn'tRichard Levitte2000-07-081-2/+13
|
* I got sick and tired of having to keep track of NIDs when such a thingRichard Levitte2000-07-051-0/+213
could be done automagically, much like the numbering in libeay.num and ssleay.num. The solution works as follows: - New object identifiers are inserted in objects.txt, following the syntax given in objects.README. - objects.pl is used to process obj_mac.num and create a new obj_mac.h. - obj_dat.pl is used to create a new obj_dat.h, using the data in obj_mac.h. This is currently kind of a hack, and the perl code in objects.pl isn't very elegant, but it works as I intended. The simplest way to check that it worked correctly is to look in obj_dat.h and check the array nid_objs and make sure the objects haven't moved around (this is important!). Additions are OK, as well as consistent name changes.