linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Pavitrakumar M <pavitrakumarm@vayavyalabs.com>,
	linux-crypto@vger.kernel.org, Ruud.Derwig@synopsys.com,
	manjunath.hadli@vayavyalabs.com, bhoomikak@vayavyalabs.com
Subject: Re: [PATCH v7 0/6] Add SPAcc Crypto Driver Support
Date: Tue, 3 Sep 2024 12:25:09 -0500	[thread overview]
Message-ID: <20240903172509.GA1754429-robh@kernel.org> (raw)
In-Reply-To: <ZrcHGxcYnsejQ7H_@gondor.apana.org.au>

On Sat, Aug 10, 2024 at 02:22:19PM +0800, Herbert Xu wrote:
> On Mon, Jul 29, 2024 at 09:43:44AM +0530, Pavitrakumar M wrote:
> > Add the driver for SPAcc(Security Protocol Accelerator), which is a
> > crypto acceleration IP from Synopsys. The SPAcc supports many cipher,
> > hash, aead algorithms and various modes.The driver currently supports
> > below,
> > 
> > aead:
> > - ccm(sm4)
> > - ccm(aes)
> > - gcm(sm4)
> > - gcm(aes)
> > - rfc7539(chacha20,poly1305)
> > 
> > cipher:
> > - cbc(sm4)
> > - ecb(sm4)
> > - ctr(sm4)
> > - xts(sm4)
> > - cts(cbc(sm4))
> > - cbc(aes)
> > - ecb(aes)
> > - xts(aes)
> > - cts(cbc(aes))
> > - ctr(aes)
> > - chacha20
> > - ecb(des)
> > - cbc(des)
> > - ecb(des3_ede)
> > - cbc(des3_ede)
> > 
> > hash:
> > - cmac(aes)
> > - xcbc(aes)
> > - cmac(sm4)
> > - xcbc(sm4) 
> > - hmac(md5)
> > - md5
> > - hmac(sha1)
> > - sha1
> > - sha224
> > - sha256
> > - sha384
> > - sha512
> > - hmac(sha224)
> > - hmac(sha256)
> > - hmac(sha384)
> > - hmac(sha512)
> > - sha3-224
> > - sha3-256
> > - sha3-384
> > - sha3-512
> > - hmac(sm3)
> > - sm3
> > - michael_mic
> > 
> > Pavitrakumar M (6):
> >   Add SPAcc Skcipher support
> >   Enable SPAcc AUTODETECT
> >   Add SPAcc ahash support
> >   Add SPAcc aead support
> >   Add SPAcc Kconfig and Makefile
> >   Enable Driver compilation in crypto Kconfig and Makefile
> > 
> >  drivers/crypto/Kconfig                     |    1 +
> >  drivers/crypto/Makefile                    |    1 +
> >  drivers/crypto/dwc-spacc/Kconfig           |   95 +
> >  drivers/crypto/dwc-spacc/Makefile          |   16 +
> >  drivers/crypto/dwc-spacc/spacc_aead.c      | 1260 ++++++++++
> >  drivers/crypto/dwc-spacc/spacc_ahash.c     |  914 +++++++
> >  drivers/crypto/dwc-spacc/spacc_core.c      | 2512 ++++++++++++++++++++
> >  drivers/crypto/dwc-spacc/spacc_core.h      |  826 +++++++
> >  drivers/crypto/dwc-spacc/spacc_device.c    |  340 +++
> >  drivers/crypto/dwc-spacc/spacc_device.h    |  231 ++
> >  drivers/crypto/dwc-spacc/spacc_hal.c       |  367 +++
> >  drivers/crypto/dwc-spacc/spacc_hal.h       |  114 +
> >  drivers/crypto/dwc-spacc/spacc_interrupt.c |  316 +++
> >  drivers/crypto/dwc-spacc/spacc_manager.c   |  650 +++++
> >  drivers/crypto/dwc-spacc/spacc_skcipher.c  |  712 ++++++
> >  15 files changed, 8355 insertions(+)
> >  create mode 100644 drivers/crypto/dwc-spacc/Kconfig
> >  create mode 100644 drivers/crypto/dwc-spacc/Makefile
> >  create mode 100755 drivers/crypto/dwc-spacc/spacc_aead.c
> >  create mode 100644 drivers/crypto/dwc-spacc/spacc_ahash.c
> >  create mode 100644 drivers/crypto/dwc-spacc/spacc_core.c
> >  create mode 100644 drivers/crypto/dwc-spacc/spacc_core.h
> >  create mode 100644 drivers/crypto/dwc-spacc/spacc_device.c
> >  create mode 100644 drivers/crypto/dwc-spacc/spacc_device.h
> >  create mode 100644 drivers/crypto/dwc-spacc/spacc_hal.c
> >  create mode 100644 drivers/crypto/dwc-spacc/spacc_hal.h
> >  create mode 100644 drivers/crypto/dwc-spacc/spacc_interrupt.c
> >  create mode 100644 drivers/crypto/dwc-spacc/spacc_manager.c
> >  create mode 100644 drivers/crypto/dwc-spacc/spacc_skcipher.c
> > 
> > 
> > base-commit: 95c0f5c3b8bb7acdc5c4f04bc6a7d3f40d319e9e
> > -- 
> > 2.25.1
> 
> All applied.  Thanks.

