The nrf_cc310_bl backend provides functionality to use the nrf_cc310_bl runtime library in nrf_crypto. This runtime library is only available in nRF52840 devices that provide hardware accelerated cryptography through the ARM CC310. This runtime library provides selected cryptographic functionality for use in bootloader-specific use cases.
- Note
- All APIs in this backend are intended to be internal to nrf_crypto.
Configuration
See Configuring nrf_crypto frontend and backends for details on enabling this backend.
Available frontend API
See Cryptography library - nrf_crypto for nrf_crypto APIs that can use this backend.
nrf_cc310_bl runtime library
The nrf_cc310_bl is a runtime library designed to perform selected cryptographic functionality on devices that feature the ARM TrustZone CC310 CryptoCell hardware. It is designed to be size-optimized and intended for use cases involving the bootloader and DFU.
For more information about CC310, see CRYPTOCELL — ARM TrustZone CryptoCell 310 .
- Note
- In the nRF5 SDK, the CC310 functionality is most commonly used through the nrf_crypto APIs. See Cryptography library - nrf_crypto .
The nrf_cc310_bl runtime library provides functionality to do ECDSA verify using curve secp256r1 and secp224r1 using SHA-256.
Header files for this library are available in the folder
<InstallFolder>\sdk\nrf5\external\nrf_cc310_bl\include
.
The library in its different versions is available in the folder
<InstallFolder>\sdk\nrf5\external\nrf_cc310_bl\lib
.
Supported IDEs
| IDE | Library file name |
|---|---|
| GCC and IAR 8.x | libnrf_cc310_bl_<version>.a |
| IAR 7.80.x | libnrf_cc310_bl_short_wchar_<version>.a |
| Keil | nrf_cc310_bl_keil_<version>.lib |
- Note
- The libnrf_cc310_bl is only available in a version compiled with FPU support.