HomeFreeBSD

Fix GELIBoot support for GELI sector size is > 512

Description

Fix GELIBoot support for GELI sector size is > 512

Add support for 4k sector GELI encrypted partitions to the bootloader
This is the default created by the installer

Because the IV is different for each sector, and the XTS tweak carries forward you can not decrypt a partial sector if the starting offset is not 0

Make boot2 and the loader read in 4k aligned chunks

Reviewed by: ed, oshogbo
Sponsored by: ScaleEngine Inc.
Differential Revision: https://reviews.freebsd.org/D5820

Details

Provenance
allanjudeAuthored on
Reviewer
ed
Differential Revision
D5820: Fix GELIBoot support if GELI sector size is > 512
Parents
rS297628: Add optional configuration knob NANO_CUST_FILES_MTREE. If set, it will
Branches
Loading...
Tags
Loading...