Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 22 Dec 2016 21:02:29 +0100
From: Hannes Frederic Sowa <>
To: Andy Lutomirski <>,
 Alexei Starovoitov <>
Cc: Daniel Borkmann <>,
 "Jason A. Donenfeld" <>,
 "" <>,
 Theodore Ts'o <>, Netdev <>,
 LKML <>,
 Linux Crypto Mailing List <>,
 David Laight <>, Eric Dumazet <>,
 Linus Torvalds <>,
 Eric Biggers <>, Tom Herbert <>,
 Andi Kleen <>, "David S. Miller" <>,
 Jean-Philippe Aumasson <>
Subject: Re: BPF hash algo (Re: Re: [PATCH v7 3/6] random:
 use SipHash in place of MD5)

On 22.12.2016 20:56, Andy Lutomirski wrote:
> It's also not quite clear to me why userspace needs to be able to
> calculate the digest on its own.  A bpf(BPF_CALC_PROGRAM_DIGEST)
> command that takes a BPF program as input and hashes it would seem to
> serve the same purpose, and that would allow the kernel to key the
> digest and change the algorithm down the road without breaking things.

I think that people expect digests of BPF programs to be stable over
time and reboots.

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.