tls: use tls_cipher_desc to access per-cipher crypto_info in tls_set_sw_offload
authorSabrina Dubroca <sd@queasysnail.net>
Fri, 25 Aug 2023 21:35:21 +0000 (23:35 +0200)
committerJakub Kicinski <kuba@kernel.org>
Mon, 28 Aug 2023 00:17:42 +0000 (17:17 -0700)
commit48dfad27fd4045df82eee54186c2513cbfc54c1d
tree3fcb8b5ea3206e73f0239e4e2dea556d03065282
parentd9a6ca1a975839e61c0463a5e29dd8053fd3e8a4
tls: use tls_cipher_desc to access per-cipher crypto_info in tls_set_sw_offload

The crypto_info_* helpers allow us to fetch pointers into the
per-cipher crypto_info's data.

Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Link: https://lore.kernel.org/r/c23af110caf0af6b68de2f86c58064913e2e902a.1692977948.git.sd@queasysnail.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/tls/tls_sw.c