Constants#

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

Enumerations#

enum
SL_SI91X_ECDH_192 = 1
SL_SI91X_ECDH_224 = 2
SL_SI91X_ECDH_256 = 4
}

Enumeration defining ECDH modes supported by the SI91X device.

enum
SL_SI91X_ECDH_MUL = 1
SL_SI91X_ECDH_ADD = 2
SL_SI91X_ECDH_SUB = 3
SL_SI91X_ECDH_DOUBLE = 4
SL_SI91X_ECDH_AFFINITY = 5
}

Enumeration defining ECDH sub-modes.

enum
SL_SI91X_ECDH_VECTOR_SIZE_192 = 24
SL_SI91X_ECDH_VECTOR_SIZE_224 = 28
SL_SI91X_ECDH_VECTOR_SIZE_256 = 32
}

Enumeration defining ECDH vector sizes.

enum
SL_SI91X_ECDH_CURVE_P = 0
SL_SI91X_ECDH_CURVE_K = 1
SL_SI91X_ECDH_CURVE_B = 2
}

Enumeration defining ECDH curve types.

Macros#

#define

Maximum size of an ECDH vector.

Enumeration Documentation#

sl_si91x_ecdh_mode_t#

sl_si91x_ecdh_mode_t

Enumeration defining ECDH modes supported by the SI91X device.

This enumeration defines the modes of operation for the ECDH algorithm on the SI91X device.

Enumerator
SL_SI91X_ECDH_192

ECDH 192 mode.

SL_SI91X_ECDH_224

ECDH 224 mode.

SL_SI91X_ECDH_256

ECDH 256 mode.


Definition at line 49 of file components/device/silabs/si91x/wireless/crypto/ecdh/inc/sl_si91x_ecdh.h

sl_si91x_ecdh_sub_mode_t#

sl_si91x_ecdh_sub_mode_t

Enumeration defining ECDH sub-modes.

This enumeration defines the types of ECDH operations supported, such as ECDH Multiplication, Addition, Subtraction, Double, and Affinity.

Enumerator
SL_SI91X_ECDH_MUL

ECDH multiplication mode.

SL_SI91X_ECDH_ADD

ECDH addition mode.

SL_SI91X_ECDH_SUB

ECDH subtraction mode.

SL_SI91X_ECDH_DOUBLE

ECDH double mode.

SL_SI91X_ECDH_AFFINITY

ECDH affinity mode.


Definition at line 61 of file components/device/silabs/si91x/wireless/crypto/ecdh/inc/sl_si91x_ecdh.h

sl_si91x_ecdh_vector_size_t#

sl_si91x_ecdh_vector_size_t

Enumeration defining ECDH vector sizes.

This enumeration defines the different ECDH vector sizes supported, which includes 24, 28, and 32 bytes.

Enumerator
SL_SI91X_ECDH_VECTOR_SIZE_192

192 bits or 24 bytes vector size

SL_SI91X_ECDH_VECTOR_SIZE_224

224 bits or 28 bytes vector size

SL_SI91X_ECDH_VECTOR_SIZE_256

256 bits or 32 bytes vector size


Definition at line 75 of file components/device/silabs/si91x/wireless/crypto/ecdh/inc/sl_si91x_ecdh.h

sl_si91x_ecdh_curve_type_t#

sl_si91x_ecdh_curve_type_t

Enumeration defining ECDH curve types.

This enumeration defines the different ECDH curves supported, which includes Prime field curves, binary curves, and Edwards curves.

Enumerator
SL_SI91X_ECDH_CURVE_P

Prime Field Curves.

SL_SI91X_ECDH_CURVE_K

Binary Field Curves.

SL_SI91X_ECDH_CURVE_B

Edwards Curves.


Definition at line 87 of file components/device/silabs/si91x/wireless/crypto/ecdh/inc/sl_si91x_ecdh.h

Macro Definition Documentation#

SL_SI91X_ECDH_MAX_VECTOR_SIZE#

#define SL_SI91X_ECDH_MAX_VECTOR_SIZE
Value:
32

Maximum size of an ECDH vector.


Definition at line 42 of file components/device/silabs/si91x/wireless/crypto/ecdh/inc/sl_si91x_ecdh.h