boringssl/crypto
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
..
aes Synchronize bsaes-armv7.pl with upstream. 2017-03-27 16:38:33 +00:00
asn1 Fix potential memory leak in ASN1_TIME_to_generalizedtime() 2017-03-21 18:10:51 +00:00
base64
bio Convert bio_test to GTest. 2017-03-21 17:39:57 +00:00
bn Use BN_get_word in probable_prime. 2017-04-07 16:00:32 +00:00
buf
bytestring Correct a typo in ASN.1 type name. 2017-03-16 21:57:58 +00:00
chacha x86_64 assembly pack: Win64 SEH face-lift. 2017-02-16 21:55:04 +00:00
cipher Add AESVS KAT vectors (CBC and ECB only). 2017-04-12 22:50:23 +00:00
cmac
conf Fix out-of-memory condition in conf. 2017-03-21 16:19:22 +00:00
curve25519 Add the start of standalone iOS build support. 2017-04-07 17:13:44 +00:00
des
dh Remove direct calls to BN_mod_exp. 2017-02-28 18:00:02 +00:00
digest_extra First part of the FIPS module. 2017-04-07 00:05:34 +00:00
dsa Add a common TestEventListener for the error queue. 2017-02-07 21:33:22 +00:00
ec Enforce minimum EC group size when generating keys for FIPS compliance. 2017-04-07 19:30:23 +00:00
ecdh
ecdsa ECDSA: const EC_KEY* arguments where possible. 2017-02-18 06:22:01 +00:00
engine
err Add RSA_check_fips to support public key validation checks. 2017-04-12 20:00:30 +00:00
evp Add a test when hashes are too large for RSASSA-PKCS1-v1_5. 2017-04-12 21:37:41 +00:00
fipsmodule Inject FIPS hash without running module. 2017-04-12 23:09:38 +00:00
hkdf
hmac_extra First part of the FIPS module. 2017-04-07 00:05:34 +00:00
lhash
modes Remove unsigned-based constant-time functions. 2017-03-30 16:24:19 +00:00
obj Teach crypto/x509 how to verify an Ed25519 signature. 2017-04-05 23:35:30 +00:00
pem
perlasm Gate assembly sources on !OPENSSL_NO_ASM. 2017-03-30 19:34:21 +00:00
pkcs8 First part of the FIPS module. 2017-04-07 00:05:34 +00:00
poly1305 Fix Android build. 2017-04-07 17:33:24 +00:00
pool
rand Remove TODO. 2017-03-25 16:29:04 +00:00
rc4
rsa Constrain RSA bit sizes. 2017-04-12 22:27:45 +00:00
stack
test Convert bio_test to GTest. 2017-03-21 17:39:57 +00:00
x509 Teach crypto/x509 how to verify an Ed25519 signature. 2017-04-05 23:35:30 +00:00
x509v3 Fix a crash in print_notice. 2017-03-21 14:50:26 +00:00
CMakeLists.txt Add the start of standalone iOS build support. 2017-04-07 17:13:44 +00:00
constant_time_test.cc Remove static output buffers for hash & HMAC functions. 2017-04-02 17:53:17 +00:00
cpu-aarch64-linux.c
cpu-arm-linux.c
cpu-arm.c
cpu-intel.c
cpu-ppc64le.c Make the POWER hardware capability value a global in crypto.c. 2017-04-04 18:19:19 +00:00
crypto.c Be less clever about .rel.ro avoidance. 2017-04-07 15:20:26 +00:00
ex_data.c Fix CRYPTO_dup_ex_data. 2017-04-04 18:21:49 +00:00
internal.h Remove unsigned-based constant-time functions. 2017-03-30 16:24:19 +00:00
mem.c
refcount_c11.c
refcount_lock.c
refcount_test.cc
thread_none.c
thread_pthread.c
thread_test.c Fix CRYPTO_once_t initialization test. 2017-04-07 15:57:31 +00:00
thread_win.c
thread.c