Constants#

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

Enumerations#

enum
SL_SI91x_SHA_1 = 1
SL_SI91x_SHA_256
SL_SI91x_SHA_384
SL_SI91x_SHA_512
SL_SI91x_SHA_224
}

Enumeration defining SHA modes supported by the SI91X device.

enum
SL_SI91x_SHA_1_DIGEST_LEN = 20
SL_SI91x_SHA_256_DIGEST_LEN = 32
SL_SI91x_SHA_384_DIGEST_LEN = 48
SL_SI91x_SHA_512_DIGEST_LEN = 64
SL_SI91x_SHA_224_DIGEST_LEN = 28
}

Enumeration defining digest lengths of SHA modes supported by the SI91X device.

Macros#

#define

SHA length is invalid.

Enumeration Documentation#

sl_si91x_crypto_sha_mode_t#

sl_si91x_crypto_sha_mode_t

Enumeration defining SHA modes supported by the SI91X device.

This enumeration defines different SHA modes supported by the SI91X device, such as SHA1, SHA224, SHA256, SHA384, and SHA512 modes.

Enumerator
SL_SI91x_SHA_1

SHA 1 mode.

SL_SI91x_SHA_256

SHA 256 mode.

SL_SI91x_SHA_384

SHA 384 mode.

SL_SI91x_SHA_512

SHA 512 mode.

SL_SI91x_SHA_224

SHA 224 mode.


Definition at line 37 of file components/device/silabs/si91x/wireless/crypto/sha/inc/sl_si91x_sha.h

sl_si91x_sha_length_t#

sl_si91x_sha_length_t

Enumeration defining digest lengths of SHA modes supported by the SI91X device.

This enumeration defines digest lengths of different SHA modes supported by the SI91X device, including SHA1, SHA224, SHA256, SHA384, and SHA512 modes.

Enumerator
SL_SI91x_SHA_1_DIGEST_LEN

Digest length for SHA 1.

SL_SI91x_SHA_256_DIGEST_LEN

Digest length for SHA 256.

SL_SI91x_SHA_384_DIGEST_LEN

Digest length for SHA 384.

SL_SI91x_SHA_512_DIGEST_LEN

Digest length for SHA 512.

SL_SI91x_SHA_224_DIGEST_LEN

Digest length for SHA 224.


Definition at line 51 of file components/device/silabs/si91x/wireless/crypto/sha/inc/sl_si91x_sha.h

Macro Definition Documentation#

SL_SI91x_SHA_LEN_INVALID#

#define SL_SI91x_SHA_LEN_INVALID
Value:
0

SHA length is invalid.


Definition at line 30 of file components/device/silabs/si91x/wireless/crypto/sha/inc/sl_si91x_sha.h