Skip to content

Keem Bay OCS ECC crypto driver

Daniele Alessandrelli linux-crypto linux-devicetree 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5crypto: engine - Add KPP Support to Crypto EngineDocumentation/crypto/crypto_engine.rst crypto/crypto_engine.c include/crypto/engine.h+35 -00 replies
2/5crypto: ecc - Move ecc.h to include/crypto/internalcrypto/ecc.c crypto/ecdh.c crypto/ecdsa.c +3 more+5 -50 replies
3/5crypto: ecc - Export additional helper functionscrypto/ecc.c include/crypto/internal/ecc.h+44 -40 replies
4/5dt-bindings: crypto: Add Keem Bay ECC bindingsDocumentation/devicetree/bindings/crypto/intel,keembay-ocs-ecc.yaml MAINTAINERS+54 -01 reply
5/5crypto: keembay-ocs-ecc - Add Keem Bay OCS ECC DriverMAINTAINERS drivers/crypto/keembay/Kconfig drivers/crypto/keembay/Makefile +1 more+1042 -00 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchRob Herring
1/5
2/5
3/5
4/5R-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] Keem Bay OCS ECC crypto driver

Hi,

This patch series adds the Intel Keem Bay OCS ECC crypto driver, which enables hardware-accelerated 'ecdh-nist-p256' and 'ecdh-nist-p384' on the Intel Keem Bay SoC.

The following changes to core crypto code are also done:
- KPP support is added to the crypto engine (so that the new driver can use it).
- 'crypto/ecc.h' is moved to 'include/crypto/internal' (so that this and other drivers can use the symbols exported by 'crypto/ecc.c').
- A few additional functions from 'crypto/ecc.c' are exported (so that this and other drivers can use them and avoid code duplication).

The driver passes crypto manager self-tests.

A previous version of this patch series was submitted as an RFC:
https://lore.kernel.org/linux-crypto/[email protected]/

Changes from previous RFC submission (RFC-v1):
- Switched to the new 'ecdh-nist-p256' and 'ecdh-nist-p384' algorithm names
- Dropped the CONFIG_CRYPTO_DEV_KEEMBAY_OCS_ECDH_GEN_PRIV_KEY_SUPPORT Kconfig option

Daniele Alessandrelli (2):
crypto: ecc - Move ecc.h to include/crypto/internal
crypto: ecc - Export additional helper functions

Prabhjot Khurana (3):
crypto: engine - Add KPP Support to Crypto Engine
dt-bindings: crypto: Add Keem Bay ECC bindings
crypto: keembay-ocs-ecc - Add Keem Bay OCS ECC Driver

 Documentation/crypto/crypto_engine.rst        |    4 +
 .../crypto/intel,keembay-ocs-ecc.yaml         |   47 +
 MAINTAINERS                                   |   11 +
 crypto/crypto_engine.c                        |   26 +
 crypto/ecc.c                                  |   14 +-
 crypto/ecdh.c                                 |    2 +-
 crypto/ecdsa.c                                |    2 +-
 crypto/ecrdsa.c                               |    2 +-
 crypto/ecrdsa_defs.h                          |    2 +-
 drivers/crypto/keembay/Kconfig                |   19 +
 drivers/crypto/keembay/Makefile               |    2 +
 drivers/crypto/keembay/keembay-ocs-ecc.c      | 1017 +++++++++++++++++
 include/crypto/engine.h                       |    5 +
 {crypto => include/crypto/internal}/ecc.h     |   36 +
 14 files changed, 1180 insertions(+), 9 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/crypto/intel,keembay-ocs-ecc.yaml
 create mode 100644 drivers/crypto/keembay/keembay-ocs-ecc.c
 rename {crypto => include/crypto/internal}/ecc.h (90%)

base-commit: 06f6e365e2ecf799c249bb464aa9d5f055e88b56

Signature · 1 line
2.31.1