public inbox for gentoo-security@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-security] Encryption Ciphers
@ 2008-02-27 18:58 Florian Philipp
  2008-02-28 11:26 ` Daniel Troeder
                   ` (2 more replies)
  0 siblings, 3 replies; 20+ messages in thread
From: Florian Philipp @ 2008-02-27 18:58 UTC (permalink / raw
  To: gentoo-security

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

Hi!

I just did some benchmarking on different ciphers for cryptsetup-luks
and now I've got some questions:

1. Is it a valid way to benchmark by using "time dd if=/dev/zero
of=/dev/mapper/cryptmapping -bs=1M"? The results seem to match other
benchmarks but I just want to be sure.

2. I've tested every (sensible) cipher with 64, 128, 256 and 320bits
keysize (if supported). Apparently I can choose between:

Blowfish 64-256bit
Twofish 128-256bit
AES 128-256bit
Anubis 128-320bit

These are settings on which my harddisk limits transfer speed, not the
encryption.

Surprisingly, Anubis is faster with 320bits than Blowfish with the same
setting (Blowfish: 32MB/s, Anubis 37MB/s, hdparm -tT 38MB/s). Do you
think keysize is more important than choosing a cipher which made it
further in the AES-contest and therefore using Anubis with 320bit would
be a better choice than AES or Twofish with 256bit? Might it even be an
advantage because less people try to brake Anubis than AES (although it
bears some similarity with AES and might be vulnerable to the same
attacks)?

And if I need a faster cipher, do you think Blowfish with 64bit keys is
save for the next 3 years?

Thanks in advance!

Florian Philipp

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread
* Re: [gentoo-security] Encryption Ciphers
@ 2008-02-28 17:47 bmicek
  0 siblings, 0 replies; 20+ messages in thread
From: bmicek @ 2008-02-28 17:47 UTC (permalink / raw
  To: gentoo-security

[-- Attachment #1: Type: text/html, Size: 924 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread
* Re: [gentoo-security] Encryption Ciphers
@ 2008-02-28 18:02 bmicek
  0 siblings, 0 replies; 20+ messages in thread
From: bmicek @ 2008-02-28 18:02 UTC (permalink / raw
  To: gentoo-security

[-- Attachment #1: Type: text/html, Size: 822 bytes --]

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

end of thread, other threads:[~2008-03-07 18:03 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-27 18:58 [gentoo-security] Encryption Ciphers Florian Philipp
2008-02-28 11:26 ` Daniel Troeder
2008-02-28 15:34 ` Peter Meier
2008-02-28 18:29   ` Florian Philipp
2008-02-28 20:19     ` Mansour Moufid
2008-02-29 17:09       ` Florian Philipp
2008-03-01  0:48 ` Dan Reidy
2008-03-01  2:37   ` Steffen Schulz
2008-03-01  3:31     ` Mansour Moufid
2008-03-01 10:43       ` Florian Philipp
2008-03-01 11:48         ` Calum
2008-03-01 12:28           ` Florian Philipp
2008-03-02  1:25             ` Danny
2008-03-06 15:30               ` Peter Meier
2008-03-07  7:07                 ` Eckard Brauer
2008-03-07  7:12                   ` [gentoo-security] gentoo-security+unsubscribe@gentoo.org Gianpiero.Tavano
2008-03-07  7:15                     ` Kristian Poul Herkild
2008-03-07 18:02                 ` [gentoo-security] Encryption Ciphers Danny
  -- strict thread matches above, loose matches on Subject: below --
2008-02-28 17:47 bmicek
2008-02-28 18:02 bmicek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox