diff options
| author | Sabrina Dubroca <[email protected]> | 2023-08-25 21:35:17 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2023-08-28 00:17:42 +0000 |
| commit | e907277aeb6caad1c4be96e20195f24531fcfefc (patch) | |
| tree | ee435352d8ded7e1e9b9521c83551b50e8a73314 /net/tls/tls_main.c | |
| parent | tls: allocate the fallback aead after checking that the cipher is valid (diff) | |
| download | kernel-e907277aeb6caad1c4be96e20195f24531fcfefc.tar.gz kernel-e907277aeb6caad1c4be96e20195f24531fcfefc.zip | |
tls: expand use of tls_cipher_desc in tls_sw_fallback_init
tls_sw_fallback_init already gets the key and tag size from
tls_cipher_desc. We can now also check that the cipher type is valid,
and stop hard-coding the algorithm name passed to crypto_alloc_aead.
Signed-off-by: Sabrina Dubroca <[email protected]>
Link: https://lore.kernel.org/r/c8c94b8fcafbfb558e09589c1f1ad48dbdf92f76.1692977948.git.sd@queasysnail.net
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/tls/tls_main.c')
0 files changed, 0 insertions, 0 deletions
