summaryrefslogtreecommitdiffstats
path: root/providers/fips.checksum
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2019-05-03 13:12:59 +0200
committerRichard Levitte <levitte@openssl.org>2021-05-04 11:32:16 +0200
commitbe22315235605ac50f735758f6c6edcb262146db (patch)
tree68fd3250ab3f7ebfbb7484c68a68645fb0e1c20e /providers/fips.checksum
parent27ca03ea829443ee750db148dde87cf3da900d9c (diff)
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)
Diffstat (limited to 'providers/fips.checksum')
-rw-r--r--providers/fips.checksum1
1 files changed, 1 insertions, 0 deletions
diff --git a/providers/fips.checksum b/providers/fips.checksum
new file mode 100644
index 0000000000..8fe83feaca
--- /dev/null
+++ b/providers/fips.checksum
@@ -0,0 +1 @@
+1106a14cf83a287e98bb7b7cde67aea32e75d523b4d568b2c5b352a3a17ee181 providers/fips-sources.checksums