sctp: add sctp_auth_init and sctp_auth_free
authorXin Long <lucien.xin@gmail.com>
Mon, 19 Aug 2019 14:02:48 +0000 (22:02 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Aug 2019 01:27:29 +0000 (18:27 -0700)
commit03f961270f4256fe9f47b94aea889bd26877216b
tree17cafda52c0aeebd645503c8227379d8a92b2120
parent219f9ea4d3b797f0337dece61e4e8255840e47d0
sctp: add sctp_auth_init and sctp_auth_free

This patch is to factor out sctp_auth_init and sctp_auth_free
functions, and sctp_auth_init will also be used in the next
patch for SCTP_AUTH_SUPPORTED sockopt.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/auth.h
net/sctp/auth.c
net/sctp/endpointola.c