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

nRF5340 CrptoCell-312 Library

Hello, I have some questions regarding CryptoCell-312 and the nRF5340.

In the past I worked a lot with the nRF5240 and the CC-310 using the nRF5 - SDK. Now with the 53 I am more or less forced to work with the nRF Connect SDK and Zephyr. Even though I have now managed to get the tools up and running and have a working development environment, I sometimes struggle with the new approach, therefore sorry if I just missed something obvious.


Right now I just want to use the "bare metal" CC-312 functions for some tests in research projects. In the old nRF5 SDK there are precompiled libraries (libnrf_cc310_x.x.x.a) and the corresponding header files including the function declarations. This makes it very easy to use the CC as a hardware accelerator in your own applications/algorithms. Is there something similar for the CC-312? I have seen the files in the nrf_cc312_platform folder from the nrfxlib and also in the nrf_cc312_mbedcrypto folder, but I miss all the necessary function declarations.

Is it possible to get more information about this or should I create a private support ticket?

Best Regards

F.Lauer  

Parents
  • Hi, 

    Thank you for your fast reply! Okay the nrf_cc3xx_mbedcrypto library is the folder i already mentioned, but i now think i got it. The actual declarations are in the /ncs/mbedtls/include/mbedtls folder and by setting the ..._ALT defines, some of the implementations in the .c file are excluded and replaced with functions inside the libnrf_cc312_mbedcrypto_x.x.x.a correct?

    So then its quite similar with solution in the nrf5-sdk but without an extra layer of header files.

  • Hi flauer,

    Were you able to use the cc312 with this approach? I am in a very similar situation, where I am used to directly drive the cc310 using the available lower level library, but now with the cc312 I am having problems -- I link the libraries and include the headers, but am having missing symbols errors.

    Also, I cannot find the /ncs/(...) folder you refer to, but it may be the case that the mbedtls files have been moved around in newer versions (nowadays they seem to be at ./crypto/nrf_cc312_mbedcrypto/include/mbedtls).

Reply
  • Hi flauer,

    Were you able to use the cc312 with this approach? I am in a very similar situation, where I am used to directly drive the cc310 using the available lower level library, but now with the cc312 I am having problems -- I link the libraries and include the headers, but am having missing symbols errors.

    Also, I cannot find the /ncs/(...) folder you refer to, but it may be the case that the mbedtls files have been moved around in newer versions (nowadays they seem to be at ./crypto/nrf_cc312_mbedcrypto/include/mbedtls).

Children
No Data
Related