Microchip® Advanced Software Framework

icm_config Struct Reference

Basic configuration for ICM.

#include <icm.h>

Data Fields

uint8_t bbc
 Control the burden of ICM system bus. More...
 
uint8_t des_area_val
 The value of the HPROT AHB signal when the ICM module performs a read operation in the Region Descriptor Area. More...
 
uint8_t hash_area_val
 The value of the HPROT AHB signal when the ICM module performs a read operation in the Region Hash Area. More...
 
bool is_auto_mode
 Enable(true) or Disable(false) Automatic Switch To Compare Digest mode. More...
 
bool is_dis_end_mon
 End of monitoring is forbidden(true) or permitted(false) More...
 
bool is_dual_buf
 Enable(true) or Disable(false) Dual Input Buffer. More...
 
bool is_sec_list_branch
 Secondary List Branching is forbidden(true) or permitted(false) More...
 
bool is_user_hash
 The Initial Hash Value is set by user(true) or provided by hash standard(false) More...
 
bool is_write_back
 Write back operation is forbidden(true) or permitted(false) More...
 
enum icm_algo ualgo
 User SHA Algorithm. More...
 

uint8_t icm_config::bbc

Control the burden of ICM system bus.

The number of system clock cycles between the end of the current processing and the next block is set to 2^bbc.

Referenced by icm_init(), and main().

uint8_t icm_config::des_area_val

The value of the HPROT AHB signal when the ICM module performs a read operation in the Region Descriptor Area.

Referenced by icm_init(), and main().

uint8_t icm_config::hash_area_val

The value of the HPROT AHB signal when the ICM module performs a read operation in the Region Hash Area.

Referenced by icm_init(), and main().

bool icm_config::is_auto_mode

Enable(true) or Disable(false) Automatic Switch To Compare Digest mode.

Referenced by icm_init(), and main().

bool icm_config::is_dis_end_mon

End of monitoring is forbidden(true) or permitted(false)

Referenced by icm_init(), and main().

bool icm_config::is_dual_buf

Enable(true) or Disable(false) Dual Input Buffer.

Referenced by icm_init(), and main().

bool icm_config::is_sec_list_branch

Secondary List Branching is forbidden(true) or permitted(false)

Referenced by icm_init(), and main().

bool icm_config::is_user_hash

The Initial Hash Value is set by user(true) or provided by hash standard(false)

Referenced by icm_init(), and main().

bool icm_config::is_write_back

Write back operation is forbidden(true) or permitted(false)

Referenced by icm_init(), and main().

enum icm_algo icm_config::ualgo

User SHA Algorithm.

Referenced by icm_init(), and main().