geli - selecting cipher

Michael Sierchio kudzu at
Wed Jul 25 19:18:49 UTC 2012

On Wed, Jul 25, 2012 at 11:57 AM, Wojciech Puchar
<wojtek at> wrote:
> i need high speed disk encryption (many disks running in parallel, lots of

> I'm not cryptography expert, is CBC somehow "less secure", and if so is it
> really a problem?

XTS-AES is a standard devised specifically for disk encryption - it
supports operations on sectors that aren't divisible by the cipher
block size.


I personally would be fine with AES-CTR mode, since I don't see the
need to defend against the mythical "strong" adversary who can write
arbitrary bits to unused sectors and then ask to have them decrypted.
AES-CTR doesn't (by itself) have any integrity check.

AES-CBC is fine, but the ciphertext is larger than the plaintext.

- M

More information about the freebsd-questions mailing list