Bluetooth: host: Refactor host ECC handling to own source file

Move the host ECC handling under BT_ECC to its own source file.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit is contained in:
Joakim Andersson 2021-02-01 14:41:32 +01:00 committed by Carles Cufí
commit a4f0ca8649
4 changed files with 214 additions and 193 deletions

View file

@ -39,6 +39,10 @@ if(CONFIG_BT_HCI_HOST)
CONFIG_BT_HOST_CRYPTO
crypto.c
)
zephyr_library_sources_ifdef(
CONFIG_BT_ECC
ecc.c
)
if(CONFIG_BT_CONN)
zephyr_library_sources(