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)
Feb 23 2024, 4:02 PM
Unknown Object (File)
Feb 23 2024, 4:02 PM
Unknown Object (File)
Feb 23 2024, 4:02 PM
Unknown Object (File)
Feb 23 2024, 3:43 PM
Unknown Object (File)
Dec 20 2023, 5:53 AM
Unknown Object (File)
Aug 27 2023, 8:17 PM
Unknown Object (File)
Aug 22 2023, 11:32 AM
Unknown Object (File)
Aug 7 2023, 11:15 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.