Thread (20 messages) flat view 20 messages, 6 authors, 2016-12-27

Re: [RFC PATCH 4.10 1/6] crypto/sha256: Refactor the API so it can be used without shash

From: Ard Biesheuvel <hidden>
Date: 2016-12-26 17:52:18
Also in: lkml, netdev

On 26 December 2016 at 07:57, Herbert Xu [off-list ref] wrote:
On Sat, Dec 24, 2016 at 09:57:53AM -0800, Andy Lutomirski wrote:
quoted
I actually do use incremental hashing later on.   BPF currently
vmallocs() a big temporary buffer just so it can fill it and hash it.
I change it to hash as it goes.
How much data is this supposed to hash on average? If it's a large
amount then perhaps using the existing crypto API would be a better
option than adding this.
This is a good point actually: you didn't explain *why* BPF shouldn't
depend on the crypto API.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help