This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

multiprotocol - Use openThread Crypto and BLE LESC Crypto

Hi,

i use the nRF5 SDK for Thread and Zigbee v4.1.0, the s140 an the ble_thread_dyn_proximity - example.

I want to use the LESC encryption of BLE (in addition to Thread). For this I looked at the LESC encryption in example ble_app_gls and added the crypto files to the ble_thread_dyn_proximity project.
In the sdk_conf.h I enabled the NRF_CRYPTO and BACKEND_CC310. Logically SES brings an error "multiple definition of `EcWrstGenKeyPair" this is probably related to the fact that Thread uses the libmbedcrypto_cc310_backend.a.
Now my question: How can I configure the sdk_config.h that Thread works and the LESC encryption of BLE?

Thanks in advance

Parents
  • Hi

    When our developers get back from their holiday vacations, I will ask them if they know about this. This will likely be the first week of January.

    In the meantime, havea look at Prebuilt OpenThread libraries and OpenThread application developement.
    It will likely be important to make the cryptographic libraries thread-safe if you intend to use it for BLE and OpenThread simultaneously.

    If you want me to debug the issue more directly, I can try to do so if you provide an edited Thread sample with only the changes needed to reproduce your error (sdk_config.h and added files).

    Regards,
    Sigurd Hellesvik

Reply
  • Hi

    When our developers get back from their holiday vacations, I will ask them if they know about this. This will likely be the first week of January.

    In the meantime, havea look at Prebuilt OpenThread libraries and OpenThread application developement.
    It will likely be important to make the cryptographic libraries thread-safe if you intend to use it for BLE and OpenThread simultaneously.

    If you want me to debug the issue more directly, I can try to do so if you provide an edited Thread sample with only the changes needed to reproduce your error (sdk_config.h and added files).

    Regards,
    Sigurd Hellesvik

Children
No Data
Related