Re: [RFC PATCH v2 0/4] Exporting existing crypto API code through zinc

From: Jason A. Donenfeld
Date: Tue Nov 20 2018 - 11:18:42 EST


Hi Herbert,

On Tue, Nov 20, 2018 at 7:02 AM Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote:
> Here is an updated version demonstrating how we could access the
> accelerated versions of chacha20. It also includes a final patch
> to deposit the new zinc version of x86-64 chacha20 into
> arch/x86/crypto where it can be used by both the crypto API as well
> as zinc.

N'ack. As I mentioned in the last email, this really isn't okay, and
mostly defeats the purpose of Zinc in the first place, adding
complexity in a discombobulated half-baked way. Your proposal seems to
be the worst of all worlds. Having talked to lots of people about the
design of Zinc at this point to very positive reception, I'm going to
move forward with submitting v9, once I rebase with the required
changes for Eric's latest merge.

Jason