aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/constant_time_locl.h
Commit message (Collapse)AuthorAgeFilesLines
* Run util/openssl-format-source -v -c .Matt Caswell2015-01-221-54/+59
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* mark all block comments that need format preserving so thatTim Hudson2014-12-301-3/+3
| | | | | | | indent will not alter them when reformatting comments Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
* Fix warning about negative unsigned intergersKurt Roeckx2014-11-111-1/+1
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* Use only unsigned arithmetic in constant-time operationsSamuel Neves2014-10-281-13/+3
| | | | | Signed-off-by: Kurt Roeckx <kurt@roeckx.be> Reviewed-by: Emilia Käsper <emilia@openssl.org>
* RT3547: Add missing static qualifierKurt Cancemi2014-10-171-1/+1
| | | | Reviewed-by: Ben Laurie <ben@openssl.org>
* RT3067: simplify patchEmilia Kasper2014-09-241-0/+15
| | | | | | | | (Original commit adb46dbc6dd7347750df2468c93e8c34bcb93a4b) Use the new constant-time methods consistently in s3_srvr.c Reviewed-by: Kurt Roeckx <kurt@openssl.org>
* RT3066: rewrite RSA padding checks to be slightly more constant time.Emilia Kasper2014-09-241-2/+34
| | | | | | | | | | Also tweak s3_cbc.c to use new constant-time methods. Also fix memory leaks from internal errors in RSA_padding_check_PKCS1_OAEP_mgf1 This patch is based on the original RT submission by Adam Langley <agl@chromium.org>, as well as code from BoringSSL and OpenSSL. Reviewed-by: Kurt Roeckx <kurt@openssl.org>
* Make the inline const-time functions static.Emilia Kasper2014-09-021-16/+16
| | | | | | | "inline" without static is not correct as the compiler may choose to ignore it and will then either emit an external definition, or expect one. Reviewed-by: Geoff Thorpe <geoff@openssl.org>
* Constant-time utilitiesEmilia Kasper2014-08-281-0/+169
Pull constant-time methods out to a separate header, add tests. Reviewed-by: Bodo Moeller <bodo@openssl.org>