boringssl/crypto/fipsmodule
David Benjamin 91871018a4 Add an OPENSSL_ia32cap_get() function for C code.
OPENSSL_ia32cap_addr avoids any relocations within the module, at the
cost of a runtime TEXTREL, which causes problems in some cases.
(Notably, if someone links us into a binary which uses the GCC "ifunc"
attribute, the loader crashes.)

Fix C references of OPENSSL_ia32cap_addr with a function. This is
analogous to the BSS getters. A follow-up commit will fix perlasm with a
different scheme which avoids calling into a function (clobbering
registers and complicating unwind directives.)

Change-Id: I09d6cda4cec35b693e16b5387611167da8c7a6de
Reviewed-on: https://boringssl-review.googlesource.com/15525
Reviewed-by: Adam Langley <agl@google.com>
2017-04-27 20:34:23 +00:00
..
aes Move modes/ into the FIPS module 2017-04-21 17:46:37 +00:00
digest Be less clever about .rel.ro avoidance. 2017-04-07 15:20:26 +00:00
hmac
md4
md5
modes Add an OPENSSL_ia32cap_get() function for C code. 2017-04-27 20:34:23 +00:00
rand Add an OPENSSL_ia32cap_get() function for C code. 2017-04-27 20:34:23 +00:00
sha
ar.go Include the correct ar.go. 2017-04-07 00:37:30 +00:00
bcm.c Move much of rand/ into the FIPS module. 2017-04-21 22:03:18 +00:00
CMakeLists.txt delocate: replace "-as src1,src2,..." with "src1 src2 ...". 2017-04-27 16:03:07 +00:00
const.go Be less clever about .rel.ro avoidance. 2017-04-07 15:20:26 +00:00
delocate.go Add an OPENSSL_ia32cap_get() function for C code. 2017-04-27 20:34:23 +00:00
delocate.h Move much of rand/ into the FIPS module. 2017-04-21 22:03:18 +00:00
FIPS.md Inject FIPS hash without running module. 2017-04-12 23:09:38 +00:00
inject-hash.go Allow raw object files to be passed into inject-hash.go. 2017-04-21 22:20:23 +00:00
intcheck1.png
intcheck2.png Inject FIPS hash without running module. 2017-04-12 23:09:38 +00:00
intcheck3.png
is_fips.c