[PATCH v2 0/2] Bluetooth: Use AES-CMAC library API

From: Eric Biggers

Date: Tue Apr 21 2026 - 19:11:41 EST


This series removes unnecessary kconfig selections from CONFIG_BT, then
converts net/bluetooth/smp.c to use the AES-CMAC library API (which was
introduced in 7.1) instead of the crypto_shash API. This makes the code
simpler and more efficient.

This series is intended to be taken through the bluetooth tree and can
be applied for either 7.1 or 7.2, depending on maintainer preference.

These patches were originally sent as
https://lore.kernel.org/r/20260404200645.28902-1-ebiggers@xxxxxxxxxx and
https://lore.kernel.org/r/20260218213501.136844-14-ebiggers@xxxxxxxxxx/

Eric Biggers (2):
Bluetooth: Remove unneeded crypto kconfig selections
Bluetooth: SMP: Use AES-CMAC library API

net/bluetooth/Kconfig | 6 +-
net/bluetooth/smp.c | 180 +++++++++++++++---------------------------
2 files changed, 65 insertions(+), 121 deletions(-)


base-commit: d46dd0d88341e45f8e0226fdef5462f5270898fc
--
2.53.0