]> git.baikalelectronics.ru Git - kernel.git/commit
net/tls: tls_crypto_context add supported algorithms context
authorTianjia Zhang <tianjia.zhang@linux.alibaba.com>
Mon, 25 Oct 2021 13:04:39 +0000 (21:04 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Oct 2021 14:54:46 +0000 (15:54 +0100)
commite19f89ca268809814d920192f2ff545f7e03479a
tree2f9ab2aa9b619e55c278d888b8d9e82deacfbfc3
parent6eec636247697c244b8fc90682382db409f6b9dd
net/tls: tls_crypto_context add supported algorithms context

tls already supports the SM4 GCM/CCM algorithms. It is also necessary
to add support for these two algorithms in tls_crypto_context to avoid
potential issues caused by forced type conversion.

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