Skip to content
Snippets Groups Projects
Commit d6b260ed authored by akwizgran's avatar akwizgran
Browse files

Use AES/GCM instead of AES/CTR and HMAC.

This makes us Suite B compliant and saves 32 bytes per frame. The
AES/GCM implementation refuses to decrypt the frame header before
checking the MAC, so we have to use AES/CTR to peek at the header. The
header is still covered by the MAC, and we still check it after peeking!
parent d074652f
No related branches found
No related tags found
Loading
Showing
with 201 additions and 300 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment