Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've read that AES can work with three key sizes: 128 bits, 192 bits and 256 bits.

I'm trying to set up a LUKS partition with CryptSetup, using “aes-xts-plain64” cipher.

Why can I create keys of any length with CryptSetup, except for the fact they have to be a multiple of 8?

share|improve this question

migrated from crypto.stackexchange.com Aug 11 at 12:11

This question came from our site for software developers, mathematicians and others interested in cryptography.

5  
This question appears to be off-topic because it is not about cryptography as defined in our help-center. “If your question is about usage of a specific cryptographic software (not its cryptographic internals), Super User is the right site.”. I have flagged the question for moderator attention with an according migration request. (So, please don’t cross-post your question; it will be moved accordingly by a mod if applicable.) –  e-sushi Aug 6 at 15:05
    
man cryptsetup (LUKS uses PBKDF2) –  otus Aug 6 at 15:13
    
And if you have any questions related to what’s explained in the man-pages that @otus pointed you to, you might want to take a look at the “CryptSetup FAQs” –  e-sushi Aug 6 at 15:20

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.