]> git.ipfire.org Git - thirdparty/openssl.git/commit - Configurations/unix-Makefile.tmpl
FIPS module checksums: add scripts and Makefile rule
authorRichard Levitte <levitte@openssl.org>
Fri, 3 May 2019 11:12:59 +0000 (13:12 +0200)
committerRichard Levitte <levitte@openssl.org>
Tue, 4 May 2021 09:32:16 +0000 (11:32 +0200)
commitbe22315235605ac50f735758f6c6edcb262146db
tree68fd3250ab3f7ebfbb7484c68a68645fb0e1c20e
parent27ca03ea829443ee750db148dde87cf3da900d9c
FIPS module checksums: add scripts and Makefile rule

This adds the following scripts:

util/lang-compress.pl:

Compress source code, which language is determined by the first argument.
For the moment, we know 'perl' (perlasm source code), 'C' (C source code)
and 'S' (Assembler with C preprocessor directives).
This removes comments and empty lines, and compresses series of horizontal
spaces to one single space in the languages where that's appropriate.

util/fips-checksums.sh:

Takes source file names as arguments, pushes them through
util/lang-compress.pl and unifdef with FIPS_MODE defined, and calculates
the checksum on the result.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8871)
Configurations/unix-Makefile.tmpl
providers/fips-sources.checksums [new file with mode: 0644]
providers/fips.checksum [new file with mode: 0644]
util/c-compress-test.pl [new file with mode: 0755]
util/fips-checksums.sh [new file with mode: 0755]
util/lang-compress.pl [new file with mode: 0755]