summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h
diff options
context:
space:
mode:
authorVakul Garg2019-02-14 08:11:35 +0100
committerDavid S. Miller2019-02-19 19:40:36 +0100
commit4509de14680084141d3514c3b87bd9d070fc366d (patch)
tree7b0e29e68ef0c1e526eed22713d0168ea7654b1f /drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h
parentbnx2x: Remove set but not used variable 'mfw_vn' (diff)
downloadkernel-qcow2-linux-4509de14680084141d3514c3b87bd9d070fc366d.tar.gz
kernel-qcow2-linux-4509de14680084141d3514c3b87bd9d070fc366d.tar.xz
kernel-qcow2-linux-4509de14680084141d3514c3b87bd9d070fc366d.zip
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 'drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h')
0 files changed, 0 insertions, 0 deletions