]> 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)
commit49ffcbb22341188b3f82391dd4f6cfc8f074b84a
tree9d7cac6b79e19d9703e2ec62f1b2943a54c8c4f8
parent62d96fc053cd88974ca4503d779f9892d8ac6090
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