All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rik van Riel <riel@redhat.com>
To: kernel-hardening@lists.openwall.com,
	"Jason A. Donenfeld" <Jason@zx2c4.com>
Cc: George Spelvin <linux@sciencehorizons.net>,
	Theodore Ts'o <tytso@mit.edu>, Andi Kleen <ak@linux.intel.com>,
	David Miller <davem@davemloft.net>,
	David Laight <David.Laight@aculab.com>,
	"Daniel J . Bernstein" <djb@cr.yp.to>,
	Eric Biggers <ebiggers3@gmail.com>,
	Hannes Frederic Sowa <hannes@stressinduktion.org>,
	Jean-Philippe Aumasson <jeanphilippe.aumasson@gmail.com>,
	Linux Crypto Mailing List <linux-crypto@vger.kernel.org>,
	LKML <linux-kernel@vger.kernel.org>,
	Andy Lutomirski <luto@amacapital.net>,
	Netdev <netdev@vger.kernel.org>,
	Tom Herbert <tom@herbertland.com>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Vegard Nossum <vegard.nossum@gmail.com>
Subject: Re: [kernel-hardening] Re: HalfSipHash Acceptable Usage
Date: Wed, 21 Dec 2016 11:39:45 -0500	[thread overview]
Message-ID: <1482338385.11006.67.camel@redhat.com> (raw)
In-Reply-To: <1482335804.8944.44.camel@edumazet-glaptop3.roam.corp.google.com>

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

On Wed, 2016-12-21 at 07:56 -0800, Eric Dumazet wrote:
> On Wed, 2016-12-21 at 15:42 +0100, Jason A. Donenfeld wrote:
> George said :
> 
> > Cycles per byte on 1024 bytes of data:
> >                       Pentium Core 2  Ivy
> >                       4       Duo     Bridge
> > SipHash-2-4           38.9     8.3     5.8
> > HalfSipHash-2-4       12.7     4.5     3.2
> > MD5                    8.3     5.7     4.7
> 
> 
> That really was for 1024 bytes blocks, so pretty much useless for our
> discussion ?
> 
> Reading your numbers last week, I thought SipHash was faster, but
> George
> numbers are giving the opposite impression.
> 
> I do not have a P4 to make tests, so I only can trust you or George.

Does anybody still have a P4?

If they do, they're probably better off replacing
it with an Atom. The reduced power bills will pay
for replacing that P4 within a year or two.

In short, I am not sure how important the P4
performance numbers are, especially if we can
improve security for everybody else...

-- 
All Rights Reversed.

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

  parent reply	other threads:[~2016-12-21 16:39 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-19 17:32 [kernel-hardening] HalfSipHash Acceptable Usage Jason A. Donenfeld
2016-12-19 17:32 ` Jason A. Donenfeld
2016-12-19 20:49 ` [kernel-hardening] " Jean-Philippe Aumasson
2016-12-19 20:49   ` Jean-Philippe Aumasson
2016-12-19 21:00   ` [kernel-hardening] " Jason A. Donenfeld
2016-12-19 21:00     ` Jason A. Donenfeld
2016-12-20 21:36 ` [kernel-hardening] " Theodore Ts'o
2016-12-20 21:36   ` Theodore Ts'o
2016-12-20 23:07   ` [kernel-hardening] " George Spelvin
2016-12-20 23:07     ` George Spelvin
2016-12-20 23:55   ` [kernel-hardening] " Eric Dumazet
2016-12-20 23:55     ` Eric Dumazet
2016-12-21  3:28     ` [kernel-hardening] " George Spelvin
2016-12-21  3:28       ` George Spelvin
2016-12-21  5:29       ` [kernel-hardening] " Eric Dumazet
2016-12-21  5:29         ` Eric Dumazet
2016-12-21  6:34         ` [kernel-hardening] " George Spelvin
2016-12-21  6:34           ` George Spelvin
2016-12-21 14:24           ` [kernel-hardening] " Jason A. Donenfeld
2016-12-21 14:24             ` Jason A. Donenfeld
2016-12-21 15:55             ` [kernel-hardening] " George Spelvin
2016-12-21 15:55               ` George Spelvin
2016-12-21 16:37               ` [kernel-hardening] " Jason A. Donenfeld
2016-12-21 16:37                 ` Jason A. Donenfeld
2016-12-21 16:41               ` [kernel-hardening] " Rik van Riel
2016-12-21 17:25               ` Linus Torvalds
2016-12-21 17:25                 ` Linus Torvalds
2016-12-21 18:07                 ` [kernel-hardening] " George Spelvin
2016-12-21 18:07                   ` George Spelvin
2016-12-22  1:54                 ` [kernel-hardening] " Andy Lutomirski
2016-12-22  1:54                   ` Andy Lutomirski
2016-12-21 14:42         ` [kernel-hardening] " Jason A. Donenfeld
2016-12-21 14:42           ` Jason A. Donenfeld
2016-12-21 15:56           ` [kernel-hardening] " Eric Dumazet
2016-12-21 15:56             ` Eric Dumazet
2016-12-21 16:33             ` [kernel-hardening] " Jason A. Donenfeld
2016-12-21 16:33               ` Jason A. Donenfeld
2016-12-21 16:39             ` Rik van Riel [this message]
2016-12-21 17:08               ` [kernel-hardening] " Eric Dumazet
2016-12-21 18:37             ` George Spelvin
2016-12-21 18:37               ` George Spelvin
2016-12-21 18:40               ` [kernel-hardening] " Jason A. Donenfeld
2016-12-21 18:40                 ` Jason A. Donenfeld
2016-12-21 22:27               ` [kernel-hardening] " Theodore Ts'o
2016-12-21 22:27                 ` Theodore Ts'o
2016-12-22  0:18                 ` [kernel-hardening] " George Spelvin
2016-12-22  0:18                   ` George Spelvin
2016-12-22  1:13                 ` [kernel-hardening] " George Spelvin
2016-12-22  1:13                   ` George Spelvin
  -- strict thread matches above, loose matches on Subject: below --
2016-12-21 22:29 [kernel-hardening] " Jason A. Donenfeld
2016-12-22  3:55 ` George Spelvin
2016-12-22  4:40   ` Jason A. Donenfeld

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=1482338385.11006.67.camel@redhat.com \
    --to=riel@redhat.com \
    --cc=David.Laight@aculab.com \
    --cc=Jason@zx2c4.com \
    --cc=ak@linux.intel.com \
    --cc=davem@davemloft.net \
    --cc=djb@cr.yp.to \
    --cc=ebiggers3@gmail.com \
    --cc=hannes@stressinduktion.org \
    --cc=jeanphilippe.aumasson@gmail.com \
    --cc=kernel-hardening@lists.openwall.com \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@sciencehorizons.net \
    --cc=luto@amacapital.net \
    --cc=netdev@vger.kernel.org \
    --cc=tom@herbertland.com \
    --cc=torvalds@linux-foundation.org \
    --cc=tytso@mit.edu \
    --cc=vegard.nossum@gmail.com \
    /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 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.