support non-512B sectors for geli

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-04-24 14:59:38 +02:00
parent ae13460ee1
commit 3e90811d88
4 changed files with 49 additions and 24 deletions

View file

@ -283,6 +283,7 @@ configure_ciphers (const struct grub_luks_phdr *header)
newdev->essiv_cipher = essiv_cipher;
newdev->essiv_hash = essiv_hash;
newdev->hash = hash;
newdev->log_sector_size = 9;
grub_memcpy (newdev->uuid, uuid, sizeof (newdev->uuid));
return newdev;
}