net/tls: getsockopt supports complete algorithm list
authorTianjia Zhang <tianjia.zhang@linux.alibaba.com>
Mon, 25 Oct 2021 13:05:00 +0000 (21:05 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Oct 2021 14:55:30 +0000 (15:55 +0100)
commit3fb59a5de5cbb04de76915d9f5bff01d16aa1fc4
tree2b2c6e102c7c1494c7a62623229f95070c064f48
parent39d8fb96e3d74aa55143eb1d076800af87505cfa
net/tls: getsockopt supports complete algorithm list

AES_CCM_128 and CHACHA20_POLY1305 are already supported by tls,
similar to setsockopt, getsockopt also needs to support these
two algorithms.

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