openssl/include/internal
Bernd Edlinger 7fab431040 Add value_barriers in constant time select functions
The barriers prevent the compiler from narrowing down the
possible value range of the mask and ~mask in the select
statements, which avoids the recognition of the select
and turning it into a conditional load or branch.

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
(Merged from https://github.com/openssl/openssl/pull/9217)

(cherry picked from commit 04edd688b3)
2019-07-18 16:02:20 +02:00
..
__DECC_INCLUDE_EPILOGUE.H VMS: Copy DECC inclusion epi- and prologues to internals 2017-04-20 13:10:06 +02:00
__DECC_INCLUDE_PROLOGUE.H VMS: Copy DECC inclusion epi- and prologues to internals 2017-04-20 13:10:06 +02:00
bio.h Update copyright year 2018-02-13 13:59:25 +00:00
comp.h Copyright consolidation 03/10 2016-05-17 14:24:17 -04:00
conf.h Update copyright year 2019-02-26 14:05:09 +00:00
constant_time_locl.h Add value_barriers in constant time select functions 2019-07-18 16:02:20 +02:00
cryptlib.h Update copyright year 2019-02-26 14:05:09 +00:00
dane.h Perform DANE-EE(3) name checks by default 2016-07-12 10:16:34 -04:00
dso.h Update copyright year 2018-09-11 13:45:17 +01:00
dsoerr.h Add regenerated header files 2019-07-02 10:06:15 +02:00
err.h Copyright consolidation 03/10 2016-05-17 14:24:17 -04:00
nelem.h Remove tests dependence on e_os.h 2017-08-18 09:50:25 +10:00
numbers.h Copyright consolidation 03/10 2016-05-17 14:24:17 -04:00
o_dir.h Update copyright year 2018-09-11 13:45:17 +01:00
o_str.h Remove internal functions OPENSSL_strcasecmp and OPENSSL_strncasecmp 2016-05-28 02:15:04 +02:00
refcount.h Fix a C++ comment in the refcount.h 2019-07-17 14:17:45 +02:00
sockets.h Update copyright year 2019-02-26 14:05:09 +00:00
sslconf.h Move the loading of the ssl_conf module to libcrypto 2018-04-05 15:30:12 +01:00
thread_once.h Update copyright year 2019-02-26 14:05:09 +00:00
tsan_assist.h Avoid linking error on WCE700 for _InterlockedExchangeAdd(). 2019-03-29 10:02:05 +00:00