Skip to content

eBPF-based security platform

ci: add CRYPTO_NULL so AF_ALG aead binds succeed

John Fastabendde7def59175b
diff --git a/testing/kernel/kernel-ci.conf b/testing/kernel/kernel-ci.conf
index e2645b2d..591a155f 100644
--- a/testing/kernel/kernel-ci.conf
+++ b/testing/kernel/kernel-ci.conf
@@ -56,6 +56,10 @@ CONFIG_CRYPTO_SHA512=y
# the CI kernel is non-deployable and enables it for the test alone. [S]
CONFIG_CRYPTO_USER_API=y
CONFIG_CRYPTO_USER_API_AEAD=y
+# algif_aead's aead_bind allocates ecb(cipher_null) alongside the aead, so
+# without the null cipher every AF_ALG aead bind fails ENOENT. The aead
+# user API selects it upstream; set it explicitly here.
+CONFIG_CRYPTO_NULL=y
CONFIG_CRYPTO_AUTHENC=y
CONFIG_CRYPTO_HMAC=y
CONFIG_CRYPTO_CBC=y