Skip to contentSkip to conversation

Using GCM mode with dm-crypt?

dm-crypt Igor Novgorodov 2 participants 2 messages Dec 31, 2010

lore
Share & tools
lore
#0 lore raw

From what i've read this mode is faster than CBC due to some
parallelism, and it's accelerated by newer Intel's PCLMUL
instructions.

But it seems that AES/GCM mode is used only with IPSEC and such.

Is there any particular reason we cannot use it with disk encryption?

Signature · 2 lines
С уважением,
 Igor                          mailto:[email protected]
#1 lore raw

Are you sure it is faster? Looks slower to me, especially as paralellism in disk encryption should be done on sector-level anyways.

Also, it seems to require additional authentication data (the Tag t), which makes it unsuitable for 1:1 sector mapping.

Arno

Quoted 15 lines · Igor Novgorodov

From what i've read this mode is faster than CBC due to some
parallelism, and it's accelerated by newer Intel's PCLMUL
instructions.

But it seems that AES/GCM mode is used only with IPSEC and such.

Is there any particular reason we cannot use it with disk encryption?

Signature · 6 lines
? ?????????,
 Igor                          mailto:[email protected]
_______________________________________________
dm-crypt mailing list
[email protected]
http://www.saout.de/mailman/listinfo/dm-crypt
Signature · 7 lines
Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: [email protected] 
GnuPG:  ID: 1E25338F  FP: 0C30 5782 9D93 F785 E79C  0296 797F 6B50 1E25 338F
----
Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans

If it's in the news, don't worry about it.  The very definition of 
"news" is "something that hardly ever happens." -- Bruce Schneier