tls: Move tls_make_aad to header to allow sharing
authorIlya Lesokhin <ilyal@mellanox.com>
Mon, 13 Nov 2017 08:22:47 +0000 (10:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Nov 2017 07:26:34 +0000 (16:26 +0900)
commit213ef6e7c9c063c482d77f12cc438872628d48ec
treefeccd86cabb68644e4cdbf011c46ff0def88f9a7
parentff45d820a2df163957ad8ab459b6eb6976144c18
tls: Move tls_make_aad to header to allow sharing

move tls_make_aad as it is going to be reused
by the device offload code and rx path.
Remove unused recv parameter.

Signed-off-by: Ilya Lesokhin <ilyal@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tls.h
net/tls/tls_sw.c