RFC 7905 defines usage of ChaCha20-Poly1305 in TLS connections. This cipher is widely used nowadays and it's good to have a support for it in TLS connections in kernel. Changes v2: nit fixes suggested by Jakub Kicinski add linux-crypto to review patch set Vadim Fedorenko (5): net/tls: make inline helpers protocol-aware net/tls: add CHACHA20-POLY1305 specific defines and structures net/tls: add CHACHA20-POLY1305 specific behavior net/tls: add CHACHA20-POLY1305 configuration selftests/tls: add CHACHA20-POLY1305 to tls selftests include/net/tls.h | 32 ++++++++++++++++--------------- include/uapi/linux/tls.h | 15 +++++++++++++++ net/tls/tls_device.c | 2 +- net/tls/tls_device_fallback.c | 13 +++++++------ net/tls/tls_main.c | 3 +++ net/tls/tls_sw.c | 34 ++++++++++++++++++++++++--------- tools/testing/selftests/net/tls.c | 40 ++++++++++++++++++++++++++++++++------- 7 files changed, 101 insertions(+), 38 deletions(-) -- 1.8.3.1