]> git.baikalelectronics.ru Git - kernel.git/commit
net/tls: make inline helpers protocol-aware
authorVadim Fedorenko <vfedorenko@novek.ru>
Tue, 24 Nov 2020 15:24:46 +0000 (18:24 +0300)
committerJakub Kicinski <kuba@kernel.org>
Fri, 27 Nov 2020 22:32:37 +0000 (14:32 -0800)
commit9310d745ee21e76c3e2339c88c7ccc03d769e594
tree9d7cac6b79e19d9703e2ec62f1b2943a54c8c4f8
parenteb76e663f1b8b250d72101863ba96766dd8919e8
net/tls: make inline helpers protocol-aware

Inline functions defined in tls.h have a lot of AES-specific
constants. Remove these constants and change argument to struct
tls_prot_info to have an access to cipher type in later patches

Signed-off-by: Vadim Fedorenko <vfedorenko@novek.ru>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/tls.h
net/tls/tls_device.c
net/tls/tls_device_fallback.c
net/tls/tls_sw.c