|
SmartSnippets DA1459x SDK
|
Go to the documentation of this file.
47 #if dg_configCRYPTO_ADAPTER
49 #if dg_configUSE_HW_AES
52 #if dg_configUSE_HW_HASH
69 #if dg_configUSE_HW_AES
70 AD_CRYPTO_ALGO_AES = 0,
73 #if dg_configUSE_HW_HASH
74 AD_CRYPTO_ALGO_HASH = 1,
82 #if dg_configUSE_HW_AES
86 #if dg_configUSE_HW_HASH
hw_hash_config_t hash
Definition: ad_crypto.h:87
Definition of API for the AES Engine Low Level Driver.
OS_BASE_TYPE ad_crypto_perform_operation(OS_TICK_TIME timeout)
Perform crypto operation.
AD_CRYPTO_ALGO
Supported cryptographic algorithms.
Definition: ad_crypto.h:68
AD_CRYPTO_ALGO algo
Definition: ad_crypto.h:95
ad_crypto_engine_config_t engine
Definition: ad_crypto.h:96
Definition of API for the HASH Engine Low Level Driver.
AES engine configuration structure.
Definition: hw_aes.h:127
hw_aes_config_t aes
Definition: ad_crypto.h:83
OS abstraction layer API.
Definition of API for the AES/HASH Engine Low Level Driver.
Crypto configuration union.
Definition: ad_crypto.h:81
void * ad_crypto_handle_t
Crypto handle returned by ad_crypto_open()
Definition: ad_crypto.h:63
void ad_crypto_close(void)
Close crypto engine.
ad_crypto_handle_t ad_crypto_open(ad_crypto_config_t *cfg, OS_TICK_TIME timeout)
Open crypto engine.
void ad_crypto_configure_for_next_fragment(ad_crypto_config_t *cfg)
Configure crypto engine to perform next fragment of operation.
HASH engine configuration structure.
Definition: hw_hash.h:91
Crypto adapter configuration structure.
Definition: ad_crypto.h:94
void ad_crypto_configure(ad_crypto_config_t *cfg)
Configure the crypto engine.