diff options
author | Vakul Garg | 2019-02-14 07:11:35 +0000 |
---|---|---|
committer | David S. Miller | 2019-02-19 10:40:36 -0800 |
commit | 4509de14680084141d3514c3b87bd9d070fc366d (patch) | |
tree | 7b0e29e68ef0c1e526eed22713d0168ea7654b1f /include/net/arp.h | |
parent | c9b747dbc2036c917b1067fbb78dc38b105c4454 (diff) |
net/tls: Move protocol constants from cipher context to tls context
Each tls context maintains two cipher contexts (one each for tx and rx
directions). For each tls session, the constants such as protocol
version, ciphersuite, iv size, associated data size etc are same for
both the directions and need to be stored only once per tls context.
Hence these are moved from 'struct cipher_context' to 'struct
tls_prot_info' and stored only once in 'struct tls_context'.
Signed-off-by: Vakul Garg <vakul.garg@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/arp.h')
0 files changed, 0 insertions, 0 deletions