RT3425: constant-time evp_enc
authorEmilia Kasper <emilia@openssl.org>
Fri, 5 Sep 2014 12:47:33 +0000 (14:47 +0200)
committerEmilia Kasper <emilia@openssl.org>
Wed, 24 Sep 2014 14:41:55 +0000 (16:41 +0200)
commit1bb01b1b5f27a7de33e7a67946b8c001b54e09e9
treee48a517c07a33f834a65375ecf285f5107947700
parent699d78ce985f718ece999025c7c582acc7aa3aaf
RT3425: constant-time evp_enc

Do the final padding check in EVP_DecryptFinal_ex in constant time to
avoid a timing leak from padding failure.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit b55ff319f880adc874b8c95957adf2003117d42b)

Conflicts:
crypto/evp/Makefile
crypto/evp/evp_enc.c
crypto/evp/Makefile
crypto/evp/evp_enc.c