Constants#

This section provides a reference to the ECDSA Crypto API constants.

Enumerations#

enum
SL_SI91X_ECDSA_PRIV_KEY_SIZE_224 = 28
SL_SI91X_ECDSA_PRIV_KEY_SIZE_256 = 32
SL_SI91X_ECDSA_PUB_KEY_SIZE_224 = 57
SL_SI91X_ECDSA_PUB_KEY_SIZE_256 = 65
}
enum
SL_SI91X_GENERATE_ECC_KEY_PAIR = 1
SL_SI91X_ECDSA_GENERATE_SIGN
SL_SI91X_ECDSA_VERIFY_SIGN
}
enum
SL_SI91X_ECDSA_SIGN_HALF_SIZE_P224R1 = 28
SL_SI91X_ECDSA_SIGN_HALF_SIZE_P256R1 = 32
SL_SI91X_ECDSA_SIGN_MAX_SIZE = 128
}
enum
SL_SI91X_ECC_SECP224R1 = 14
SL_SI91X_ECC_SECP256R1 = 7
}
enum
SL_SI91X_ECDSA_SHA_256 = 1
SL_SI91X_ECDSA_SHA_384
SL_SI91X_ECDSA_SHA_512
}

Enumeration Documentation#

sl_si91x_ecdsa_key_size_t#

sl_si91x_ecdsa_key_size_t
Enumerator
SL_SI91X_ECDSA_PRIV_KEY_SIZE_224

private key size of 224 bits

SL_SI91X_ECDSA_PRIV_KEY_SIZE_256

private key size of 256 bits

SL_SI91X_ECDSA_PUB_KEY_SIZE_224

public key size of 57 bytes

SL_SI91X_ECDSA_PUB_KEY_SIZE_256

public key size of 65 bytes


Definition at line 43 of file components/device/silabs/si91x/wireless/crypto/ecdsa/inc/sl_si91x_ecdsa.h

sl_si91x_crypto_ecdsa_mode_t#

sl_si91x_crypto_ecdsa_mode_t
Enumerator
SL_SI91X_GENERATE_ECC_KEY_PAIR

Generate ECC private public key pair.

SL_SI91X_ECDSA_GENERATE_SIGN

Generate signature.

SL_SI91X_ECDSA_VERIFY_SIGN

Verify signature.


Definition at line 50 of file components/device/silabs/si91x/wireless/crypto/ecdsa/inc/sl_si91x_ecdsa.h

sl_si91x_ecdsa_signature_size_t#

sl_si91x_ecdsa_signature_size_t
Enumerator
SL_SI91X_ECDSA_SIGN_HALF_SIZE_P224R1

signature size of 224 bits divided by 2

SL_SI91X_ECDSA_SIGN_HALF_SIZE_P256R1

signature size of 256 bits divided by 2

SL_SI91X_ECDSA_SIGN_MAX_SIZE

maximum signature size supported


Definition at line 56 of file components/device/silabs/si91x/wireless/crypto/ecdsa/inc/sl_si91x_ecdsa.h

sl_si91x_crypto_ecc_curve_t#

sl_si91x_crypto_ecc_curve_t
Enumerator
SL_SI91X_ECC_SECP224R1

Values as provided by firmware.

SL_SI91X_ECC_SECP256R1

Definition at line 62 of file components/device/silabs/si91x/wireless/crypto/ecdsa/inc/sl_si91x_ecdsa.h

sl_si91x_crypto_ecdsa_sha_mode_t#

sl_si91x_crypto_ecdsa_sha_mode_t
Enumerator
SL_SI91X_ECDSA_SHA_256
SL_SI91X_ECDSA_SHA_384
SL_SI91X_ECDSA_SHA_512

Definition at line 67 of file components/device/silabs/si91x/wireless/crypto/ecdsa/inc/sl_si91x_ecdsa.h