Thread (25 messages) 25 messages, 6 authors, 2022-01-18

Re: [PATCH v2 2/2] random: use BLAKE2s instead of SHA1 in extraction

flat view

From: "Jason A. Donenfeld" <Jason@zx2c4.com>
Date: 2022-01-11 13:03:16
Also in: bpf, lkml

On Tue, Jan 11, 2022 at 1:51 PM Geert Uytterhoeven [off-list ref] wrote:
On Tue, Jan 11, 2022 at 1:28 PM Jason A. Donenfeld [off-list ref] wrote:
quoted
On Tue, Jan 11, 2022 at 12:38 PM Geert Uytterhoeven
[off-list ref] wrote:
quoted
Unfortunately we cannot get rid of the sha1 code yet (lib/sha1.o is
built-in unconditionally), as there are other users...
kernel/bpf/core.c and net/ipv6/addrconf.c
Could they be switched to blake2s, too?
I've brought this up before and the conclusion is that they probably
can't for compatibility reasons. No need to rehash that discussion
again. Alternatively, send a patch to netdev and see how it goes.

Anyway, we can follow up with the code size reduction patches we
discussed elsewhere in this thread.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help