Page MenuHomeFreeBSD

geliboot: Use the correct IV length for AES-XTS.
ClosedPublic

Authored by jhb on Jan 13 2022, 9:28 PM.
Tags
None
Referenced Files
F108436417: D33884.diff
Fri, Jan 24, 6:22 PM
Unknown Object (File)
Wed, Jan 22, 7:28 AM
Unknown Object (File)
Sat, Jan 18, 7:45 AM
Unknown Object (File)
Dec 17 2024, 2:27 PM
Unknown Object (File)
Dec 17 2024, 8:41 AM
Unknown Object (File)
Dec 17 2024, 5:43 AM
Unknown Object (File)
Nov 25 2024, 9:12 AM
Unknown Object (File)
Nov 23 2024, 2:17 AM

Details

Summary
  • Use AES_XTS_IV_LEN instead of the key length as the IV length.
  • Use G_ELI_IVKEYLEN as the size of the zeroed iv[] array in g_eli_crypto_cipher() to match geli_io().

PR: 261172
Sponsored by: FreeBSD Foundation

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 43911
Build 40799: arc lint + arc unit