Lines Matching refs:input
185 static void esp_sha_block_mode(esp_sha_type sha_type, const uint8_t *input, uint32_t ilen, in esp_sha_block_mode() argument
202 sha_hal_hash_block(sha_type, input + blk_len * i, blk_word_len, is_first_block); in esp_sha_block_mode()
209 static int esp_sha_dma_process(esp_sha_type sha_type, const void *input, uint32_t ilen,
215 int esp_sha_dma(esp_sha_type sha_type, const void *input, uint32_t ilen, in esp_sha_dma() argument
227 if (!s_check_dma_capable(input) && (ilen != 0)) { in esp_sha_dma()
228 esp_sha_block_mode(sha_type, input, ilen, buf, buf_len, is_first_block); in esp_sha_dma()
233 if (esp_ptr_external_ram(input)) { in esp_sha_dma()
234 Cache_WriteBack_Addr((uint32_t)input, ilen); in esp_sha_dma()
271 ret = esp_sha_dma_process(sha_type, input, dma_chunk_len, buf, buf_len, is_first_block); in esp_sha_dma()
278 input = (uint8_t *)input + dma_chunk_len; in esp_sha_dma()
292 static esp_err_t esp_sha_dma_process(esp_sha_type sha_type, const void *input, uint32_t ilen, in esp_sha_dma_process() argument
308 s_dma_descr_input.buf = (uint8_t *)input; in esp_sha_dma_process()