]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/tls: add a bidirectional test
authorJakub Kicinski <jakub.kicinski@netronome.com>
Fri, 19 Jul 2019 17:29:25 +0000 (10:29 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 22 Jul 2019 14:04:17 +0000 (16:04 +0200)
commitf807e07e3d62f594e8dc928cfeed07b686c9f285
treefb598a3bcfc0906caab3f7cd56633291a3e14796
parent2f94f3711371c92041cc8c02013ff1caf4f18421
selftests/tls: add a bidirectional test

Add a simple test which installs the TLS state for both directions,
sends and receives data on both sockets.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/net/tls.c