boringssl/crypto/fipsmodule
Adam Langley 82bad05d5d Inject FIPS hash without running module.
Previously, inject-hash would run the FIPS module in order to trigger a
failure and then extract the calculated hash value from the output. This
makes cross-compiling difficult because the build process needs to run a
binary for the target platform.

This change drops this step. Instead, inject-hash.go parses the object
file itself and calculates the hash without needing to run the module.

Change-Id: I2593daa03094b0a17b498c2e8be6915370669596
Reviewed-on: https://boringssl-review.googlesource.com/14964
Commit-Queue: Adam Langley <agl@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
Reviewed-by: David Benjamin <davidben@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
2017-04-12 23:09:38 +00:00
..
digest Be less clever about .rel.ro avoidance. 2017-04-07 15:20:26 +00:00
hmac First part of the FIPS module. 2017-04-07 00:05:34 +00:00
md4 First part of the FIPS module. 2017-04-07 00:05:34 +00:00
md5 First part of the FIPS module. 2017-04-07 00:05:34 +00:00
sha First part of the FIPS module. 2017-04-07 00:05:34 +00:00
ar.go Include the correct ar.go. 2017-04-07 00:37:30 +00:00
bcm.c Be less clever about .rel.ro avoidance. 2017-04-07 15:20:26 +00:00
CMakeLists.txt Inject FIPS hash without running module. 2017-04-12 23:09:38 +00:00
const.go Be less clever about .rel.ro avoidance. 2017-04-07 15:20:26 +00:00
delocate.go Be less clever about .rel.ro avoidance. 2017-04-07 15:20:26 +00:00
delocate.h Be less clever about .rel.ro avoidance. 2017-04-07 15:20:26 +00:00
FIPS.md Inject FIPS hash without running module. 2017-04-12 23:09:38 +00:00
inject-hash.go Inject FIPS hash without running module. 2017-04-12 23:09:38 +00:00
intcheck1.png First part of the FIPS module. 2017-04-07 00:05:34 +00:00
intcheck2.png Inject FIPS hash without running module. 2017-04-12 23:09:38 +00:00
intcheck3.png First part of the FIPS module. 2017-04-07 00:05:34 +00:00
is_fips.c First part of the FIPS module. 2017-04-07 00:05:34 +00:00