Re: [RFC] crypto: sa2ul - sha1/sha256/sha512 support

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

 



On Wed, May 22, 2024 at 04:42:52PM +0530, Kamlesh Gurudasani wrote:
>
> For incremental hasing, we have to keep the FRAG bit set.
> For last packet, we have to unset the FRAG bit and then send the last
> packet in. But we don't have a way to know if it is last packet.

I don't understand.  Can't your user just submit the request as
a digest instead of init+update+final? Wouldn't that already work
with your driver as is?

Cheers,
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt




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