Definitions specific to secp256r1 (NIST 256-bit)

nRF5 SDK v15.0.0

Macros

#define NRF_CRYPTO_ECC_SECP256R1_ENABLED 1
Defined as 1 if secp256r1 (NIST 256-bit) is enabled in any of the backends and it is usable in the API, 0 otherwise.
#define NRF_CRYPTO_ECC_SECP256R1_RAW_PRIVATE_KEY_SIZE (256 / 8)
Raw private key size for secp256r1 (NIST 256-bit).
#define NRF_CRYPTO_ECC_SECP256R1_RAW_PUBLIC_KEY_SIZE (2 * 256 / 8)
Raw public key size for curve secp256r1 (NIST 256-bit).

Typedefs

typedef
nrf_crypto_backend_secp256r1_key_pair_generate_context_t
nrf_crypto_ecc_secp256r1_key_pair_generate_context_t
Context structure for key generation using secp256r1 (NIST 256-bit).
typedef
nrf_crypto_backend_secp256r1_public_key_calculate_context_t
nrf_crypto_ecc_secp256r1_public_key_calculate_context_t
Context structure for public key calculation using secp256r1 (NIST 256-bit).
typedef
nrf_crypto_backend_secp256r1_private_key_t
nrf_crypto_ecc_secp256r1_private_key_t
Structure holding internal representation of a private key for secp256r1 (NIST 256-bit)
typedef
nrf_crypto_backend_secp256r1_public_key_t
nrf_crypto_ecc_secp256r1_public_key_t
Structure holding internal representation of a public key for secp256r1 (NIST 256-bit)
typedef uint8_t nrf_crypto_ecc_secp256r1_raw_private_key_t [(256/8)]
Array holding raw private key for secp256r1 (NIST 256-bit)
typedef uint8_t nrf_crypto_ecc_secp256r1_raw_public_key_t [(2 *256/8)]
Array holding raw public key for secp256r1 (NIST 256-bit)

Variables

const nrf_crypto_ecc_curve_info_t g_nrf_crypto_ecc_secp256r1_curve_info
Variable containing information on secp256r1 (NIST 256-bit). More...

Detailed Description

Variable Documentation

const nrf_crypto_ecc_curve_info_t g_nrf_crypto_ecc_secp256r1_curve_info

Variable containing information on secp256r1 (NIST 256-bit).

It can be used as a parameter for the functions creating secp256r1 (NIST 256-bit) keys.