Select one of the symbols to view example projects that use it.
 
Outline
#include <stdbool.h>
#include "aes/esp_aes.h"
#include "soc/soc_caps.h"
#include "hal/aes_hal.h"
#include "esp_crypto_dma.h"
#include "sdkconfig.h"
valid_key_length(const esp_aes_context *);
Files
loading...
SourceVuESP-IDF Framework and ExamplesmbedTLSport/aes/include/esp_aes_internal.h
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* * SPDX-FileCopyrightText: 2023-2025 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 *//* ... */ #pragma once #include <stdbool.h> #include "aes/esp_aes.h" #include "soc/soc_caps.h" #include "hal/aes_hal.h" #include "esp_crypto_dma.h" #include "sdkconfig.h"6 includes #ifdef __cplusplus extern "C" { #endif bool valid_key_length(const esp_aes_context *ctx); #ifdef CONFIG_MBEDTLS_AES_USE_PSEUDO_ROUND_FUNC /** * @brief Default pseudo rounds configs of the AES accelerator *//* ... */ typedef enum { ESP_AES_PSEUDO_ROUNDS_DISABLE = 0, ESP_AES_PSEUDO_ROUNDS_LOW, ESP_AES_PSEUDO_ROUNDS_MEDIUM, ESP_AES_PSEUDO_ROUNDS_HIGH, }{...} esp_aes_psuedo_rounds_state_t; void esp_aes_enable_pseudo_rounds(esp_aes_psuedo_rounds_state_t state);/* ... */ #endif /* CONFIG_MBEDTLS_AES_USE_PSEUDO_ROUND_FUNC */ #if SOC_AES_SUPPORT_DMA /** * @brief Run a AES operation using DMA * * @param ctx Aes context * @param input Pointer to input data * @param output Pointer to output data * @param len Length of the input data * @param stream_out The saved stream-block for resuming next operation. * @return int -1 on error *//* ... */ int esp_aes_process_dma(esp_aes_context *ctx, const unsigned char *input, unsigned char *output, size_t len, uint8_t *stream_out);/* ... */ #endif #if SOC_AES_SUPPORT_GCM /** * @brief Run a AES-GCM conversion using DMA * * @param ctx Aes context * @param input Pointer to input data * @param output Pointer to output data * @param len Length of the input data * @param aad_desc GCM additional data DMA descriptor * @param aad_len GCM additional data length * @return int -1 on error *//* ... */ int esp_aes_process_dma_gcm(esp_aes_context *ctx, const unsigned char *input, unsigned char *output, size_t len, const unsigned char *aad_desc, size_t aad_len);/* ... */ #endif #ifdef __cplusplus }{...} #endif
Details
Show:
from
Types: Columns:
This file uses the notable symbols shown below. Click anywhere in the file to view more details.