[dm-crypt] inner workings of block mode encryption
ralf+dm at ramses-pyramidenbau.de
Sun Feb 8 22:34:22 CET 2015
On 02/08/2015 06:42 PM, Heinz Diehl wrote:
>> Knowing just one cleartext file, for example a well known static
>> > system file from the /etc directory, and its encrpted data, could
>> > easily lead to the master key (assuming the encrypted volume
>> > contains such system files).
> Neither AES, serpent nor twofish are prone to known-plaintext attacks.
> Breaking some rounds is not the same as breaking the cipher.
I absolutely agree, Heinz.
Only the knowledge of a plain text block an the corresponding cipher
text block is NOT sufficient to "guess" or derive the key.
This is one of the major design criteria of symmetric block ciphers.
When I did my first steps in cryptography I also naively thought that
knowing a cipher text and a corresponsing plain text automatically
offers the possibility to derive the key but this is absolutely not the
And the use of the same key throughout your volume is NOT a vulnerability.
If you're of another opinion please show me references.
I recommend you to read the following links:
http://cacr.uwaterloo.ca/hac/ <- great book, online available for free
More information about the dm-crypt