nRF5 SDK v14.0.0
Macros
Cryptography library configuration

Macros

#define NRF_CRYPTO_ENABLED
 Cryptography module for nRF5 SDK. More...
 
#define NRF_CRYPTO_BACKEND_CC310_LIB
 Enable the ARM Cryptocell CC310 backend. More...
 
#define NRF_CRYPTO_BACKEND_MICRO_ECC
 Enable the micro-ecc software backend. More...
 
#define NRF_CRYPTO_BACKEND_MICRO_ECC_SHA256
 Enable SHA256. More...
 
#define NRF_CRYPTO_BACKEND_MICRO_ECC_RNG
 Enable random number generator. More...
 

Detailed Description

Macro Definition Documentation

#define NRF_CRYPTO_BACKEND_CC310_LIB

Enable the ARM Cryptocell CC310 backend.

The hardware-accelerated cryptography backend is available only on nRF52840.

Set to 1 to activate.

Note
This is an NRF_CONFIG macro.
#define NRF_CRYPTO_BACKEND_MICRO_ECC

Enable the micro-ecc software backend.

The micro-ecc library provides a software implementation of ECC cryptography for nRF5 Series devices.

Set to 1 to activate.

Note
This is an NRF_CONFIG macro.
#define NRF_CRYPTO_BACKEND_MICRO_ECC_RNG

Enable random number generator.

Enable random number generation. Enable this setting if you need to generate cryptographic keys. This setting requires the RNG peripheral driver to be present.

Set to 1 to activate.

Note
This is an NRF_CONFIG macro.
#define NRF_CRYPTO_BACKEND_MICRO_ECC_SHA256

Enable SHA256.

Enable SHA256 cryptographic hash functionality. Enable this setting if you need SHA256 support, for example to verify signatures.

Set to 1 to activate.

Note
This is an NRF_CONFIG macro.
#define NRF_CRYPTO_ENABLED

Cryptography module for nRF5 SDK.

Set to 1 to activate.

Note
This is an NRF_CONFIG macro.

Documentation feedback | Developer Zone | Subscribe | Updated