summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorSzymon Janc <ext.szymon.janc@tieto.com>2016-02-08 17:14:58 +0100
committerAnas Nashif <anas.nashif@intel.com>2016-02-10 19:13:00 -0500
commit47ecb52064243d9037385ec1600b54f4d41a829f (patch)
tree77dc713fb65f62bbcadcfdb0fa4c797c38bae3dd /samples
parent49a145c84949df59c59ccb613335267625ce5df5 (diff)
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 <ext.szymon.janc@tieto.com>
Diffstat (limited to 'samples')
-rw-r--r--samples/bluetooth/shell/prj_x86.conf3
1 files changed, 3 insertions, 0 deletions
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