Re: [PATCH net-next] tls: Remove redundant vars from tls record structure

2018-09-29 Thread David Miller
From: Vakul Garg Date: Wed, 26 Sep 2018 16:22:08 +0530 > Structure 'tls_rec' contains sg_aead_in and sg_aead_out which point > to a aad_space and then chain scatterlists sg_plaintext_data, > sg_encrypted_data respectively. Rather than using chained scatterlists > for plaintext and encrypted data

[PATCH net-next] tls: Remove redundant vars from tls record structure

2018-09-26 Thread Vakul Garg
Structure 'tls_rec' contains sg_aead_in and sg_aead_out which point to a aad_space and then chain scatterlists sg_plaintext_data, sg_encrypted_data respectively. Rather than using chained scatterlists for plaintext and encrypted data in aead_req, it is efficient to store aad_space in