ACK: [J][PATCH 0/2] In-kernel crypto: SIMD implementation of chacha20 (LP: 1853152)

Tim Gardner tim.gardner at canonical.com
Fri Feb 25 13:06:03 UTC 2022


Acked-by: Tim Gardner <tim.gardner at canonical.com>

On 2/24/22 12:11, frank.heimes at canonical.com wrote:
> BugLink: https://bugs.launchpad.net/bugs/1853152
> 
> Recent kernel releases provide support for the chacha20 cipher and among
> others use it to compute pseudo random numbers for /dev/urandom. Chacha20
> is a type of algorithm that can be accelerated using SIMD instructions.
> The goal of this item is to use z System SIMD instruction
> to implement chacha20.
> 
> Heiko Carstens (1):
>    s390/crypto: fix compile error for ChaCha20 module
> 
> Patrick Steuer (1):
>    s390/crypto: add SIMD implementation for ChaCha20
> 
>   arch/s390/configs/debug_defconfig |   1 +
>   arch/s390/configs/defconfig       |   1 +
>   arch/s390/crypto/Makefile         |   2 +
>   arch/s390/crypto/chacha-glue.c    | 100 ++++
>   arch/s390/crypto/chacha-s390.S    | 907 ++++++++++++++++++++++++++++++
>   arch/s390/crypto/chacha-s390.h    |  14 +
>   arch/s390/include/asm/vx-insn.h   | 117 ++++
>   drivers/crypto/Kconfig            |  12 +
>   8 files changed, 1154 insertions(+)
>   create mode 100644 arch/s390/crypto/chacha-glue.c
>   create mode 100644 arch/s390/crypto/chacha-s390.S
>   create mode 100644 arch/s390/crypto/chacha-s390.h
> 

-- 
-----------
Tim Gardner
Canonical, Inc



More information about the kernel-team mailing list