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
F162899993: D32860.id98266.diff
Sat, Jul 18, 3:27 AM
Unknown Object (File)
Wed, Jul 8, 2:32 AM
Unknown Object (File)
Tue, Jun 23, 1:23 AM
Unknown Object (File)
Jun 18 2026, 12:13 AM
Unknown Object (File)
Jun 15 2026, 9:52 AM
Unknown Object (File)
May 17 2026, 7:50 PM
Unknown Object (File)
May 11 2026, 9:46 PM
Unknown Object (File)
Apr 29 2026, 3:29 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
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 42621
Build 39509: arc lint + arc unit