Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH BlueZ] tester.config: add missing CRYPTO_AES
@ 2026-05-17 20:51 Pauli Virtanen
  2026-05-17 22:05 ` [BlueZ] " bluez.test.bot
  2026-05-21 13:30 ` [PATCH BlueZ] " patchwork-bot+bluetooth
  0 siblings, 2 replies; 3+ messages in thread
From: Pauli Virtanen @ 2026-05-17 20:51 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Pauli Virtanen

Kernel commit 4a1507625b0 ("Bluetooth: SMP: Use AES-CMAC library
API") removed CRYPTO_AES from the default Bluetooth kernel config.

This causes Bluetooth testbots to fail silently with "Not Run" status:

Basic Framework - Success - init
  Read Index List callback
    Status: 0x00
Bluetooth: hci0: Opcode 0x0c03 failed: -110
Bluetooth: hci0: Opcode 0x0c03 failed: -110
  hciemu: Failed to open vhci
  Failed to setup HCI emulation
Basic Framework - Success - pre setup failed
Basic Framework - Success - done
...
SCO CVSD Listen Send - Success                       Not Run
Total: 30, Passed: 0 (0.0%), Failed: 0, Not Run: 30

Fix by explicitly requiring CRYPTO_AES.
---

Notes:
    See any recent CI test log from
    
    https://github.com/bluez/bluetooth-next/pulls
    
    for example
    
    https://github.com/bluez/bluetooth-next/commit/84ebde6f819c06cc1d804a471d9fb60b7986e190/checks/76408920221/logs
    
    https://github.com/bluez/bluetooth-next/commit/82f0e0c7d08eb21d0579471a3b5c004cf95dda08/checks/75862464065/logs

 doc/ci.config       | 1 +
 doc/test-runner.rst | 1 +
 doc/tester.config   | 1 +
 3 files changed, 3 insertions(+)

diff --git a/doc/ci.config b/doc/ci.config
index bb3cb221f..2da3e14c4 100644
--- a/doc/ci.config
+++ b/doc/ci.config
@@ -112,6 +112,7 @@ CONFIG_BT_QCOMSMD=y
 
 CONFIG_BT_VIRTIO=y
 
+CONFIG_CRYPTO_AES=y
 CONFIG_CRYPTO_CMAC=y
 CONFIG_CRYPTO_USER_API=y
 CONFIG_CRYPTO_USER_API_HASH=y
diff --git a/doc/test-runner.rst b/doc/test-runner.rst
index 60f18683c..ff2420ea8 100644
--- a/doc/test-runner.rst
+++ b/doc/test-runner.rst
@@ -84,6 +84,7 @@ Bluetooth
 	CONFIG_BT_HCIUART_H4=y
 	CONFIG_BT_HCIVHCI=y
 
+	CONFIG_CRYPTO_AES=y
 	CONFIG_CRYPTO_CMAC=y
 	CONFIG_CRYPTO_USER_API=y
 	CONFIG_CRYPTO_USER_API_HASH=y
diff --git a/doc/tester.config b/doc/tester.config
index 0cf5e2723..b9c5f34bc 100644
--- a/doc/tester.config
+++ b/doc/tester.config
@@ -43,6 +43,7 @@ CONFIG_BT_MSFTEXT=y
 CONFIG_BT_AOSPEXT=y
 CONFIG_BT_FEATURE_DEBUG=y
 
+CONFIG_CRYPTO_AES=y
 CONFIG_CRYPTO_CMAC=y
 CONFIG_CRYPTO_USER_API=y
 CONFIG_CRYPTO_USER_API_HASH=y
-- 
2.54.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-05-21 13:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-17 20:51 [PATCH BlueZ] tester.config: add missing CRYPTO_AES Pauli Virtanen
2026-05-17 22:05 ` [BlueZ] " bluez.test.bot
2026-05-21 13:30 ` [PATCH BlueZ] " patchwork-bot+bluetooth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox