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
}

Enumeration defining ECDSA private and public key sizes.

enum
SL_SI91X_GENERATE_ECC_KEY_PAIR = 1
SL_SI91X_ECDSA_GENERATE_SIGN
SL_SI91X_ECDSA_VERIFY_SIGN
}

Enumeration defining ECDSA operations.

enum
SL_SI91X_ECDSA_SIGN_HALF_SIZE_P224R1 = 28
SL_SI91X_ECDSA_SIGN_HALF_SIZE_P256R1 = 32
SL_SI91X_ECDSA_SIGN_MAX_SIZE = 128
}

Enumeration defining ECDSA signature sizes supported by the SI91X device.

enum
SL_SI91X_ECC_SECP224R1 = 14
SL_SI91X_ECC_SECP256R1 = 7
}

Enumeration defining ECC curve types supported by the SI91X device.

enum
SL_SI91X_ECDSA_SHA_256 = 1
SL_SI91X_ECDSA_SHA_384
SL_SI91X_ECDSA_SHA_512
}

Enumeration defining the SHA modes supported by the ECDSA algorithm on the SI91X device.

Enumeration Documentation#

sl_si91x_ecdsa_key_size_t#

sl_si91x_ecdsa_key_size_t

Enumeration defining ECDSA private and public key sizes.

This enumeration defines the key sizes for private and public keys supported by the ECDSA algorithm on the SI91X device.

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 48 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

Enumeration defining ECDSA operations.

This enumeration defines the types of ECDSA operations supported, including generating ECC key pairs, generating signatures, and verifying signatures.

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 61 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

Enumeration defining ECDSA signature sizes supported by the SI91X device.

This enumeration defines the signature sizes supported by the ECDSA algorithm on the SI91X device, including 224-bit and 256-bit sizes.

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 73 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

Enumeration defining ECC curve types supported by the SI91X device.

This enumeration defines the ECC curves supported by the ECDSA algorithm on the SI91X device, which includes ECC_SECP224R1, and ECC_SECP256R1.

Enumerator
SL_SI91X_ECC_SECP224R1

Values as provided by firmware.

SL_SI91X_ECC_SECP256R1

Definition at line 85 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

Enumeration defining the SHA modes supported by the ECDSA algorithm on the SI91X device.

This enumeration defines the SHA modes supported for the ECDSA algorithm on the SI91X device, which includes SHA256, SHA384, and SHA512.

Enumerator
SL_SI91X_ECDSA_SHA_256
SL_SI91X_ECDSA_SHA_384
SL_SI91X_ECDSA_SHA_512

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