Bluetooth: Add AES-CMAC calculation based on AES 128 bit cipher

In a case there no crypto library, AES-CMAC Message Authentication Code
might be calculated with the help of Host Controller LE Encrypt command.

Change-Id: If7073bf4baa3f86c04728712f6789cc269673da7
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
Andrei Emeltchenko 2015-07-07 16:04:51 +03:00 committed by Anas Nashif
commit 82fddc9cbc
3 changed files with 286 additions and 2 deletions

View file

@ -137,3 +137,12 @@ config BLUETOOTH_DEBUG_GATT
help
This option enables debug support for the Bluetooth
Generic Attribute Profile (GATT).
config BLUETOOTH_SMP_SELFTEST
bool
prompt "Bluetooth SMP self tests executed on init"
depends on BLUETOOTH_DEBUG_SMP
default n
help
This option enables SMP self-tests executed on startup
to verify security and crypto functions.