Date: Thu, 13 Jan 2022 16:38:25 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 261172] GELI boot failing with aes_xts_reinit: invalid IV length Message-ID: <bug-261172-227-4DQFa73YQH@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-261172-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261172 --- Comment #2 from John Baldwin <jhb@FreeBSD.org> --- The issue is that the compile fix exposed an assertion that was previously unchecked. Hmm, the code in geliboot_crypto.c is a bit incorrect (but probably not harmfully so). This (untested) patch will fix the assertion, but it should also use a better IV size. The IV size is not the same as the key size (for AES-CBC the IV is a block, and for AES-XTS the IV is actually smaller than a block) -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-261172-227-4DQFa73YQH>
