net: tls: Support 256 bit keys
Wire up support for 256 bit keys from the setsockopt to the crypto framework Signed-off-by: Dave Watson <davejwatson@fb.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
d3a5fd3c98
commit
fb99bce712
@@ -206,7 +206,10 @@ struct cipher_context {
|
||||
|
||||
union tls_crypto_context {
|
||||
struct tls_crypto_info info;
|
||||
struct tls12_crypto_info_aes_gcm_128 aes_gcm_128;
|
||||
union {
|
||||
struct tls12_crypto_info_aes_gcm_128 aes_gcm_128;
|
||||
struct tls12_crypto_info_aes_gcm_256 aes_gcm_256;
|
||||
};
|
||||
};
|
||||
|
||||
struct tls_context {
|
||||
|
Reference in New Issue
Block a user