Re: [PATCH v2 01/20] crypto: chacha - move existing library code into lib/crypto

2019-10-04 Thread Jason A. Donenfeld
On Wed, Oct 02, 2019 at 04:16:54PM +0200, Ard Biesheuvel wrote: > > chacha_permute(x, nrounds); Interested in porting my single-statement unrolled implementation from Zinc to this? I did see performance improvements on various platforms.

Re: [PATCH v2 01/20] crypto: chacha - move existing library code into lib/crypto

2019-10-02 Thread Greg KH
On Wed, Oct 02, 2019 at 04:16:54PM +0200, Ard Biesheuvel wrote: > Move the existing shared ChaCha code into lib/crypto, and at the > same time, split the support header into a public version, and an > internal version that is only intended for consumption by crypto > implementations. > > At the sa

[PATCH v2 01/20] crypto: chacha - move existing library code into lib/crypto

2019-10-02 Thread Ard Biesheuvel
Move the existing shared ChaCha code into lib/crypto, and at the same time, split the support header into a public version, and an internal version that is only intended for consumption by crypto implementations. At the same time, refactor the generic implementation so it only gets exposed as the