Constants#
@defgroup CRYPTO_ECDH_TYPES Types
@ingroup CRYPTO_ECDH
This section provides a reference to the ECDH Crypto API types.
‍/
/*!
This section provides a reference to the ECDH Crypto API constants.
Enumerations#
enum
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
}
enum
SL_SI91X_ECDH_VECTOR_SIZE_192 = 24
SL_SI91X_ECDH_VECTOR_SIZE_224 = 28
SL_SI91X_ECDH_VECTOR_SIZE_256 = 32
}
enum
SL_SI91X_ECDH_CURVE_P = 0
SL_SI91X_ECDH_CURVE_K = 1
SL_SI91X_ECDH_CURVE_B = 2
}
Macros#
#define
Maximum size of an ECDH vector.
Enumeration Documentation#
sl_si91x_ecdh_mode_t#
sl_si91x_ecdh_mode_t
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
44
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
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
50
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
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
58
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
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
64
of file components/device/silabs/si91x/wireless/crypto/ecdh/inc/sl_si91x_ecdh.h