]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf42161b4bed8394f3d1a53d78af187a76bcb255f
tree5cb2d79fb8e81523ce69d0af7a1e1d7177478709
parentda63063611205f9dcbc37de07db2d466c162664d
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