[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5] crypto: Introduce SM4 symmetric cipher algorithm
From: |
Daniel P . Berrangé |
Subject: |
Re: [PATCH v5] crypto: Introduce SM4 symmetric cipher algorithm |
Date: |
Fri, 8 Dec 2023 09:31:31 +0000 |
User-agent: |
Mutt/2.2.10 (2023-03-25) |
On Thu, Dec 07, 2023 at 11:30:45PM +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.
>
> Use the crypto-sm4 meson build option to explicitly control the
> feature, which would be detected by default.
>
> 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(-)
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
and I've queued this patch for the next release cycle
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 :|