Bluetooth: Add CRYPTO_USER_API for meshctl of BlueZ 41/217641/1
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 13 Nov 2019 05:48:16 +0000 (14:48 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 13 Nov 2019 05:48:20 +0000 (14:48 +0900)
From Tizen 6.0, BLE mesh is supported. To use meshctl of BlueZ,
CRYPTO_USER_API and its sub configs are required.
Add CRYPTO_USER_API related options.

Change-Id: I87302f67f71c3fc2e08ee2ab111502c4746ccfb4
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
tizen/tizen_defconfig

index 8260d50..4eb84c3 100644 (file)
@@ -542,6 +542,18 @@ CONFIG_RFKILL_REGULATOR=y
 CONFIG_BT_HCIUART=y
 CONFIG_BT_HCIBTUSB=y
 
+#
+# 7-1. BLE Mesh support in BlueZ
+#
+#   Tizen uses BLE Mesh with BlueZ and it requires CRYPTO_USER_API
+#   Ref. https://www.spinics.net/lists/linux-bluetooth/msg72012.html
+#   (Recommendation)
+CONFIG_CRYPTO_CMAC=y
+CONFIG_CRYPTO_USER_API=y
+CONFIG_CRYPTO_USER_API_HASH=y
+CONFIG_CRYPTO_USER_API_SKCIPHER=y
+CONFIG_CRYPTO_USER_API_RNG=y
+CONFIG_CRYPTO_USER_API_AEAD=y
 
 # 8. Display manager