From: Arno Wagner <arno@wagner.name>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] Twofish 3-way
Date: Thu, 12 Jan 2012 17:28:15 +0100 [thread overview]
Message-ID: <20120112162815.GA13265@tansi.org> (raw)
In-Reply-To: <4F0EFAD3.3090908@redhat.com>
Do I understand this right that this can only work if you
have independent disk accesses? For a single sector, the
mode would prevent any paralellization (unless you set
ECB, which is definitely not a good idea).
Arno
On Thu, Jan 12, 2012 at 04:22:59PM +0100, Milan Broz wrote:
> On 01/12/2012 04:06 PM, Heinz Diehl wrote:
> >Hi,
> >
> >since kernel 3.2 there is a new parallelized variant of twofish
> >available via
> >
> >CONFIG_CRYPTO_TWOFISH_X86_64_3WAY
> >
> >How can I use it with LUKS/dmcrypt? My current config contains the
> >following:
> >
> ># CONFIG_CRYPTO_TWOFISH is not set
> >CONFIG_CRYPTO_TWOFISH_COMMON=y
> >CONFIG_CRYPTO_TWOFISH_X86_64=y
> >CONFIG_CRYPTO_TWOFISH_X86_64_3WAY=y
> >
> >How should these options be set up properly?
>
> You cannot set directly which version is used through dmcrypt interface,
> (without patching kernel source) but cryptoAPI should detect the fastest
> algorithm automatically.
>
> For separate modules, force load just that module and unload all other
> should perhaps work as well (before crypto device activation).
>
> (see /proc/crypto and lsmod modules reference count to check which one
> is really used)
>
> Milan
> _______________________________________________
> dm-crypt mailing list
> dm-crypt@saout.de
> http://www.saout.de/mailman/listinfo/dm-crypt
>
--
Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno@wagner.name
GnuPG: ID: 1E25338F FP: 0C30 5782 9D93 F785 E79C 0296 797F 6B50 1E25 338F
----
One of the painful things about our time is that those who feel certainty
are stupid, and those with any imagination and understanding are filled
with doubt and indecision. -- Bertrand Russell
next prev parent reply other threads:[~2012-01-12 16:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-12 15:06 [dm-crypt] Twofish 3-way Heinz Diehl
2012-01-12 15:22 ` Milan Broz
2012-01-12 16:28 ` Arno Wagner [this message]
2012-01-12 18:19 ` Milan Broz
2012-01-15 15:05 ` Heinz Diehl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120112162815.GA13265@tansi.org \
--to=arno@wagner.name \
--cc=dm-crypt@saout.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox