You are viewing documentation for version:
Structure defining WRAP configuration.
The structure defines the WRAP configuration required for the operation, which includes key type, key size, key buffer, and so on.
Public Attributes#
uint16_t
BIT(0) is set: HMAC padding, else PKCS7 padding.
uint16_t
To determine HMAC SHA mode if HMAC padding is set, else reserved.
uint8_t
Key data wrapped or plain text.
Public Attribute Documentation#
key_type#
uint32_t sl_si91x_wrap_config_t::key_type
Type of the key.
padding#
uint16_t sl_si91x_wrap_config_t::padding
BIT(0) is set: HMAC padding, else PKCS7 padding.
hmac_sha_mode#
uint16_t sl_si91x_wrap_config_t::hmac_sha_mode
To determine HMAC SHA mode if HMAC padding is set, else reserved.
key_size#
uint32_t sl_si91x_wrap_config_t::key_size
Size of the key.
wrap_iv_mode#
sl_si91x_crypto_wrap_mode_t sl_si91x_wrap_config_t::wrap_iv_mode
Wrap IV mode.
wrap_iv#
uint8_t sl_si91x_wrap_config_t::wrap_iv[SL_SI91X_IV_SIZE]
Buffer to store the IV.
key_buffer#
uint8_t sl_si91x_wrap_config_t::key_buffer[SL_SI91X_WRAP_KEY_BUFFER_SIZE]
Key data wrapped or plain text.