Definitions specific to Curve25519

nRF5 SDK v15.0.0

Macros

#define NRF_CRYPTO_ECC_CURVE25519_ENABLED 1
Defined as 1 if Curve25519 is enabled in any of the backends and it is usable in the API, 0 otherwise.
#define NRF_CRYPTO_ECC_CURVE25519_RAW_PRIVATE_KEY_SIZE (256 / 8)
Raw private key size for Curve25519.
#define NRF_CRYPTO_ECC_CURVE25519_RAW_PUBLIC_KEY_SIZE (256 / 8)
Raw public key size for curve Curve25519.

Typedefs

typedef
nrf_crypto_backend_curve25519_key_pair_generate_context_t
nrf_crypto_ecc_curve25519_key_pair_generate_context_t
Context structure for key generation using Curve25519.
typedef
nrf_crypto_backend_curve25519_public_key_calculate_context_t
nrf_crypto_ecc_curve25519_public_key_calculate_context_t
Context structure for public key calculation using Curve25519.
typedef
nrf_crypto_backend_curve25519_private_key_t
nrf_crypto_ecc_curve25519_private_key_t
Structure holding internal representation of a private key for Curve25519.
typedef
nrf_crypto_backend_curve25519_public_key_t
nrf_crypto_ecc_curve25519_public_key_t
Structure holding internal representation of a public key for Curve25519.
typedef uint8_t nrf_crypto_ecc_curve25519_raw_private_key_t [(256/8)]
Array holding raw private key for Curve25519.
typedef uint8_t nrf_crypto_ecc_curve25519_raw_public_key_t [(256/8)]
Array holding raw public key for Curve25519.

Variables

const nrf_crypto_ecc_curve_info_t g_nrf_crypto_ecc_curve25519_curve_info
Variable containing information on Curve25519. More...

Detailed Description

Variable Documentation

const nrf_crypto_ecc_curve_info_t g_nrf_crypto_ecc_curve25519_curve_info

Variable containing information on Curve25519.

It can be used as a parameter for the functions creating Curve25519 keys.