Constants#

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

Enumerations#

enum
SL_SI91X_SHA3_512 = 9
SL_SI91X_SHA3_384 = 13
SL_SI91X_SHA3_256 = 17
SL_SI91X_SHA3_224 = 18
}

SHA3 modes supported by the SI91X device (algorithm_sub_type for SHA3).

enum
SL_SI91X_SHA3_224_DIGEST_LEN = 28
SL_SI91X_SHA3_256_DIGEST_LEN = 32
SL_SI91X_SHA3_384_DIGEST_LEN = 48
SL_SI91X_SHA3_512_DIGEST_LEN = 64
}

Digest lengths for SHA3 modes (bytes).

Macros#

#define
SL_SI91X_SHA3_LEN_INVALID 0

SHA3 length is invalid.

Enumeration Documentation#

sl_si91x_crypto_sha3_mode_t#

sl_si91x_crypto_sha3_mode_t

SHA3 modes supported by the SI91X device (algorithm_sub_type for SHA3).

Values align with the SHA API mapping for digest width: 224, 256, 384, and 512-bit.

Enumerator
SL_SI91X_SHA3_512

SHA3-512.

SL_SI91X_SHA3_384

SHA3-384.

SL_SI91X_SHA3_256

SHA3-256.

SL_SI91X_SHA3_224

SHA3-224.


sl_si91x_sha3_length_t#

sl_si91x_sha3_length_t

Digest lengths for SHA3 modes (bytes).

Enumerator
SL_SI91X_SHA3_224_DIGEST_LEN

SHA3-224.

SL_SI91X_SHA3_256_DIGEST_LEN

SHA3-256.

SL_SI91X_SHA3_384_DIGEST_LEN

SHA3-384.

SL_SI91X_SHA3_512_DIGEST_LEN

SHA3-512.