3.6.4.1.1 Function aes_get_config_defaults()

Initializes an AES configuration structure to defaults.

void aes_get_config_defaults( struct aes_config *const config)

Initializes the specified AES configuration structure to a set of known default values.

Note: This function should be called to initialize all new instances of AES configuration structures before they are further modified by the user application.
The default configuration is as follows:
  • Data encryption

  • 128-bit AES key size

  • 128-bit cipher feedback size

  • Manual start mode

  • Electronic Codebook (ECB) mode

  • All countermeasures are enabled

  • XRO key is disabled

  • Key generation is disabled

  • Last output data mode is disabled

Table 3-2. Parameters
Data directionParameter nameDescription

[out]

config

Pointer to an AES configuration structure