/hal_espressif-latest/components/mbedtls/port/aes/block/ |
D | esp_aes.c | 82 static int esp_aes_block(esp_aes_context *ctx, const void *input, void *output) in esp_aes_block() argument 85 const uint32_t *input_words = (uint32_t *)input; in esp_aes_block() 102 aes_hal_transform_block(input, output); in esp_aes_block() 122 static int esp_aes_validate_input(esp_aes_context *ctx, const unsigned char *input, in esp_aes_validate_input() argument 129 if (!input) { in esp_aes_validate_input() 143 const unsigned char input[16], in esp_aes_encrypt() 146 esp_internal_aes_encrypt(ctx, input, output); in esp_aes_encrypt() 153 const unsigned char input[16], in esp_internal_aes_encrypt() 158 if (esp_aes_validate_input(ctx, input, output)) { in esp_internal_aes_encrypt() 169 r = esp_aes_block(ctx, input, output); in esp_internal_aes_encrypt() [all …]
|
/hal_espressif-latest/components/soc/esp32s3/ |
D | uart_periph.c | 26 .input = 0, 33 .input = 1, 40 .input = 0, 47 .input = 1, 60 .input = 0, 67 .input = 1, 74 .input = 0, 81 .input = 1, 94 .input = 0, 101 .input = 1, [all …]
|
/hal_espressif-latest/components/soc/esp32/ |
D | uart_periph.c | 26 .input = 0, 33 .input = 1, 40 .input = 0, 47 .input = 1, 60 .input = 0, 67 .input = 1, 74 .input = 0, 81 .input = 1, 94 .input = 0, 101 .input = 1, [all …]
|
/hal_espressif-latest/components/mbedtls/port/include/aes/ |
D | esp_aes.h | 135 int esp_aes_crypt_ecb( esp_aes_context *ctx, int mode, const unsigned char input[16], unsigned char… 163 const unsigned char *input, 197 const unsigned char *input, 228 const unsigned char *input, 258 const unsigned char *input, 283 const unsigned char *input, 332 int esp_internal_aes_encrypt( esp_aes_context *ctx, const unsigned char input[16], unsigned char ou… 343 int esp_internal_aes_decrypt( esp_aes_context *ctx, const unsigned char input[16], unsigned char ou… 346 …e, size_t length, const unsigned char data_unit[16], const unsigned char *input, unsigned char *ou… 349 void esp_aes_decrypt( esp_aes_context *ctx, const unsigned char input[16], unsigned char output[16]… [all …]
|
D | esp_aes_gcm.h | 171 const unsigned char *input, size_t input_length, 251 const unsigned char *input, 288 const unsigned char *input,
|
/hal_espressif-latest/components/mbedtls/port/aes/dma/ |
D | esp_aes.c | 247 static int esp_aes_process_dma(esp_aes_context *ctx, const unsigned char *input, unsigned char *out… 257 static int esp_aes_process_dma_ext_ram(esp_aes_context *ctx, const unsigned char *input, unsigned c… in esp_aes_process_dma_ext_ram() argument 294 memcpy(input_buf, input + offset, chunk_len); in esp_aes_process_dma_ext_ram() 297 dma_input = input + offset; in esp_aes_process_dma_ext_ram() 334 static int esp_aes_process_dma(esp_aes_context *ctx, const unsigned char *input, unsigned char *out… in esp_aes_process_dma() argument 364 if (esp_ptr_external_ram(input)) { in esp_aes_process_dma() 365 Cache_WriteBack_Addr((uint32_t)input, len); in esp_aes_process_dma() 375 if (!s_check_dma_capable(input)) { in esp_aes_process_dma() 385 …return esp_aes_process_dma_ext_ram(ctx, input, output, len, stream_out, input_needs_realloc, outpu… in esp_aes_process_dma() 402 lldesc_setup_link(block_in_desc, input, block_bytes, 0); in esp_aes_process_dma() [all …]
|
D | esp_aes_gdma_impl.c | 19 esp_err_t esp_aes_dma_start(const lldesc_t *input, const lldesc_t *output) in esp_aes_dma_start() argument 21 return esp_crypto_shared_gdma_start(input, output, GDMA_TRIG_PERIPH_AES); in esp_aes_dma_start()
|
D | esp_aes_crypto_dma_impl.c | 23 esp_err_t esp_aes_dma_start(const lldesc_t *input, const lldesc_t *output) in esp_aes_dma_start() argument 29 crypto_dma_ll_outlink_set((uint32_t)input); in esp_aes_dma_start()
|
/hal_espressif-latest/components/soc/esp32c2/ |
D | uart_periph.c | 18 .input = 0, 25 .input = 1, 32 .input = 0, 39 .input = 1, 52 .input = 0, 59 .input = 1, 66 .input = 0, 73 .input = 1,
|
/hal_espressif-latest/components/soc/esp32s2/ |
D | uart_periph.c | 26 .input = 0, 33 .input = 1, 40 .input = 0, 47 .input = 1, 60 .input = 0, 67 .input = 1, 74 .input = 0, 81 .input = 1,
|
/hal_espressif-latest/components/soc/esp32c6/ |
D | uart_periph.c | 18 .input = 0, 25 .input = 1, 32 .input = 0, 39 .input = 1, 52 .input = 0, 59 .input = 1, 66 .input = 0, 73 .input = 1,
|
/hal_espressif-latest/components/soc/esp32c3/ |
D | uart_periph.c | 26 .input = 0, 33 .input = 1, 40 .input = 0, 47 .input = 1, 60 .input = 0, 67 .input = 1, 74 .input = 0, 81 .input = 1,
|
/hal_espressif-latest/components/soc/esp32h2/ |
D | uart_periph.c | 18 .input = 0, 25 .input = 1, 32 .input = 0, 39 .input = 1, 52 .input = 0, 59 .input = 1, 66 .input = 0, 73 .input = 1,
|
/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 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() [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() 146 memcpy( (void *) (ctx->buffer + left), input, fill ); in mbedtls_sha1_update() 148 input += fill; in mbedtls_sha1_update() 161 int ret = esp_internal_sha1_dma_process(ctx, input, len, ctx->buffer, local_len); in mbedtls_sha1_update() 174 memcpy( (void *) (ctx->buffer + left), input + len, ilen - len ); in mbedtls_sha1_update()
|
D | esp_sha_gdma_impl.c | 10 esp_err_t esp_sha_dma_start(const lldesc_t *input) in esp_sha_dma_start() argument 12 return esp_crypto_shared_gdma_start(input, NULL, GDMA_TRIG_PERIPH_SHA); in esp_sha_dma_start()
|
D | esp_sha_crypto_dma_impl.c | 15 esp_err_t esp_sha_dma_start(const lldesc_t *input) in esp_sha_dma_start() argument 20 crypto_dma_ll_outlink_set((intptr_t)input); in esp_sha_dma_start()
|
D | esp_sha256.c | 135 int mbedtls_sha256_update( mbedtls_sha256_context *ctx, const unsigned char *input, in mbedtls_sha256_update() argument 157 memcpy( (void *) (ctx->buffer + left), input, fill ); in mbedtls_sha256_update() 159 input += fill; in mbedtls_sha256_update() 171 int ret = esp_sha_dma(ctx->mode, input, len, ctx->buffer, local_len, ctx->first_block); in mbedtls_sha256_update() 184 memcpy( (void *) (ctx->buffer + left), input + len, ilen - len ); in mbedtls_sha256_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 43 assert(input != NULL && output != NULL); in esp_sha() 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/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() 143 memcpy( (void *) (ctx->buffer + left), input, fill ); in mbedtls_sha1_update() 144 input += fill; in mbedtls_sha1_update() 162 esp_internal_sha1_block_process(ctx, input); in mbedtls_sha1_update() 164 input += 64; in mbedtls_sha1_update() 175 memcpy( (void *) (ctx->buffer + left), input, ilen); in mbedtls_sha1_update()
|
D | esp_sha256.c | 139 int mbedtls_sha256_update( mbedtls_sha256_context *ctx, const unsigned char *input, in mbedtls_sha256_update() argument 161 memcpy( (void *) (ctx->buffer + left), input, fill ); in mbedtls_sha256_update() 163 input += fill; in mbedtls_sha256_update() 181 esp_internal_sha256_block_process(ctx, input); in mbedtls_sha256_update() 183 input += 64; in mbedtls_sha256_update() 193 memcpy( (void *) (ctx->buffer + left), input, ilen); in mbedtls_sha256_update()
|
D | esp_sha512.c | 178 int mbedtls_sha512_update( mbedtls_sha512_context *ctx, const unsigned char *input, in mbedtls_sha512_update() argument 199 memcpy( (void *) (ctx->buffer + left), input, fill ); in mbedtls_sha512_update() 201 input += fill; in mbedtls_sha512_update() 225 esp_internal_sha256_block_process(ctx, input); in mbedtls_sha512_update() 227 input += 64; in mbedtls_sha512_update() 236 memcpy( (void *) (ctx->buffer + left), input, ilen); in mbedtls_sha512_update()
|
/hal_espressif-latest/components/mbedtls/port/aes/ |
D | esp_aes_gcm.c | 487 const unsigned char *input, size_t input_length, in esp_aes_gcm_update() argument 498 …return mbedtls_gcm_update_soft(ctx->ctx_soft, input, input_length, output, output_size, output_len… in esp_aes_gcm_update() 512 if (!input) { in esp_aes_gcm_update() 521 if ( output > input && (size_t) ( output - input ) < input_length ) { in esp_aes_gcm_update() 539 esp_gcm_ghash(ctx, input, input_length, ctx->ghash); in esp_aes_gcm_update() 543 …int ret = esp_aes_crypt_ctr(&ctx->aes_ctx, input_length, &nc_off, nonce_counter, stream, input, ou… in esp_aes_gcm_update() 594 … const unsigned char *input, unsigned char *output, uint8_t *stream_in) in esp_aes_gcm_input_support_hw_accel() argument 603 } else if (!esp_ptr_dma_capable(input) && length > 0) { in esp_aes_gcm_input_support_hw_accel() 629 const unsigned char *input, in esp_aes_gcm_crypt_and_tag_partial_hw() argument 645 if ( ( ret = esp_aes_gcm_update( ctx, input, length, output, 0, &olen ) ) != 0 ) { in esp_aes_gcm_crypt_and_tag_partial_hw() [all …]
|
/hal_espressif-latest/components/mbedtls/port/mbedtls_rom/ |
D | mbedtls_rom_osi.h | 68 …s_aes_crypt_ecb)( mbedtls_aes_context *ctx, int mode, const unsigned char input[16], unsigned char… 69 …*ctx, int mode, size_t length, unsigned char iv[16], const unsigned char *input, unsigned char *ou… 70 …int (*_rom_mbedtls_internal_aes_encrypt)( mbedtls_aes_context *ctx, const unsigned char input[16],… 71 …int (*_rom_mbedtls_internal_aes_decrypt)( mbedtls_aes_context *ctx, const unsigned char input[16],… 124 …_t iv_len, const unsigned char *add, size_t add_len, const unsigned char *input, unsigned char *ou… 125 …_t iv_len, const unsigned char *add, size_t add_len, const unsigned char *input, unsigned char *ou… 130 …text_t *ctx, const unsigned char *iv, size_t iv_len, const unsigned char *input, size_t ilen, unsi… 132 …dtls_cipher_cmac_update)( mbedtls_cipher_context_t *ctx, const unsigned char *input, size_t ilen ); 208 …_t iv_len, const unsigned char *add, size_t add_len, const unsigned char *input, unsigned char *ou… 210 …cm_update)( mbedtls_gcm_context *ctx, size_t length, const unsigned char *input, unsigned char *ou… [all …]
|
/hal_espressif-latest/components/mbedtls/port/include/mbedtls/ |
D | gcm.h | 41 const unsigned char *input, size_t input_length, 58 const unsigned char *input, 72 const unsigned char *input,
|