Structure defining ECDSA configuration.

This structure defines the ECDSA configuration required for the operation, including the type of operation, input message, length of the input message, key configuration structure, and so on.

Public Attributes#

Generate ECC key pair, sign, or verify.

SHA hashing mode of the input message.

const uint8_t *

Pointer to the private key.

uint8_t

Length of the private key.

const uint8_t *

Pointer to the public key.

uint8_t

Length of the public key.

const uint8_t *

Pointer to the signature.

uint8_t

Length of the signature.

const uint8_t *

Pointer to the input message.

uint32_t

Length of the message.

Public Attribute Documentation#

ecdsa_operation#

sl_si91x_crypto_ecdsa_mode_t sl_si91x_ecdsa_config_t::ecdsa_operation

Generate ECC key pair, sign, or verify.


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

curve_id#

sl_si91x_crypto_ecc_curve_t sl_si91x_ecdsa_config_t::curve_id

Curve ID for ECDSA.


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

sha_mode#

sl_si91x_crypto_ecdsa_sha_mode_t sl_si91x_ecdsa_config_t::sha_mode

SHA hashing mode of the input message.


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

private_key#

const uint8_t* sl_si91x_ecdsa_config_t::private_key

Pointer to the private key.


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

private_key_length#

uint8_t sl_si91x_ecdsa_config_t::private_key_length

Length of the private key.


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

public_key#

const uint8_t* sl_si91x_ecdsa_config_t::public_key

Pointer to the public key.


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

public_key_length#

uint8_t sl_si91x_ecdsa_config_t::public_key_length

Length of the public key.


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

signature#

const uint8_t* sl_si91x_ecdsa_config_t::signature

Pointer to the signature.


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

signature_length#

uint8_t sl_si91x_ecdsa_config_t::signature_length

Length of the signature.


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

msg#

const uint8_t* sl_si91x_ecdsa_config_t::msg

Pointer to the input message.


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

msg_length#

uint32_t sl_si91x_ecdsa_config_t::msg_length

Length of the message.


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

key_config#

sl_si91x_ecdsa_key_config_t sl_si91x_ecdsa_config_t::key_config

Key configuration.


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