OSDN Git Service

tcp: introduce __tcp_fastopen_cookie_gen_cipher()
authorChristoph Paasch <cpaasch@apple.com>
Wed, 29 May 2019 16:33:56 +0000 (12:33 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 May 2019 20:41:26 +0000 (13:41 -0700)
commit483642e5ea1dfa517cb7dba606d8b66ef2dd7791
tree5cb2d79fb8e81523ce69d0af7a1e1d7177478709
parent5b5d331a2c933268eae8da85df43279878392772
tcp: introduce __tcp_fastopen_cookie_gen_cipher()

Restructure __tcp_fastopen_cookie_gen() to take a 'struct crypto_cipher'
argument and rename it as __tcp_fastopen_cookie_gen_cipher(). Subsequent
patches will provide different ciphers based on which key is being used for
the cookie generation.

Signed-off-by: Christoph Paasch <cpaasch@apple.com>
Signed-off-by: Jason Baron <jbaron@akamai.com>
Acked-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_fastopen.c