|
|
Subscribe / Log in / New account

Add Aspeed crypto driver for hardware acceleration

From:  Neal Liu <neal_liu-AT-aspeedtech.com>
To:  Herbert Xu <herbert-AT-gondor.apana.org.au>, "David S . Miller" <davem-AT-davemloft.net>, Rob Herring <robh+dt-AT-kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt-AT-linaro.org>, Joel Stanley <joel-AT-jms.id.au>, "Andrew Jeffery" <andrew-AT-aj.id.au>, Johnny Huang <johnny_huang-AT-aspeedtech.com>
Subject:  [PATCH 0/5] Add Aspeed crypto driver for hardware acceleration
Date:  Wed, 01 Jun 2022 13:41:59 +0800
Message-ID:  <20220601054204.1522976-1-neal_liu@aspeedtech.com>
Cc:  <linux-aspeed-AT-lists.ozlabs.org>, <linux-crypto-AT-vger.kernel.org>, <devicetree-AT-vger.kernel.org>, <linux-arm-kernel-AT-lists.infradead.org>, <linux-kernel-AT-vger.kernel.org>
Archive-link:  Article

Aspeed Hash and Crypto Engine (HACE) is designed to accelerate the
throughput of hash data digest, encryption and decryption.

These patches aim to add Aspeed hash & crypto driver support.
The hash & crypto driver also pass the run-time self tests that
take place at algorithm registration.

Neal Liu (5):
  crypto: aspeed: Add HACE hash driver
  dt-bindings: clock: Add AST2600 HACE reset definition
  ARM: dts: aspeed: Add HACE device controller node
  dt-bindings: crypto: add documentation for aspeed hace
  crypto: aspeed: add HACE crypto driver

 .../bindings/crypto/aspeed,hace.yaml          |   58 +
 MAINTAINERS                                   |    7 +
 arch/arm/boot/dts/aspeed-g6.dtsi              |    9 +
 drivers/crypto/Kconfig                        |    1 +
 drivers/crypto/Makefile                       |    1 +
 drivers/crypto/aspeed/Kconfig                 |   38 +
 drivers/crypto/aspeed/Makefile                |    8 +
 drivers/crypto/aspeed/aspeed-hace-crypto.c    | 1019 +++++++++++++
 drivers/crypto/aspeed/aspeed-hace-hash.c      | 1335 +++++++++++++++++
 drivers/crypto/aspeed/aspeed-hace.c           |  305 ++++
 drivers/crypto/aspeed/aspeed-hace.h           |  286 ++++
 include/dt-bindings/clock/ast2600-clock.h     |    1 +
 12 files changed, 3068 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/crypto/aspeed,hace.yaml
 create mode 100644 drivers/crypto/aspeed/Kconfig
 create mode 100644 drivers/crypto/aspeed/Makefile
 create mode 100644 drivers/crypto/aspeed/aspeed-hace-crypto.c
 create mode 100644 drivers/crypto/aspeed/aspeed-hace-hash.c
 create mode 100644 drivers/crypto/aspeed/aspeed-hace.c
 create mode 100644 drivers/crypto/aspeed/aspeed-hace.h

-- 
2.25.1



Copyright © 2022, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds