Home
last modified time | relevance | path

Searched refs:sha_type (Results 1 – 6 of 6) sorted by relevance

/device/soc/esp/esp32/components/hal/esp32/include/hal/
Dsha_ll.h33 inline static uint32_t SHA_LOAD_REG(esp_sha_type sha_type) in SHA_LOAD_REG() argument
35 return SHA_1_LOAD_REG + sha_type * SHA_LL_TYPE_OFFSET; in SHA_LOAD_REG()
44 inline static uint32_t SHA_BUSY_REG(esp_sha_type sha_type) in SHA_BUSY_REG() argument
46 return SHA_1_BUSY_REG + sha_type * SHA_LL_TYPE_OFFSET; in SHA_BUSY_REG()
55 inline static uint32_t SHA_START_REG(esp_sha_type sha_type) in SHA_START_REG() argument
57 return SHA_1_START_REG + sha_type * SHA_LL_TYPE_OFFSET; in SHA_START_REG()
66 inline static uint32_t SHA_CONTINUE_REG(esp_sha_type sha_type) in SHA_CONTINUE_REG() argument
68 return SHA_1_CONTINUE_REG + sha_type * SHA_LL_TYPE_OFFSET; in SHA_CONTINUE_REG()
76 static inline void sha_ll_start_block(esp_sha_type sha_type) in sha_ll_start_block() argument
78 DPORT_REG_WRITE(SHA_START_REG(sha_type), 1); in sha_ll_start_block()
[all …]
/device/soc/esp/esp32/components/hal/
Dsha_hal.c79 void sha_hal_hash_block(esp_sha_type sha_type, const void *data_block, size_t block_word_len, bool … in sha_hal_hash_block() argument
87 sha_ll_start_block(sha_type); in sha_hal_hash_block()
89 sha_ll_continue_block(sha_type); in sha_hal_hash_block()
96 void sha_hal_hash_dma(esp_sha_type sha_type, size_t num_blocks, bool first_block) in sha_hal_hash_dma() argument
104 sha_ll_start_dma(sha_type); in sha_hal_hash_dma()
106 sha_ll_continue_dma(sha_type); in sha_hal_hash_dma()
119 void sha_hal_read_digest(esp_sha_type sha_type, void *digest_state) in sha_hal_read_digest() argument
123 sha_ll_load(sha_type); in sha_hal_read_digest()
124 uint32_t word_len = state_length(sha_type); in sha_hal_read_digest()
127 sha_ll_read_digest(sha_type, digest_state, word_len); in sha_hal_read_digest()
[all …]
/device/soc/esp/esp32/components/hal/include/hal/
Dsha_hal.h41 void sha_hal_hash_block(esp_sha_type sha_type, const void *data_block, size_t block_word_len, bool …
55 void sha_hal_read_digest(esp_sha_type sha_type, void *digest_state);
64 void sha_hal_write_digest(esp_sha_type sha_type, void *digest_state);
75 void sha_hal_hash_dma(esp_sha_type sha_type, size_t num_blocks, bool first_block);
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/system/upg/
Dupg_check_secure.c52 hash_atts.sha_type = HI_CIPHER_HASH_TYPE_SHA256; in upg_hash_one_content()
87 hash_atts.sha_type = HI_CIPHER_HASH_TYPE_SHA256; in upg_hash_more_content()
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/
Dhi_cipher.h242 hi_cipher_hash_type sha_type; /**< sha_type, hash or hmac type. */ member
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/include/
Dhi_cipher_compat.h298 hi_cipher_hash_type sha_type; member