]> git.baikalelectronics.ru Git - kernel.git/commit
net/tls: support SM4 GCM/CCM algorithm
authorTianjia Zhang <tianjia.zhang@linux.alibaba.com>
Thu, 16 Sep 2021 03:37:38 +0000 (11:37 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Sep 2021 13:36:26 +0000 (14:36 +0100)
commitf3f1300b1dc0f806fc7407544e3d30672108c32a
treeff65b8bc94c89fa11eb9425f252876a84937e825
parentd24ac1e24ea74dd6cd1b04071f49a0b3b3281ee6
net/tls: support SM4 GCM/CCM algorithm

The RFC8998 specification defines the use of the ShangMi algorithm
cipher suites in TLS 1.3, and also supports the GCM/CCM mode using
the SM4 algorithm.

Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>
Acked-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/tls.h
net/tls/tls_main.c
net/tls/tls_sw.c