net/tls: support SM4 CCM algorithm
authorTianjia Zhang <tianjia.zhang@linux.alibaba.com>
Tue, 28 Sep 2021 06:28:43 +0000 (14:28 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Sep 2021 12:26:23 +0000 (13:26 +0100)
commit128cfb882e23df297527d0bbd6bf948bd63fa621
tree51faeb63c4c46e0566bddccd60731123dedf9176
parent1817750bdc676bac6d1886799023b03c16e9548f
net/tls: support SM4 CCM algorithm

The IV of CCM mode has special requirements, this patch supports CCM
mode of SM4 algorithm.

Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tls.h
net/tls/tls_sw.c