Please drop it. Amongst other problems I pointed out in patch, there's 
no binding for this nor will one be accepted as-is. The author has had 2 
weeks to address it.

Rob

  reply	other threads:[~2024-09-03 17:25 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-29  4:13 [PATCH v7 0/6] Add SPAcc Crypto Driver Support Pavitrakumar M
2024-07-29  4:13 ` [PATCH v7 1/6] Add SPAcc Skcipher support Pavitrakumar M
2024-08-14 15:41   ` Dan Carpenter
2024-08-16 16:22   ` Rob Herring
2024-07-29  4:13 ` [PATCH v7 2/6] Enable SPAcc AUTODETECT Pavitrakumar M
2024-07-29  4:13 ` [PATCH v7 3/6] Add SPAcc ahash support Pavitrakumar M
2024-07-29  4:13 ` [PATCH v7 4/6] Add SPAcc aead support Pavitrakumar M
2024-08-15  6:06   ` Dan Carpenter
2024-08-15  8:39     ` Herbert Xu
2024-08-15  8:40       ` Herbert Xu
2024-07-29  4:13 ` [PATCH v7 5/6] Add SPAcc Kconfig and Makefile Pavitrakumar M
2024-07-29  4:13 ` [PATCH v7 6/6] Enable Driver compilation in crypto " Pavitrakumar M
2024-08-10  6:22 ` [PATCH v7 0/6] Add SPAcc Crypto Driver Support Herbert Xu
2024-09-03 17:25   ` Rob Herring [this message]
2024-09-03 22:59     ` Herbert Xu
2024-09-04  2:54       ` Pavitrakumar Managutte
2024-09-04  3:29         ` Herbert Xu
     [not found]           ` <CALxtO0n==jLP=5cb3yJduFgbP=vdZ3FNX4OpCv2K1uoaqYbPEg@mail.gmail.com>
2024-09-05 11:41             ` Pavitrakumar Managutte
     [not found]       ` <CALxtO0n9gjX80tGEFtA_6FH+3EtxuVje4Ot58WvQXXNtDwSSkw@mail.gmail.com>
2024-09-04  3:08         ` Herbert Xu
2024-09-04  3:16           ` Pavitrakumar Managutte

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=20240903172509.GA1754429-robh@kernel.org \
    --to=robh@kernel.org \
    --cc=Ruud.Derwig@synopsys.com \
    --cc=bhoomikak@vayavyalabs.com \
    --cc=herbert@gondor.apana.org.au \
    --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 NNTP newsgroup(s).