Page MenuHomeFreeBSD

crypto: Don't assert on valid IV length for Chacha20-Poly1305.
ClosedPublic

Authored by jhb on Nov 5 2021, 10:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 17 2024, 1:16 AM
Unknown Object (File)
Oct 17 2024, 8:05 AM
Unknown Object (File)
Oct 17 2024, 8:05 AM
Unknown Object (File)
Oct 17 2024, 8:05 AM
Unknown Object (File)
Oct 17 2024, 7:45 AM
Unknown Object (File)
Oct 3 2024, 4:02 AM
Unknown Object (File)
Sep 29 2024, 7:20 AM
Unknown Object (File)
Sep 29 2024, 5:21 AM
Subscribers

Details

Summary

The assertion checking for valid IV lengths added in 1833d6042c9a
was not properly updated to permit an IV length of 8 in commit
42dcd39528c6.

Reported by: syzbot+f0c0559b8be1d6eb28c7@syzkaller.appspotmail.com
Fixes: 42dcd39528c6 crypto: Support Chacha20-Poly1305 with a nonce size of 8 bytes.
Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable