Home
last modified time | relevance | path

Searched refs:size_t (Results 1 – 25 of 781) sorted by relevance

12345678910>>...32

/hal_espressif-3.7.0/components/wpa_supplicant/src/crypto/
Daes_wrap.h21 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 …]
Dcrypto.h33 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 …]
Dsha256.h14 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 …]
Dsha384.h15 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 …]
Dsha1.h14 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 …]
Dccmp.h14 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);
Dms_funcs.h13 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 …]
Daes-ccm.c29 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-3.7.0/components/heap/include/
Desp_heap_caps.h54 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 …]
Dmulti_heap.h33 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);
164size_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.
166size_t largest_free_block; ///< Size of the largest free block in the heap. This is the larges…
[all …]
Desp_heap_trace.h36 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
60size_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-3.7.0/zephyr/port/heap/
Dheap_caps_zephyr.c17 void *__real_k_malloc(size_t size);
18 void *__real_k_calloc(size_t nmemb, size_t size);
57 static void heap_caps_alloc_failed(size_t requested_size, uint32_t caps, const char *function_name) in heap_caps_alloc_failed()
71 static void *heap_caps_malloc_base( size_t size, uint32_t caps) in heap_caps_malloc_base()
83 void *heap_caps_malloc( size_t size, uint32_t caps) in heap_caps_malloc()
88 void heap_caps_malloc_extmem_enable(size_t limit) in heap_caps_malloc_extmem_enable()
94 void *heap_caps_malloc_default( size_t size ) in heap_caps_malloc_default()
99 void *heap_caps_malloc_prefer( size_t size, size_t num, ... ) in heap_caps_malloc_prefer()
105 static void *heap_caps_realloc_base( void *ptr, size_t size, uint32_t caps) in heap_caps_realloc_base()
116 void *heap_caps_realloc( void *ptr, size_t size, uint32_t caps) in heap_caps_realloc()
[all …]
/hal_espressif-3.7.0/components/heap/
Dheap_caps_linux.c31 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 …]
Dmulti_heap_internal.h43 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-3.7.0/components/mbedtls/port/include/aes/
Desp_aes_gcm.h38 size_t iv_len; /*!< The length of IV. */
40 size_t data_len;
91 size_t iv_len );
115 size_t aad_len );
169 const unsigned char *input, size_t input_length,
170 unsigned char *output, size_t output_size,
171 size_t *output_length );
207 unsigned char *output, size_t output_size,
208 size_t *output_length,
209 unsigned char *tag, size_t tag_len );
[all …]
/hal_espressif-3.7.0/components/newlib/
Dheap.c19 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-3.7.0/components/wpa_supplicant/src/rsn_supp/
Dwpa_ie.h20 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-3.7.0/components/wpa_supplicant/esp_supplicant/src/crypto/
Dcrypto_mbedtls.c49 static int digest_vector(mbedtls_md_type_t md_type, size_t num_elem, in digest_vector()
50 const u8 *addr[], const size_t *len, u8 *mac) in digest_vector()
52 size_t i; in digest_vector()
93 int sha256_vector(size_t num_elem, const u8 *addr[], const size_t *len, in sha256_vector()
99 int sha384_vector(size_t num_elem, const u8 *addr[], const size_t *len, in sha384_vector()
105 int sha512_vector(size_t num_elem, const u8 *addr[], const size_t *len, in sha512_vector()
111 int sha1_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in sha1_vector()
116 int md5_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in md5_vector()
122 int md4_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in md4_vector()
129 size_t key_len) in crypto_hash_init()
[all …]
/hal_espressif-3.7.0/components/wpa_supplicant/src/ap/
Dwpa_auth_ie.h14 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-3.7.0/zephyr/esp32/src/
Dheap_caps.c15 void *__real_k_malloc(size_t size);
16 void *__real_k_calloc(size_t nmemb, size_t size);
44 static void *z_esp_aligned_alloc(struct k_heap *heap, size_t align, size_t size) in z_esp_aligned_alloc()
48 size_t __align; in z_esp_aligned_alloc()
75 static void *z_esp_aligned_calloc(struct k_heap *heap, size_t nmemb, size_t size) in z_esp_aligned_calloc()
78 size_t bounds; in z_esp_aligned_calloc()
90 static void *z_esp_alloc_internal(size_t align, size_t size) in z_esp_alloc_internal()
104 static void *z_esp_calloc_internal(size_t nmemb, size_t size) in z_esp_calloc_internal()
119 void *__wrap_k_malloc(size_t size) in __wrap_k_malloc()
121 void *k_malloc(size_t size) in __wrap_k_malloc()
[all …]
/hal_espressif-3.7.0/zephyr/esp32s3/src/
Dheap_caps.c15 void *__real_k_malloc(size_t size);
16 void *__real_k_calloc(size_t nmemb, size_t size);
44 static void *z_esp_aligned_alloc(struct k_heap *heap, size_t align, size_t size) in z_esp_aligned_alloc()
48 size_t __align; in z_esp_aligned_alloc()
75 static void *z_esp_aligned_calloc(struct k_heap *heap, size_t nmemb, size_t size) in z_esp_aligned_calloc()
78 size_t bounds; in z_esp_aligned_calloc()
90 static void *z_esp_alloc_internal(size_t align, size_t size) in z_esp_alloc_internal()
104 static void *z_esp_calloc_internal(size_t nmemb, size_t size) in z_esp_calloc_internal()
119 void *__wrap_k_malloc(size_t size) in __wrap_k_malloc()
121 void *k_malloc(size_t size) in __wrap_k_malloc()
[all …]
/hal_espressif-3.7.0/zephyr/esp32s2/src/
Dheap_caps.c16 void *__real_k_malloc(size_t size);
17 void *__real_k_calloc(size_t nmemb, size_t size);
45 static void *z_esp_aligned_alloc(struct k_heap *heap, size_t align, size_t size) in z_esp_aligned_alloc()
49 size_t __align; in z_esp_aligned_alloc()
76 static void *z_esp_aligned_calloc(struct k_heap *heap, size_t nmemb, size_t size) in z_esp_aligned_calloc()
79 size_t bounds; in z_esp_aligned_calloc()
91 static void *z_esp_alloc_internal(size_t align, size_t size) in z_esp_alloc_internal()
105 static void *z_esp_calloc_internal(size_t nmemb, size_t size) in z_esp_calloc_internal()
120 void *__wrap_k_malloc(size_t size) in __wrap_k_malloc()
122 void *k_malloc(size_t size) in __wrap_k_malloc()
[all …]
/hal_espressif-3.7.0/components/wpa_supplicant/src/common/
Dsae.h70 size_t kek_len;
75 size_t fingerprint_bytes;
76 size_t fingerprint_bits;
77 size_t lambda;
80 size_t ssid_len;
94 size_t ssid_len;
128 const u8 *password, size_t password_len,
136 u16 sae_parse_commit(struct sae_data *sae, const u8 *data, size_t len,
137 const u8 **token, size_t *token_len, int *allowed_groups,
140 int sae_check_confirm(struct sae_data *sae, const u8 *data, size_t len);
[all …]
Dwpa_common.h204 size_t kck_len;
205 size_t kek_len;
206 size_t tk_len;
212 size_t gtk_len;
218 size_t igtk_len;
330 int wpa_ft_mic(const u8 *kck, size_t kck_len, const u8 *sta_addr,
332 const u8 *mdie, size_t mdie_len,
333 const u8 *ftie, size_t ftie_len,
334 const u8 *rsnie, size_t rsnie_len,
335 const u8 *ric, size_t ric_len, u8 *mic);
[all …]
/hal_espressif-3.7.0/components/wpa_supplicant/src/utils/
Dbase64.h12 char * base64_encode(const void *src, size_t len, size_t *out_len);
13 unsigned char * base64_decode(const char *src, size_t len, size_t *out_len);
14 char * base64_url_encode(const void *src, size_t len, size_t *out_len);
15 unsigned char * base64_url_decode(const char *src, size_t len, size_t *out_len);

12345678910>>...32