/hal_espressif-latest/components/wpa_supplicant/src/crypto/ |
D | aes_wrap.h | 21 int __must_check aes_wrap(const u8 *kek, size_t kek_len, int n, const u8 *plain, 23 int __must_check aes_unwrap(const u8 *kek, size_t kek_len, int n, 25 int __must_check omac1_aes_vector(const u8 *key, size_t key_len, 26 size_t num_elem, const u8 *addr[], 27 const size_t *len, u8 *mac); 28 int __must_check omac1_aes_128_vector(const u8 *key, size_t num_elem, 29 const u8 *addr[], const size_t *len, 31 int __must_check omac1_aes_128(const u8 *key, const u8 *data, size_t data_len, 33 int __must_check omac1_aes_256(const u8 *key, const u8 *data, size_t data_len, 36 int __must_check aes_ctr_encrypt(const u8 *key, size_t key_len, const u8 *nonce, [all …]
|
D | sha256.h | 14 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, 15 const u8 *addr[], const size_t *len, u8 *mac); 16 int hmac_sha256(const u8 *key, size_t key_len, const u8 *data, 17 size_t data_len, u8 *mac); 18 int sha256_prf(const u8 *key, size_t key_len, const char *label, 19 const u8 *data, size_t data_len, u8 *buf, size_t buf_len); 20 int sha256_prf_bits(const u8 *key, size_t key_len, const char *label, 21 const u8 *data, size_t data_len, u8 *buf, 22 size_t buf_len_bits); 23 int tls_prf_sha256(const u8 *secret, size_t secret_len, [all …]
|
D | crypto.h | 33 int md4_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac); 43 int md5_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac); 54 int sha1_vector(size_t num_elem, const u8 *addr[], const size_t *len, 69 int __must_check fips186_2_prf(const u8 *seed, size_t seed_len, u8 *x, 70 size_t xlen); 80 int sha256_vector(size_t num_elem, const u8 *addr[], const size_t *len, 91 int sha384_vector(size_t num_elem, const u8 *addr[], const size_t *len, 102 int sha512_vector(size_t num_elem, const u8 *addr[], const size_t *len, 120 void * aes_encrypt_init(const u8 *key, size_t len); 143 void * aes_decrypt_init(const u8 *key, size_t len); [all …]
|
D | sha384.h | 15 int hmac_sha384_vector(const u8 *key, size_t key_len, size_t num_elem, 16 const u8 *addr[], const size_t *len, u8 *mac); 17 int hmac_sha384(const u8 *key, size_t key_len, const u8 *data, 18 size_t data_len, u8 *mac); 19 int sha384_prf(const u8 *key, size_t key_len, const char *label, 20 const u8 *data, size_t data_len, u8 *buf, size_t buf_len); 21 int sha384_prf_bits(const u8 *key, size_t key_len, const char *label, 22 const u8 *data, size_t data_len, u8 *buf, 23 size_t buf_len_bits); 24 int tls_prf_sha384(const u8 *secret, size_t secret_len, [all …]
|
D | sha1.h | 14 int hmac_sha1_vector(const u8 *key, size_t key_len, size_t num_elem, 15 const u8 *addr[], const size_t *len, u8 *mac); 16 int hmac_sha1(const u8 *key, size_t key_len, const u8 *data, size_t data_len, 18 int sha1_prf(const u8 *key, size_t key_len, const char *label, 19 const u8 *data, size_t data_len, u8 *buf, size_t buf_len); 20 int sha1_t_prf(const u8 *key, size_t key_len, const char *label, 21 const u8 *seed, size_t seed_len, u8 *buf, size_t buf_len); 22 int __must_check tls_prf_sha1_md5(const u8 *secret, size_t secret_len, 24 size_t seed_len, u8 *out, size_t outlen); 25 int pbkdf2_sha1(const char *passphrase, const u8 *ssid, size_t ssid_len, [all …]
|
D | ccmp.h | 14 size_t data_len, size_t *decrypted_len, bool espnow_pkt); 15 u8 * ccmp_encrypt(const u8 *tk, u8 *frame, size_t len, size_t hdrlen, 16 u8 *pn, int keyid, size_t *encrypted_len); 18 const u8 *frame, size_t len, 19 size_t hdrlen, const u8 *pn, int keyid, 20 size_t *encrypted_len); 23 size_t data_len, size_t *decrypted_len); 24 u8 * ccmp_256_encrypt(const u8 *tk, u8 *frame, size_t len, size_t hdrlen, 25 u8 *pn, int keyid, size_t *encrypted_len);
|
D | ms_funcs.h | 13 const u8 *username, size_t username_len, 14 const u8 *password, size_t password_len, 18 const u8 *username, size_t username_len, 21 int generate_authenticator_response(const u8 *password, size_t password_len, 24 const u8 *username, size_t username_len, 29 const u8 *username, size_t username_len, 32 size_t password_len, u8 *response); 37 const u8 *username, size_t username_len, u8 *challenge); 38 int nt_password_hash(const u8 *password, size_t password_len, 44 size_t session_key_len, int is_send, [all …]
|
D | aes-ccm.c | 29 static void aes_ccm_auth_start(void *aes, size_t M, size_t L, const u8 *nonce, in aes_ccm_auth_start() 30 const u8 *aad, size_t aad_len, size_t plain_len, in aes_ccm_auth_start() 65 static void aes_ccm_auth(void *aes, const u8 *data, size_t len, u8 *x) in aes_ccm_auth() 67 size_t last = len % AES_BLOCK_SIZE; in aes_ccm_auth() 68 size_t i; in aes_ccm_auth() 85 static void aes_ccm_encr_start(size_t L, const u8 *nonce, u8 *a) in aes_ccm_encr_start() 93 static void aes_ccm_encr(void *aes, size_t L, const u8 *in, size_t len, u8 *out, in aes_ccm_encr() 96 size_t last = len % AES_BLOCK_SIZE; in aes_ccm_encr() 97 size_t i; in aes_ccm_encr() 118 static void aes_ccm_encr_auth(void *aes, size_t M, u8 *x, u8 *a, u8 *auth) in aes_ccm_encr_auth() [all …]
|
/hal_espressif-latest/components/mbedtls/port/mbedtls_rom/ |
D | mbedtls_rom_osi.h | 69 …int (*_rom_mbedtls_aes_crypt_cbc)( mbedtls_aes_context *ctx, int mode, size_t length, unsigned cha… 72 int (*_rom_mbedtls_asn1_get_len)( unsigned char **p, const unsigned char *end, size_t *len ); 73 …int (*_rom_mbedtls_asn1_get_tag)( unsigned char **p, const unsigned char *end, size_t *len, int ta… 77 …*_rom_mbedtls_asn1_get_bitstring_null)( unsigned char **p, const unsigned char *end, size_t *len ); 82 int (*_rom_mbedtls_asn1_write_len)( unsigned char **p, const unsigned char *start, size_t len ); 85 …om_mbedtls_base64_decode)( unsigned char *dst, size_t dlen, size_t *olen, const unsigned char *src… 88 int (*_rom_mbedtls_mpi_grow)( mbedtls_mpi *X, size_t nblimbs ); 89 int (*_rom_mbedtls_mpi_shrink)( mbedtls_mpi *X, size_t nblimbs ); 94 int (*_rom_mbedtls_mpi_get_bit)( const mbedtls_mpi *X, size_t pos ); 95 int (*_rom_mbedtls_mpi_set_bit)( mbedtls_mpi *X, size_t pos, unsigned char val ); [all …]
|
/hal_espressif-latest/components/heap/include/ |
D | esp_heap_caps.h | 54 typedef void (*esp_alloc_failed_hook_t) (size_t size, uint32_t caps, const char * function_name); 72 __attribute__((weak)) HEAP_IRAM_ATTR void esp_heap_trace_alloc_hook(void* ptr, size_t size, uint32_… 94 void *heap_caps_malloc(size_t size, uint32_t caps); 125 void *heap_caps_realloc( void *ptr, size_t size, uint32_t caps); 141 void *heap_caps_aligned_alloc(size_t alignment, size_t size, uint32_t caps); 164 void *heap_caps_aligned_calloc(size_t alignment, size_t n, size_t size, uint32_t caps); 181 void *heap_caps_calloc(size_t n, size_t size, uint32_t caps); 195 size_t heap_caps_get_total_size(uint32_t caps); 211 size_t heap_caps_get_free_size( uint32_t caps ); 229 size_t heap_caps_get_minimum_free_size( uint32_t caps ); [all …]
|
D | multi_heap.h | 33 void *multi_heap_aligned_alloc(multi_heap_handle_t heap, size_t size, size_t alignment); 44 void *multi_heap_malloc(multi_heap_handle_t heap, size_t size); 73 void *multi_heap_realloc(multi_heap_handle_t heap, void *p, size_t size); 84 size_t multi_heap_get_allocated_size(multi_heap_handle_t heap, void *p); 98 multi_heap_handle_t multi_heap_register(void *start, size_t size); 148 size_t multi_heap_free_size(multi_heap_handle_t heap); 160 size_t multi_heap_minimum_free_size(multi_heap_handle_t heap); 164 …size_t total_free_bytes; ///< Total free bytes in the heap. Equivalent to multi_free_heap_si… 165 size_t total_allocated_bytes; ///< Total bytes allocated to data in the heap. 166 …size_t largest_free_block; ///< Size of the largest free block in the heap. This is the larges… [all …]
|
D | esp_heap_trace.h | 36 size_t size; ///< Size of the allocation 52 size_t total_allocations; ///< The total number of allocations made during tracing 53 size_t total_frees; ///< The total number of frees made during tracing 54 size_t count; ///< The number of records in the internal buffer 55 size_t capacity; ///< The capacity of the internal buffer 56 size_t high_water_mark; ///< The maximum value that 'count' got to 57 size_t has_overflowed; ///< True if the internal buffer overflowed at some point 59 size_t total_hashmap_hits; ///< If hashmap is used, the total number of hits 60 …size_t total_hashmap_miss; ///< If hashmap is used, the total number of misses (possibly due… 79 esp_err_t heap_trace_init_standalone(heap_trace_record_t *record_buffer, size_t num_records); [all …]
|
/hal_espressif-latest/zephyr/port/heap/ |
D | heap_caps_zephyr.c | 38 static void heap_caps_alloc_failed(size_t requested_size, uint32_t caps, const char *function_name) in heap_caps_alloc_failed() 52 static void *heap_caps_malloc_base( size_t size, uint32_t caps) in heap_caps_malloc_base() 64 void *heap_caps_malloc( size_t size, uint32_t caps) in heap_caps_malloc() 69 void heap_caps_malloc_extmem_enable(size_t limit) in heap_caps_malloc_extmem_enable() 75 void *heap_caps_malloc_default( size_t size ) in heap_caps_malloc_default() 80 void *heap_caps_malloc_prefer( size_t size, size_t num, ... ) in heap_caps_malloc_prefer() 86 static void *heap_caps_realloc_base( void *ptr, size_t size, uint32_t caps) in heap_caps_realloc_base() 97 void *heap_caps_realloc( void *ptr, size_t size, uint32_t caps) in heap_caps_realloc() 102 void *heap_caps_realloc_default( void *ptr, size_t size ) in heap_caps_realloc_default() 107 void *heap_caps_realloc_prefer( void *ptr, size_t size, size_t num, ... ) in heap_caps_realloc_prefer() [all …]
|
/hal_espressif-latest/components/heap/ |
D | heap_caps_linux.c | 31 static void heap_caps_alloc_failed(size_t requested_size, uint32_t caps, const char *function_name) in heap_caps_alloc_failed() 45 static void *heap_caps_malloc_base( size_t size, uint32_t caps) in heap_caps_malloc_base() 57 void *heap_caps_malloc( size_t size, uint32_t caps) in heap_caps_malloc() 64 void heap_caps_malloc_extmem_enable(size_t limit) in heap_caps_malloc_extmem_enable() 70 void *heap_caps_malloc_default( size_t size ) in heap_caps_malloc_default() 75 void *heap_caps_malloc_prefer( size_t size, size_t num, ... ) in heap_caps_malloc_prefer() 81 static void *heap_caps_realloc_base( void *ptr, size_t size, uint32_t caps) in heap_caps_realloc_base() 92 void *heap_caps_realloc( void *ptr, size_t size, uint32_t caps) in heap_caps_realloc() 97 void *heap_caps_realloc_default( void *ptr, size_t size ) in heap_caps_realloc_default() 102 void *heap_caps_realloc_prefer( void *ptr, size_t size, size_t num, ... ) in heap_caps_realloc_prefer() [all …]
|
D | multi_heap_internal.h | 43 void *multi_heap_malloc_impl(multi_heap_handle_t heap, size_t size); 46 void *multi_heap_aligned_alloc_impl(multi_heap_handle_t heap, size_t size, size_t alignment); 49 …ti_heap_aligned_alloc_impl_offs(multi_heap_handle_t heap, size_t size, size_t alignment, size_t of… 52 void *multi_heap_realloc_impl(multi_heap_handle_t heap, void *p, size_t size); 53 multi_heap_handle_t multi_heap_register_impl(void *start, size_t size); 55 size_t multi_heap_free_size_impl(multi_heap_handle_t heap); 56 size_t multi_heap_minimum_free_size_impl(multi_heap_handle_t heap); 57 size_t multi_heap_get_allocated_size_impl(multi_heap_handle_t heap, void *p); 63 bool multi_heap_internal_check_block_poisoning(void *start, size_t size, bool is_free, bool print_e… 68 void multi_heap_internal_poison_fill_region(void *start, size_t size, bool is_free);
|
/hal_espressif-latest/components/newlib/ |
D | heap.c | 19 extern void *heap_caps_malloc_default( size_t size ); 20 extern void *heap_caps_realloc_default( void *ptr, size_t size ); 22 void* malloc(size_t size) in malloc() 27 void* calloc(size_t n, size_t size) in calloc() 32 void* realloc(void* ptr, size_t size) in realloc() 42 void* _malloc_r(struct _reent *r, size_t size) in _malloc_r() 52 void* _realloc_r(struct _reent *r, void* ptr, size_t size) in _realloc_r() 57 void* _calloc_r(struct _reent *r, size_t nmemb, size_t size) in _calloc_r() 60 size_t size_bytes; in _calloc_r() 72 void* memalign(size_t alignment, size_t n) in memalign() [all …]
|
/hal_espressif-latest/components/mbedtls/port/include/aes/ |
D | esp_aes_gcm.h | 38 size_t iv_len; /*!< The length of IV. */ 40 size_t data_len; 93 size_t iv_len ); 117 size_t aad_len ); 171 const unsigned char *input, size_t input_length, 172 unsigned char *output, size_t output_size, 173 size_t *output_length ); 209 unsigned char *output, size_t output_size, 210 size_t *output_length, 211 unsigned char *tag, size_t tag_len ); [all …]
|
/hal_espressif-latest/components/mbedtls/port/include/mbedtls/ |
D | gcm.h | 35 const unsigned char *iv, size_t iv_len); 38 const unsigned char *add, size_t add_len); 41 const unsigned char *input, size_t input_length, 42 unsigned char *output, size_t output_size, 43 size_t *output_length); 46 unsigned char *output, size_t output_size, 47 size_t *output_length, 48 unsigned char *tag, size_t tag_len); 53 size_t length, 55 size_t iv_len, [all …]
|
/hal_espressif-latest/components/wpa_supplicant/src/rsn_supp/ |
D | wpa_ie.h | 20 size_t wpa_ie_len; 22 size_t rsn_ie_len; 25 size_t gtk_len; 27 size_t mac_addr_len; 30 size_t igtk_len; 34 size_t mdie_len; 36 size_t ftie_len; 41 size_t transition_disable_len; 43 size_t rsnxe_len; 46 int wpa_supplicant_parse_ies(const u8 *buf, size_t len, [all …]
|
/hal_espressif-latest/components/esp_rom/patches/ |
D | esp_rom_tlsf.c | 38 #define block_header_overhead (sizeof(size_t)) 39 #define block_start_offset (offsetof(block_header_t, size) + sizeof(size_t)) 47 size_t size; 54 static inline __attribute__((__always_inline__)) size_t block_size(const block_header_t* block) in block_size() 95 static void integrity_walker(void* ptr, size_t size, int used, void* user) in integrity_walker() 101 const size_t this_block_size = block_size(block); in integrity_walker() 116 const size_t actual_free_block_size = used ? this_block_size : in integrity_walker() 151 tlsf_t (*tlsf_create_with_pool)(void* mem, size_t bytes); 153 pool_t (*tlsf_add_pool)(tlsf_t tlsf, void* mem, size_t bytes); 156 void* (*tlsf_malloc)(tlsf_t tlsf, size_t size); [all …]
|
/hal_espressif-latest/components/mbedtls/port/ecdsa/ |
D | ecdsa_alt.c | 127 const mbedtls_mpi *d, const unsigned char* msg, size_t msg_len) in esp_ecdsa_sign() 202 const mbedtls_mpi *d, const unsigned char *buf, size_t blen, 203 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng); 206 const mbedtls_mpi *d, const unsigned char *buf, size_t blen, 207 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng); 210 const mbedtls_mpi *d, const unsigned char *buf, size_t blen, in __wrap_mbedtls_ecdsa_sign() 211 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng) in __wrap_mbedtls_ecdsa_sign() argument 225 … const mbedtls_mpi *d, const unsigned char *buf, size_t blen, 226 … int (*f_rng)(void *, unsigned char *, size_t), void *p_rng, 227 … int (*f_rng_blind)(void *, unsigned char *, size_t), void *p_rng_blind, [all …]
|
/hal_espressif-latest/components/wpa_supplicant/src/common/ |
D | sae.h | 46 size_t kck_len; 71 size_t kek_len; 76 size_t fingerprint_bytes; 77 size_t fingerprint_bits; 78 size_t lambda; 81 size_t ssid_len; 95 size_t ssid_len; 112 size_t pmk_len; 130 const u8 *password, size_t password_len, 138 u16 sae_parse_commit(struct sae_data *sae, const u8 *data, size_t len, [all …]
|
D | wpa_common.h | 204 size_t kck_len; 205 size_t kek_len; 206 size_t tk_len; 212 size_t gtk_len; 218 size_t igtk_len; 333 int wpa_ft_mic(const u8 *kck, size_t kck_len, const u8 *sta_addr, 335 const u8 *mdie, size_t mdie_len, 336 const u8 *ftie, size_t ftie_len, 337 const u8 *rsnie, size_t rsnie_len, 338 const u8 *ric, size_t ric_len, u8 *mic); [all …]
|
/hal_espressif-latest/components/wpa_supplicant/src/ap/ |
D | wpa_auth_ie.h | 14 size_t wpa_ie_len; 16 size_t rsn_ie_len; 19 size_t gtk_len; 21 size_t mac_addr_len; 24 size_t igtk_len; 28 size_t mdie_len; 30 size_t ftie_len; 33 size_t rsnxe_len; 36 int wpa_parse_kde_ies(const u8 *buf, size_t len, 38 u8 * wpa_add_kde(u8 *pos, u32 kde, const u8 *data, size_t data_len, [all …]
|
/hal_espressif-latest/components/wpa_supplicant/esp_supplicant/src/crypto/ |
D | crypto_mbedtls.c | 53 static int digest_vector(mbedtls_md_type_t md_type, size_t num_elem, in digest_vector() 54 const u8 *addr[], const size_t *len, u8 *mac) in digest_vector() 56 size_t i; in digest_vector() 97 int sha256_vector(size_t num_elem, const u8 *addr[], const size_t *len, in sha256_vector() 103 int sha384_vector(size_t num_elem, const u8 *addr[], const size_t *len, in sha384_vector() 109 int sha512_vector(size_t num_elem, const u8 *addr[], const size_t *len, in sha512_vector() 115 int sha1_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in sha1_vector() 120 int md5_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in md5_vector() 126 int md4_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in md4_vector() 133 size_t key_len) in crypto_hash_init() [all …]
|