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:19:18 +0000 (16:19 +0200)
commit4aac102f75b517bdb56b1bcfd0a856052d559f6e
tree379cfe4158f151feaa4f1d608deb5dedbff5e1f3
parent455b65dfab0de51c9f67b3c909311770f2b3f801
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>
crypto/evp/Makefile
crypto/evp/evp_enc.c