Re: [PATCH v3 3/7] Add SPAcc ahash support

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

 



Sure Herbert,
  Thanks a lot for the quick reply.
  I will update the partial hashing code to do a software fallback and
push the patch.

Warm regards,
PK


On Thu, May 16, 2024 at 8:45 AM Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote:
>
> On Thu, May 16, 2024 at 08:41:57AM +0530, Pavitrakumar Managutte wrote:
> > Hi Herbert,
> >    The SPAcc crypto accelerator has the below design
> >
> >    1. The SPAcc does not allow us to read internal context (including
> > the intermediate hash).
> >        The hardware context is inaccessible for security reasons.
>
> In that case you cannot support the partial hashing APIs in Linux.
>
> You should use a software fallback for everything but the digest
> call.
>
> 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