[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v6] crypto: Introduce SM4 symmetric cipher algorithm
From: |
Daniel P . Berrangé |
Subject: |
Re: [PATCH v6] crypto: Introduce SM4 symmetric cipher algorithm |
Date: |
Fri, 8 Dec 2023 09:33:26 +0000 |
User-agent: |
Mutt/2.2.10 (2023-03-25) |
On Thu, Dec 07, 2023 at 11:47:35PM +0800, Hyman Huang wrote:
> Introduce the SM4 cipher algorithms (OSCCA GB/T 32907-2016).
>
> SM4 (GBT.32907-2016) is a cryptographic standard issued by the
> Organization of State Commercial Administration of China (OSCCA)
> as an authorized cryptographic algorithms for the use within China.
>
> Detect the SM4 cipher algorithms and enable the feature silently
> if it is available.
>
> Signed-off-by: Hyman Huang <yong.huang@smartx.com>
> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
> crypto/block-luks.c | 11 ++++++++
> crypto/cipher-gcrypt.c.inc | 8 ++++++
> crypto/cipher-nettle.c.inc | 49 +++++++++++++++++++++++++++++++++
> crypto/cipher.c | 6 ++++
> meson.build | 26 +++++++++++++++++
> qapi/crypto.json | 5 +++-
> tests/unit/test-crypto-cipher.c | 13 +++++++++
> 7 files changed, 117 insertions(+), 1 deletion(-)
Ok, queued this version instead of v5.
With regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|