OSDN Git Service

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)
commit39d8fb96e3d74aa55143eb1d076800af87505cfa
tree2f9ab2aa9b619e55c278d888b8d9e82deacfbfc3
parent2c087dfcc9d5e7e8557d217f01f58ba42d1ddbf1
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