diff options
author | Bernd Edlinger <bernd.edlinger@hotmail.de> | 2019-06-21 21:26:19 +0200 |
---|---|---|
committer | Bernd Edlinger <bernd.edlinger@hotmail.de> | 2019-07-19 20:45:25 +0200 |
commit | aa8b244e5c22193078e3e80fad1f5b27bf62c73b (patch) | |
tree | 3dbd85435ca315ab0c7141d42d33ea2da914ada7 /apps/cms.c | |
parent | 7a7afc559ebc0ad88390cc62bfc34c221d595831 (diff) |
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: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/9419)
Diffstat (limited to 'apps/cms.c')
0 files changed, 0 insertions, 0 deletions