]> 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)
commitaa4f2f1c960300f03ba4324f2d1b242f5ceb5a9e
treeff65b8bc94c89fa11eb9425f252876a84937e825
parentc0aaefb654183c9592493dbb36666617c7927531
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