/* Initializes a AES configuration structure to defaults. 
The default configuration is as follows: */
void aes_get_config_defaults(struct aes_config *const cfg)
/* Initializes a AES configuration structure to defaults. 
The default configuration is as follows: */
void aes_get_config_defaults(struct aes_config *const cfg)
{
	Assert(cfg);
	cfg->encrypt_mode = AES_ENCRYPTION;
	cfg->key_size = AES_KEY_SIZE_128;
	cfg->dma_mode = AES_MANUAL_MODE;
	cfg->opmode = AES_ECB_MODE;
	cfg->cfb_size = AES_CFB_SIZE_128;
	cfg->countermeasure_mask = AES_COUNTERMEASURE_TYPE_ALL;
}