crypto/crypto_user02.c: new test that tries to delete larval algorithm
PATCH 1/1 crypto/crypto_user02.c: new test that tries to delete larval algorithm
From: Eric Biggers <[email protected]>
Test for a bug in the crypto user configuration API (NETLINK_CRYPTO) where it incorrectly allowed operating on "larval" algorithms.
Signed-off-by Eric Biggers <[email protected]>
--- runtest/crypto | 1 + testcases/kernel/crypto/.gitignore | 1 + testcases/kernel/crypto/Makefile | 2 + testcases/kernel/crypto/crypto_user02.c | 108 ++++++++++++++++++++++++ 4 files changed, 112 insertions(+) create mode 100644 testcases/kernel/crypto/crypto_user02.c
runtest/crypto +1 -0
@@ -6,3 +6,4 @@ af_alg05 af_alg05 af_alg06 af_alg06 pcrypt_aead01 pcrypt_aead01 crypto_user01 crypto_user01 +crypto_user02 crypto_user02
testcases/kernel/crypto/.gitignore +1 -0
@@ -6,3 +6,4 @@ af_alg05 af_alg06 pcrypt_aead01 crypto_user01 +crypto_user02
testcases/kernel/crypto/Makefile +2 -0
@@ -22,3 +22,5 @@ CFLAGS += -D_GNU_SOURCE include $(top_srcdir)/include/mk/generic_leaf_target.mk af_alg02: CFLAGS += -pthread + +crypto_user02: LDLIBS += -lrt
testcases/kernel/crypto/crypto_user02.c new file +108 -0
108 lines not on this page · raw message
Signature · 1 line
2.22.0
Hi!
Pushed, thanks.
Signature · 2 lines
Cyril Hrubis [email protected]