openssl/include
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
..
internal Add value_barriers in constant time select functions 2019-07-18 16:02:20 +02:00
openssl Avoid NULL pointer dereference. Fixes #9043. 2019-07-08 20:15:44 +10:00