Removed further timing differences during SSL message decryption in ssl_decrypt_buf()

New padding checking is unbiased on correct or incorrect padding and
has no branch prediction timing differences.

The additional MAC checks further straighten out the timing differences.
This commit is contained in:
Paul Bakker 2013-02-27 14:48:00 +01:00
parent 2ca8ad10a1
commit e47b34bdc8
8 changed files with 73 additions and 30 deletions

View file

@ -4,6 +4,10 @@ PolarSSL ChangeLog
Bugfix
* Fixed memory leak in ssl_free() and ssl_reset() for active session
Security
* Removed further timing differences during SSL message decryption in
ssl_decrypt_buf()
= Version 1.2.5 released 2013-02-02
Changes
* Allow enabling of dummy error_strerror() to support some use-cases