Linux-Crypto Archive mirror
 help / color / mirror / Atom feed
From: Herbert Xu <herbert@gondor.apana.org.au>
To: Pavitrakumar Managutte <pavitrakumarm@vayavyalabs.com>
Cc: linux-crypto@vger.kernel.org, Ruud.Derwig@synopsys.com,
	manjunath.hadli@vayavyalabs.com, bhoomikak@vayavyalabs.com
Subject: Re: [PATCH v3 3/7] Add SPAcc ahash support
Date: Thu, 16 May 2024 11:15:50 +0800	[thread overview]
Message-ID: <ZkV6ZmONMHEX7BQy@gondor.apana.org.au> (raw)
In-Reply-To: <CALxtO0myn63AwPh4vck7fpuJcttPJYLBM3TpsyBAexCMSa4GcQ@mail.gmail.com>

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@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

  reply	other threads:[~2024-05-16  3:15 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-26  4:25 [PATCH v3 0/7] Add SPAcc crypto driver support Pavitrakumar M
2024-04-26  4:25 ` [PATCH v3 1/7] Add SPAcc Skcipher support Pavitrakumar M
2024-04-26  4:25 ` [PATCH v3 2/7] Enable SPAcc AUTODETECT Pavitrakumar M
2024-04-26  4:25 ` [PATCH v3 3/7] Add SPAcc ahash support Pavitrakumar M
2024-05-03 10:29   ` Herbert Xu
2024-05-07  4:19     ` Pavitrakumar Managutte
2024-05-10  8:03       ` Herbert Xu
2024-05-16  3:11         ` Pavitrakumar Managutte
2024-05-16  3:15           ` Herbert Xu [this message]
2024-05-16  3:50             ` Pavitrakumar Managutte
     [not found]               ` <CALxtO0mz6ehEowBr94MZqG3+P9tV1ZaomP5K3n1F2VSuRzn=1A@mail.gmail.com>
2024-05-21  2:13                 ` Herbert Xu
2024-04-26  4:25 ` [PATCH v3 4/7] Add SPAcc aead support Pavitrakumar M
2024-04-26  4:25 ` [PATCH v3 5/7] Add SPAcc Kconfig and Makefile Pavitrakumar M
2024-04-26  4:25 ` [PATCH v3 6/7] Add SPAcc node zynqmp dts Pavitrakumar M
2024-04-26  4:25 ` [PATCH v3 7/7] Enable Driver compilation in crypto Kconfig and Makefile Pavitrakumar M

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZkV6ZmONMHEX7BQy@gondor.apana.org.au \
    --to=herbert@gondor.apana.org.au \
    --cc=Ruud.Derwig@synopsys.com \
    --cc=bhoomikak@vayavyalabs.com \
    --cc=linux-crypto@vger.kernel.org \
    --cc=manjunath.hadli@vayavyalabs.com \
    --cc=pavitrakumarm@vayavyalabs.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).