Re: [PATCH 08/15] crypto: poly1305 - Use API partial block handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 24, 2025 at 06:47:14PM +0800, Herbert Xu wrote:
> Also add a setkey function that may be used instead of setting
> the key through the first two blocks.

So now users randomly need to "clone" the tfm for each request.  Which is easy
to forget to do (causing key reuse), and also requires a memory allocation.

Well, good thing most of the users are just using the Poly1305 library instead
of the broken Crypto API mess.

- Eric




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux