]> git.proxmox.com Git - mirror_ubuntu-impish-kernel.git/commit
UBUNTU: SAUCE: selftests: tls: fix chacha+bidir tests
authorJakub Kicinski <kuba@kernel.org>
Fri, 18 Jun 2021 20:25:04 +0000 (13:25 -0700)
committerAndrea Righi <andrea.righi@canonical.com>
Mon, 28 Jun 2021 06:04:08 +0000 (08:04 +0200)
commite39b028a789aae9d609224d5d8f3618ade566ac2
tree2eb9f54332a6d8bb0b00bcc082d15f9e4bfeecdb
parent03116b2bc441f6bf44b0f2cbc2a7c0517be1f390
UBUNTU: SAUCE: selftests: tls: fix chacha+bidir tests

ChaCha support did not adjust the bidirectional test.
We need to set up KTLS in reverse direction correctly,
otherwise these two cases will fail:

  tls.12_chacha.bidir
  tls.13_chacha.bidir

Fixes: 4f336e88a870 ("selftests/tls: add CHACHA20-POLY1305 to tls selftests")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Link: https://lore.kernel.org/r/20210618202504.1435179-2-kuba@kernel.org
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
tools/testing/selftests/net/tls.c