This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

porting TLS in nRF52840

Hello everyone

          I am using nRF52840+wifi module to communication with the server via MQTT+LTS, Now MQTT communication with server was successful, Considering the safety, I have to port the mbedlts to my project, In SDK15.3.0, it includes mbedlts library.  I refer to the ssl_client1.c( nRF5_SDK_15.3.0_59ac345\external\mbedtls\programs\ssl), my questions as follows:

         1. in mbedtls_entropy_init  function, How to add the hardware entropy using nRF52840 CryptoCell 310 ?

         2. in mbedtls_ctr_drbg_seed function, how to modify the mbedtls_entropy_func callback function ?

         3. in TLS handshark protocol, It would use the encryption(such as AES)、key exchange(such as RSA)、authentication(such as ECDSA)、message authentication code(such as HMAC), the nRF52840 CryptoCell 310 can realise those cryptographic algorithm ,but how to integrate to the mbedlts?

         thanks!

         

Parents Reply Children
No Data
Related