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
F150577663: D32860.id98266.diff
Thu, Apr 2, 1:08 PM
Unknown Object (File)
Wed, Mar 18, 11:42 PM
Unknown Object (File)
Sun, Mar 8, 10:56 PM
Unknown Object (File)
Feb 19 2026, 11:21 AM
Unknown Object (File)
Feb 19 2026, 11:21 AM
Unknown Object (File)
Feb 7 2026, 11:59 PM
Unknown Object (File)
Feb 7 2026, 10:18 PM
Unknown Object (File)
Dec 23 2025, 1:31 PM
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