]> git.baikalelectronics.ru Git - kernel.git/commit
net/tls: Use cipher sizes structs
authorGal Pressman <gal@nvidia.com>
Tue, 20 Sep 2022 13:01:48 +0000 (16:01 +0300)
committerJakub Kicinski <kuba@kernel.org>
Fri, 23 Sep 2022 00:27:42 +0000 (17:27 -0700)
commitdebb427d705c4bad730b3ac3c7e3b0855a4b65db
tree39d06208e19873d247031905bc35ba02aeb0dc2a
parent082b1542289bc68d2c41c27505756955cf4f7454
net/tls: Use cipher sizes structs

Use the newly introduced cipher sizes structs instead of the repeated
switch cases churn.

Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Gal Pressman <gal@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/tls/tls_device.c
net/tls/tls_device_fallback.c