From 47ecb52064243d9037385ec1600b54f4d41a829f Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Mon, 8 Feb 2016 17:14:58 +0100 Subject: Bluetooth: Add support for TinyCrypt based bt_rand This allows to use pseudo random numbers generator provided by tinycrypt instead of constant using of HCI LE Rand command. HCI LE Rand commands are used only to initialize and re-seed PRNG. Using tinycrypt for NRPA increase size of sample shell application from 86852 to 89700 bytes. Change-Id: I06e7392d087908caf37cd3ae648ea0bd5cc4ce61 Signed-off-by: Szymon Janc --- samples/bluetooth/shell/prj_x86.conf | 3 +++ 1 file changed, 3 insertions(+) (limited to 'samples') diff --git a/samples/bluetooth/shell/prj_x86.conf b/samples/bluetooth/shell/prj_x86.conf index 4ccb45a4c..71f8b9a89 100644 --- a/samples/bluetooth/shell/prj_x86.conf +++ b/samples/bluetooth/shell/prj_x86.conf @@ -13,4 +13,7 @@ CONFIG_BLUETOOTH_GATT_CLIENT=y CONFIG_BLUETOOTH_L2CAP_DYNAMIC_CHANNEL=y CONFIG_TINYCRYPT=y CONFIG_TINYCRYPT_AES=y +CONFIG_TINYCRYPT_SHA256=y +CONFIG_TINYCRYPT_SHA256_HMAC=y +CONFIG_TINYCRYPT_SHA256_HMAC_PRNG=y CONFIG_CONSOLE_HANDLER_SHELL=y -- cgit v1.2.3