All of lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] RHEL6 crypto support
@ 2013-01-18 19:16 David Li
  2013-01-18 19:33 ` Arno Wagner
  0 siblings, 1 reply; 6+ messages in thread
From: David Li @ 2013-01-18 19:16 UTC (permalink / raw)
  To: dm-crypt

[-- Attachment #1: Type: text/plain, Size: 1354 bytes --]

Here is a newbie question.

I encountered an error at luksFormat on a loop device:

device-mapper: reload ioctl failed: Invalid argument
Failed to setup dm-crypt key mapping for device /dev/loop0.
Check that kernel supports aes-cbc-essiv:sha256 cipher (check syslog for
more info).

So I guesss my RHEL6 doesn't have the proper crypto module installed. This
is a dump of /proc/crypto:


bash-4.1# cat /proc/crypto
name         : stdrng
driver       : krng
module       : kernel
priority     : 200
refcnt       : 1
selftest     : passed
type         : rng
seedsize     : 0

name         : crc32c
driver       : crc32c-generic
module       : kernel
priority     : 100
refcnt       : 2
selftest     : passed
type         : shash
blocksize    : 1
digestsize   : 4

name         : sha1
driver       : sha1-generic
module       : kernel
priority     : 0
refcnt       : 1
selftest     : passed
type         : shash
blocksize    : 64
digestsize   : 20

name         : md5
driver       : md5-generic
module       : kernel
priority     : 0
refcnt       : 1
selftest     : passed
type         : shash
blocksize    : 64
digestsize   : 1



But I am not quite sure which package is missing here.  Is it something
more general like "yum install aes"?

In general, how do I check if all the required crypto modules are supported
before running any cryptsetup commands?

[-- Attachment #2: Type: text/html, Size: 2178 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-01-18 19:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-18 19:16 [dm-crypt] RHEL6 crypto support David Li
2013-01-18 19:33 ` Arno Wagner
2013-01-18 19:37   ` Milan Broz
2013-01-18 19:44     ` Arno Wagner
2013-01-18 19:45     ` David Li
2013-01-18 19:56       ` Milan Broz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.