diff options
author | djm@openbsd.org <djm@openbsd.org> | 2016-07-08 03:44:42 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2016-07-08 13:50:03 +1000 |
commit | 6d31193d0baa3da339c196ac49625b7ba1c2ecc7 (patch) | |
tree | 83c1b9c11099ff8577178f702f2cb34765229d9b /README.dns | |
parent | 71f5598f06941f645a451948c4a5125c83828e1c (diff) |
upstream commit
Improve crypto ordering for Encrypt-then-MAC (EtM) mode
MAC algorithms.
Previously we were computing the MAC, decrypting the packet and then
checking the MAC. This gave rise to the possibility of creating a
side-channel oracle in the decryption step, though no such oracle has
been identified.
This adds a mac_check() function that computes and checks the MAC in
one pass, and uses it to advance MAC checking for EtM algorithms to
before payload decryption.
Reported by Jean Paul Degabriele, Kenny Paterson, Torben Hansen and
Martin Albrecht. feedback and ok markus@
Upstream-ID: 1999bb67cab47dda5b10b80d8155fe83d4a1867b
Diffstat (limited to 'README.dns')
0 files changed, 0 insertions, 0 deletions