/hal_espressif-latest/components/mbedtls/port/sha/dma/ |
D | sha.c | 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 194 num_block = ilen / blk_len; 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() 234 Cache_WriteBack_Addr((uint32_t)input, ilen); in esp_sha_dma() 255 if (ilen > 0) { in esp_sha_dma() 257 dma_op_num = (ilen + SOC_SHA_DMA_MAX_BUFFER_SIZE - 1) / SOC_SHA_DMA_MAX_BUFFER_SIZE; in esp_sha_dma() 269 int dma_chunk_len = MIN(ilen, SOC_SHA_DMA_MAX_BUFFER_SIZE); in esp_sha_dma() [all …]
|
D | esp_sha1.c | 126 int mbedtls_sha1_update( mbedtls_sha1_context *ctx, const unsigned char *input, size_t ilen ) in mbedtls_sha1_update() argument 131 if ( !ilen || (input == NULL)) { in mbedtls_sha1_update() 138 ctx->total[0] += (uint32_t) ilen; in mbedtls_sha1_update() 141 if ( ctx->total[0] < (uint32_t) ilen ) { in mbedtls_sha1_update() 145 if ( left && ilen >= fill ) { in mbedtls_sha1_update() 149 ilen -= fill; in mbedtls_sha1_update() 154 len = (ilen / 64) * 64; in mbedtls_sha1_update() 173 if ( ilen > 0 ) { in mbedtls_sha1_update() 174 memcpy( (void *) (ctx->buffer + left), input + len, ilen - len ); in mbedtls_sha1_update()
|
D | esp_sha256.c | 136 size_t ilen ) in mbedtls_sha256_update() argument 141 if ( ilen == 0 ) { in mbedtls_sha256_update() 148 ctx->total[0] += (uint32_t) ilen; in mbedtls_sha256_update() 151 if ( ctx->total[0] < (uint32_t) ilen ) { in mbedtls_sha256_update() 156 if ( left && ilen >= fill ) { in mbedtls_sha256_update() 160 ilen -= fill; in mbedtls_sha256_update() 165 len = (ilen / 64) * 64; in mbedtls_sha256_update() 183 if ( ilen > 0 ) { in mbedtls_sha256_update() 184 memcpy( (void *) (ctx->buffer + left), input + len, ilen - len ); in mbedtls_sha256_update()
|
D | esp_sha512.c | 184 size_t ilen ) in mbedtls_sha512_update() argument 189 if ( ilen == 0 ) { in mbedtls_sha512_update() 196 ctx->total[0] += (uint64_t) ilen; in mbedtls_sha512_update() 198 if ( ctx->total[0] < (uint64_t) ilen ) { in mbedtls_sha512_update() 202 if ( left && ilen >= fill ) { in mbedtls_sha512_update() 206 ilen -= fill; in mbedtls_sha512_update() 211 len = (ilen / 128) * 128; in mbedtls_sha512_update() 238 if ( ilen > 0 ) { in mbedtls_sha512_update() 239 memcpy( (void *) (ctx->buffer + left), input + len, ilen - len ); in mbedtls_sha512_update()
|
/hal_espressif-latest/components/mbedtls/port/sha/block/ |
D | esp_sha1.c | 123 int mbedtls_sha1_update( mbedtls_sha1_context *ctx, const unsigned char *input, size_t ilen ) in mbedtls_sha1_update() argument 128 if ( !ilen || (input == NULL)) { in mbedtls_sha1_update() 135 ctx->total[0] += (uint32_t) ilen; in mbedtls_sha1_update() 138 if ( ctx->total[0] < (uint32_t) ilen ) { in mbedtls_sha1_update() 142 if ( left && ilen >= fill ) { in mbedtls_sha1_update() 145 ilen -= fill; in mbedtls_sha1_update() 150 if ( (ilen >= 64) || local_len) { in mbedtls_sha1_update() 161 while ( ilen >= 64 ) { in mbedtls_sha1_update() 165 ilen -= 64; in mbedtls_sha1_update() 174 if ( ilen > 0 ) { in mbedtls_sha1_update() [all …]
|
D | esp_sha256.c | 140 size_t ilen ) in mbedtls_sha256_update() argument 145 if ( ilen == 0 ) { in mbedtls_sha256_update() 152 ctx->total[0] += (uint32_t) ilen; in mbedtls_sha256_update() 155 if ( ctx->total[0] < (uint32_t) ilen ) { in mbedtls_sha256_update() 160 if ( left && ilen >= fill ) { in mbedtls_sha256_update() 164 ilen -= fill; in mbedtls_sha256_update() 169 if ( (ilen >= 64) || local_len) { in mbedtls_sha256_update() 180 while ( ilen >= 64 ) { in mbedtls_sha256_update() 184 ilen -= 64; in mbedtls_sha256_update() 192 if ( ilen > 0 ) { in mbedtls_sha256_update() [all …]
|
D | esp_sha512.c | 179 size_t ilen ) in mbedtls_sha512_update() argument 185 if ( ilen == 0 ) { in mbedtls_sha512_update() 192 ctx->total[0] += (uint64_t) ilen; in mbedtls_sha512_update() 194 if ( ctx->total[0] < (uint64_t) ilen ) { in mbedtls_sha512_update() 198 if ( left && ilen >= fill ) { in mbedtls_sha512_update() 202 ilen -= fill; in mbedtls_sha512_update() 224 while ( ilen >= 128 ) { in mbedtls_sha512_update() 228 ilen -= 64; in mbedtls_sha512_update() 235 if ( ilen > 0 ) { in mbedtls_sha512_update() 236 memcpy( (void *) (ctx->buffer + left), input, ilen); in mbedtls_sha512_update()
|
/hal_espressif-latest/components/mbedtls/port/sha/ |
D | esp_sha.c | 28 void esp_sha(esp_sha_type sha_type, const unsigned char *input, size_t ilen, unsigned char *output) in esp_sha() argument 49 ret = mbedtls_sha1_update(&ctx.sha1, input, ilen); in esp_sha() 62 ret = mbedtls_sha256_update(&ctx.sha256, input, ilen); in esp_sha() 75 ret = mbedtls_sha512_update(&ctx.sha512, input, ilen); in esp_sha() 88 ret = mbedtls_sha512_update(&ctx.sha512, input, ilen); in esp_sha()
|
/hal_espressif-latest/components/mbedtls/port/sha/parallel_engine/ |
D | esp_sha512.c | 313 size_t ilen ) in mbedtls_sha512_update() argument 319 if ( ilen == 0 ) { in mbedtls_sha512_update() 326 ctx->total[0] += (uint64_t) ilen; in mbedtls_sha512_update() 328 if ( ctx->total[0] < (uint64_t) ilen ) { in mbedtls_sha512_update() 332 if ( left && ilen >= fill ) { in mbedtls_sha512_update() 339 ilen -= fill; in mbedtls_sha512_update() 343 while ( ilen >= 128 ) { in mbedtls_sha512_update() 349 ilen -= 128; in mbedtls_sha512_update() 356 if ( ilen > 0 ) { in mbedtls_sha512_update() 357 memcpy( (void *) (ctx->buffer + left), input, ilen ); in mbedtls_sha512_update()
|
D | esp_sha256.c | 277 size_t ilen ) in mbedtls_sha256_update() argument 283 if ( ilen == 0 ) { in mbedtls_sha256_update() 290 ctx->total[0] += (uint32_t) ilen; in mbedtls_sha256_update() 293 if ( ctx->total[0] < (uint32_t) ilen ) { in mbedtls_sha256_update() 297 if ( left && ilen >= fill ) { in mbedtls_sha256_update() 305 ilen -= fill; in mbedtls_sha256_update() 309 while ( ilen >= 64 ) { in mbedtls_sha256_update() 315 ilen -= 64; in mbedtls_sha256_update() 322 if ( ilen > 0 ) { in mbedtls_sha256_update() 323 memcpy( (void *) (ctx->buffer + left), input, ilen ); in mbedtls_sha256_update()
|
D | esp_sha1.c | 317 int mbedtls_sha1_update( mbedtls_sha1_context *ctx, const unsigned char *input, size_t ilen ) in mbedtls_sha1_update() argument 323 if ( ilen == 0 ) { in mbedtls_sha1_update() 330 ctx->total[0] += (uint32_t) ilen; in mbedtls_sha1_update() 333 if ( ctx->total[0] < (uint32_t) ilen ) { in mbedtls_sha1_update() 337 if ( left && ilen >= fill ) { in mbedtls_sha1_update() 345 ilen -= fill; in mbedtls_sha1_update() 349 while ( ilen >= 64 ) { in mbedtls_sha1_update() 355 ilen -= 64; in mbedtls_sha1_update() 362 if ( ilen > 0 ) { in mbedtls_sha1_update() 363 memcpy( (void *) (ctx->buffer + left), input, ilen ); in mbedtls_sha1_update()
|
/hal_espressif-latest/components/mbedtls/port/include/sha/ |
D | sha_dma.h | 57 void esp_sha(esp_sha_type sha_type, const unsigned char *input, size_t ilen, unsigned char *output); 95 int esp_sha_dma(esp_sha_type sha_type, const void *input, uint32_t ilen,
|
D | sha_block.h | 46 void esp_sha(esp_sha_type sha_type, const unsigned char *input, size_t ilen, unsigned char *output);
|
D | sha_parallel_engine.h | 70 void esp_sha(esp_sha_type sha_type, const unsigned char *input, size_t ilen, unsigned char *output);
|
/hal_espressif-latest/components/mbedtls/port/md/ |
D | esp_md.c | 22 int esp_md5_update( mbedtls_md5_context *ctx, const unsigned char *input, size_t ilen ) in esp_md5_update() argument 24 esp_rom_md5_update(ctx, input, ilen); in esp_md5_update()
|
/hal_espressif-latest/components/mbedtls/port/mbedtls_rom/ |
D | mbedtls_rom_osi.h | 130 …onst unsigned char *iv, size_t iv_len, const unsigned char *input, size_t ilen, unsigned char *out… 132 …dtls_cipher_cmac_update)( mbedtls_cipher_context_t *ctx, const unsigned char *input, size_t ilen ); 190 …nary)( const mbedtls_ecp_group *grp, mbedtls_ecp_point *P, const unsigned char *buf, size_t ilen ); 227 …nt (*_rom_mbedtls_md_update)( mbedtls_md_context_t *ctx, const unsigned char *input, size_t ilen ); 229 …md)( const mbedtls_md_info_t *md_info, const unsigned char *input, size_t ilen, unsigned char *out… 231 …_rom_mbedtls_md_hmac_update)( mbedtls_md_context_t *ctx, const unsigned char *input, size_t ilen ); 261 …_pk_encrypt)( mbedtls_pk_context *ctx, const unsigned char *input, size_t ilen, unsigned char *out… 275 … (*f_rng)(void *, unsigned char *, size_t), void *p_rng, int mode, size_t ilen, const unsigned cha… 276 … (*f_rng)(void *, unsigned char *, size_t), void *p_rng, int mode, size_t ilen, const unsigned cha… 277 …id *p_rng, int mode, const unsigned char *label, size_t label_len, size_t ilen, const unsigned cha… [all …]
|
/hal_espressif-latest/components/mbedtls/port/include/md/ |
D | esp_md.h | 85 int esp_md5_update( mbedtls_md5_context *ctx, const unsigned char *input, size_t ilen );
|
/hal_espressif-latest/tools/esptool_py/flasher_stub/include/ |
D | rom_functions.h | 64 int mbedtls_md5_update_ret(struct MD5Context *ctx, const unsigned char *input, size_t ilen);
|