Skip to content

ARM: sun5i: cryptographic engine support

Corentin Labbe linux-arm-kernel linux-crypto 1 version New

Get series with b4
b4 am 20170530115206.GB26229@Red

Versions newest first

  1. v2 Latest0 of 12 patches 0 repliesNew

Patches in v2 No applies recorded yet

None of the 12 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchCorentin Labbe
SeriesT-b A-b

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

Read the v2 thread

Cover letter [PATCH v2 00/12] ARM: sun5i: cryptographic engine support
Quoted 42 lines · Antoine Tenart

Hello,

This series adds the cryptographic engine support to sun5i SoCs. This is based on top of v4.12-rc1 and was tested on a CHIP. The series begins with fixes and improvements. The series is available at:
https://github.com/atenart/linux v4.12-rc1/sun5i-crypto

The 8 first patches are reworks and cosmetic improvements.

Patch 9 moves the cipher part of the sun4i-ss driver from the ablkcipher API to the newer skcipher API.

Patch 10 adds the CRYPTO_ALG_KERN_DRIVER_ONLY flag for ciphers exposed by the sun4i-ss driver.

Patch 11 fixes the crypto framework selftests on the CHIP. It might fix other users too.

Patch 12 adds a cryptographic engine node for sun5i SoCs.

Thanks,
Antoine

Since v1:
- Fixed a typo.
- Made the CRYPTO_ALG_KERN_DRIVER_ONLY flag addition in a dedicated patch.

Antoine Tenart (12):
crypto: sun4i-ss: group variable definitions in sun4i_hash()
crypto: sun4i-ss: remove conditional checks against 0
crypto: sun4i-ss: use lower/upper_32_bits helpers
crypto: sun4i-ss: cannot use DMA is the request is 0 length
crypto: sun4i-ss: do not dynamically set parts of the last buffer to 0
crypto: sun4i-ss: simplify the pad length calculation
crypto: sun4i-ss: simplify the appended bit assignment
crypto: sun4i-ss: use GENMASK to generate masks
crypto: sun4i-ss: move from ablkcipher to skcipher API
crypto: sun4i-ss: add the CRYPTO_ALG_KERN_DRIVER_ONLY flag
crypto: sun4i-ss: fix large block size support
ARM: sun5i: add a cryptographic engine node

Quoted 7 lines
 arch/arm/boot/dts/sun5i.dtsi              |   8 +
 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c | 213 ++++++++++++++-------------
 drivers/crypto/sunxi-ss/sun4i-ss-core.c   | 237 +++++++++++++++---------------
 drivers/crypto/sunxi-ss/sun4i-ss-hash.c   | 138 ++++++++---------
 drivers/crypto/sunxi-ss/sun4i-ss.h        |  34 +++--
 5 files changed, 321 insertions(+), 309 deletions(-)

Hello

Thanks for the work

For the whole serie: