Definitions specific to secp160k1 (Koblitz 160-bit)

nRF5 SDK v15.0.0

Macros

#define NRF_CRYPTO_ECC_SECP160K1_ENABLED 1
Defined as 1 if secp160k1 (Koblitz 160-bit) is enabled in any of the backends and it is usable in the API, 0 otherwise.
#define NRF_CRYPTO_ECC_SECP160K1_RAW_PRIVATE_KEY_SIZE (160 / 8)
Raw private key size for secp160k1 (Koblitz 160-bit).
#define NRF_CRYPTO_ECC_SECP160K1_RAW_PUBLIC_KEY_SIZE (2 * 160 / 8)
Raw public key size for curve secp160k1 (Koblitz 160-bit).

Typedefs

typedef
nrf_crypto_backend_secp160k1_key_pair_generate_context_t
nrf_crypto_ecc_secp160k1_key_pair_generate_context_t
Context structure for key generation using secp160k1 (Koblitz 160-bit).
typedef
nrf_crypto_backend_secp160k1_public_key_calculate_context_t
nrf_crypto_ecc_secp160k1_public_key_calculate_context_t
Context structure for public key calculation using secp160k1 (Koblitz 160-bit).
typedef
nrf_crypto_backend_secp160k1_private_key_t
nrf_crypto_ecc_secp160k1_private_key_t
Structure holding internal representation of a private key for secp160k1 (Koblitz 160-bit)
typedef
nrf_crypto_backend_secp160k1_public_key_t
nrf_crypto_ecc_secp160k1_public_key_t
Structure holding internal representation of a public key for secp160k1 (Koblitz 160-bit)
typedef uint8_t nrf_crypto_ecc_secp160k1_raw_private_key_t [(160/8)]
Array holding raw private key for secp160k1 (Koblitz 160-bit)
typedef uint8_t nrf_crypto_ecc_secp160k1_raw_public_key_t [(2 *160/8)]
Array holding raw public key for secp160k1 (Koblitz 160-bit)

Variables

const nrf_crypto_ecc_curve_info_t g_nrf_crypto_ecc_secp160k1_curve_info
Variable containing information on secp160k1 (Koblitz 160-bit). More...

Detailed Description

Variable Documentation

const nrf_crypto_ecc_curve_info_t g_nrf_crypto_ecc_secp160k1_curve_info

Variable containing information on secp160k1 (Koblitz 160-bit).

It can be used as a parameter for the functions creating secp160k1 (Koblitz 160-bit) keys.