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
Unknown Object (File)
Sat, Nov 2, 7:25 AM
Unknown Object (File)
Sat, Nov 2, 7:25 AM
Unknown Object (File)
Sat, Nov 2, 7:25 AM
Unknown Object (File)
Sat, Nov 2, 7:04 AM
Unknown Object (File)
Mon, Oct 28, 8:40 PM
Unknown Object (File)
Mon, Oct 21, 12:58 PM
Unknown Object (File)
Oct 11 2024, 7:58 PM
Unknown Object (File)
Oct 7 2024, 2:49 PM

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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable