Cryptography library

nRF5 SDK v17.1.0

Cryptography library (nrf_crypto). More...

Modules

Cryptography library. configuration
AEAD (Authenticated Encryption with Associated Data) related
Provides AEAD related functionality through nrf_crypto.
AEAD related functions
Provides AEAD related functionality through nrf_crypto.
AES related functions
Provides AES related functionality through nrf_crypto.
Edwards-curve Digital Signature Algorithm (EdDSA)
Provides functionality related to Edwards-curve Digital Signature Algorithm (EdDSA).
nrf_crypto error codes
Cryptographic hash related functions
Provides cryptographic hash related functionality through nrf_crypto.
HMAC based Key Derivation Function (HKDF) related functions
Provides functions to generate HMAC based Key Derivation Function (HKDF).
Hash-based message authentication code (HMAC) related functions
Provides functions to generate Hash-based message authentication code (HMAC).
Initialization
Initialization related functions for nrf_crypto .
Dynamic memory management module
Module to manage dynamically allocated memory used by nrf_crypto APIs.
RNG related functions
RNG related functions.
Commonly shared types
Provides definitions of commonly shared cryptographic types like hashes and curves used in the nrf_crypto APIs.
Backends
The following backends can be configured for the rf_crypto library.
Elliptic Curve Cryptography Key Management
Provides elliptic curve cryptography API for public and private key management.
Elliptic Curve Diffie-Hellman (ECDH)
Provides elliptic curve cryptography functions for Diffie-Hellman shared secret exchange.
Elliptic Curve Digital Signature (ECDSA)
Provides elliptic curve cryptography functions for digital signature.

Detailed Description

Cryptography library (nrf_crypto).

The cryptography library provides cryptographic functionality in a portable way.

Note
The functions in this API can run in software or hardware, depending on the supported features of your SoC and the configuration of nrf_crypto backend in the application. See Configuring nrf_crypto frontend and backends for details on changing the nrf_crypto backend.