tls: store rec_seq directly within cipher_context
authorSabrina Dubroca <sd@queasysnail.net>
Mon, 9 Oct 2023 20:50:43 +0000 (22:50 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Oct 2023 10:26:09 +0000 (11:26 +0100)
commit6d5029e54700b2427581513c533232b02ce05043
tree6bbec467aea8449f61117d8b973b3a11ed62dee9
parent8f1d532b4a49e196696b0aa150962d7ce96985e4
tls: store rec_seq directly within cipher_context

TLS_MAX_REC_SEQ_SIZE is 8B, we don't get anything by using kmalloc.

Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tls.h
net/tls/tls_device.c
net/tls/tls_main.c
net/tls/tls_sw.c