Page MenuHomeFreeBSD

Fix AES-CCM requests with an AAD size smaller than a single block.
ClosedPublic

Authored by jhb on Jun 4 2020, 11:08 PM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 11 2024, 9:34 PM
Unknown Object (File)
Oct 1 2024, 9:16 PM
Unknown Object (File)
Sep 21 2024, 10:17 AM
Unknown Object (File)
Sep 18 2024, 6:12 AM
Unknown Object (File)
Sep 16 2024, 10:30 PM
Unknown Object (File)
Sep 16 2024, 10:30 PM
Unknown Object (File)
Sep 16 2024, 10:30 PM
Unknown Object (File)
Sep 16 2024, 8:41 PM
Subscribers

Details

Summary

The amount to copy for the first block is the minimum of the size of the
AAD region or the remaining space in the first block.

Test Plan
  • cryptocheck -a aead -d aesni0 -z failed these requests with bad tags before and now the tags match

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhb requested review of this revision.Jun 4 2020, 11:08 PM
jhb created this revision.
This revision was not accepted when it landed; it landed in state Needs Review.Jun 12 2020, 9:33 PM
This revision was automatically updated to reflect the committed changes.