Home
last modified time | relevance | path

Searched refs:priv (Results 1 – 25 of 38) sorted by relevance

12

/hal_espressif-2.7.6/components/wpa_supplicant/src/crypto/
Ddh_groups.c1209 dh_init(const struct dh_group *dh, struct wpabuf **priv) in dh_init() argument
1217 wpabuf_free(*priv); in dh_init()
1218 *priv = wpabuf_alloc(dh->prime_len); in dh_init()
1219 if (*priv == NULL) in dh_init()
1222 if (random_get_bytes(wpabuf_put(*priv, dh->prime_len), dh->prime_len)) in dh_init()
1224 wpabuf_free(*priv); in dh_init()
1225 *priv = NULL; in dh_init()
1229 if (os_memcmp(wpabuf_head(*priv), dh->prime, dh->prime_len) > 0) { in dh_init()
1231 *(wpabuf_mhead_u8(*priv)) = 0; in dh_init()
1233 wpa_hexdump_buf_key(MSG_DEBUG, "DH: private value", *priv); in dh_init()
[all …]
Ddh_group5.c23 dh5_init(struct wpabuf **priv, struct wpabuf **publ) in dh5_init() argument
25 *publ = dh_init(dh_groups_get(5), priv); in dh5_init()
Ddh_group5.h20 void * dh5_init(struct wpabuf **priv, struct wpabuf **publ);
Ddh_groups.h30 struct wpabuf * dh_init(const struct dh_group *dh, struct wpabuf **priv);
/hal_espressif-2.7.6/components/wpa_supplicant/src/eap_peer/
Deap_i.h101 void (*deinit)(struct eap_sm *sm, void *priv);
118 struct wpabuf * (*process)(struct eap_sm *sm, void *priv,
121 bool (*isKeyAvailable)(struct eap_sm *sm, void *priv);
122 u8 * (*getKey)(struct eap_sm *sm, void *priv, size_t *len);
138 int (*get_status)(struct eap_sm *sm, void *priv, char *buf,
151 bool (*has_reauth_data)(struct eap_sm *sm, void *priv);
164 void (*deinit_for_reauth)(struct eap_sm *sm, void *priv);
176 void * (*init_for_reauth)(struct eap_sm *sm, void *priv);
189 const u8 * (*get_identity)(struct eap_sm *sm, void *priv, size_t *len);
247 u8 * (*get_emsk)(struct eap_sm *sm, void *priv, size_t *len);
[all …]
Deap_tls.c30 static void eap_tls_deinit(struct eap_sm *sm, void *priv) in eap_tls_deinit() argument
32 struct eap_tls_data *data = priv; in eap_tls_deinit()
141 static struct wpabuf * eap_tls_process(struct eap_sm *sm, void *priv, in eap_tls_process() argument
150 struct eap_tls_data *data = priv; in eap_tls_process()
183 static bool eap_tls_isKeyAvailable(struct eap_sm *sm, void *priv) in eap_tls_isKeyAvailable() argument
185 struct eap_tls_data *data = priv; in eap_tls_isKeyAvailable()
189 static u8 * eap_tls_getKey(struct eap_sm *sm, void *priv, size_t *len) in eap_tls_getKey() argument
191 struct eap_tls_data *data = priv; in eap_tls_getKey()
Deap_tls.h18 void eap_tls_deinit(struct eap_sm *sm, void *priv);
19 struct wpabuf * eap_tls_process(struct eap_sm *sm, void *priv,
23 u8 * eap_tls_getKey(struct eap_sm *sm, void *priv, size_t *len);
Deap_peap.c29 static void eap_peap_deinit(struct eap_sm *sm, void *priv);
176 eap_peap_deinit(struct eap_sm *sm, void *priv) in eap_peap_deinit() argument
178 struct eap_peap_data *data = priv; in eap_peap_deinit()
1046 eap_peap_process(struct eap_sm *sm, void *priv, in eap_peap_process() argument
1056 struct eap_peap_data *data = priv; in eap_peap_process()
1193 eap_peap_has_reauth_data(struct eap_sm *sm, void *priv) in eap_peap_has_reauth_data() argument
1195 struct eap_peap_data *data = priv; in eap_peap_has_reauth_data()
1202 eap_peap_deinit_for_reauth(struct eap_sm *sm, void *priv) in eap_peap_deinit_for_reauth() argument
1204 struct eap_peap_data *data = priv; in eap_peap_deinit_for_reauth()
1212 eap_peap_init_for_reauth(struct eap_sm *sm, void *priv) in eap_peap_init_for_reauth() argument
[all …]
Deap_ttls.c28 static void eap_ttls_deinit(struct eap_sm *sm, void *priv);
129 static void eap_ttls_deinit(struct eap_sm *sm, void *priv) in eap_ttls_deinit() argument
131 struct eap_ttls_data *data = priv; in eap_ttls_deinit()
1473 static struct wpabuf * eap_ttls_process(struct eap_sm *sm, void *priv, in eap_ttls_process() argument
1482 struct eap_ttls_data *data = priv; in eap_ttls_process()
1527 static bool eap_ttls_has_reauth_data(struct eap_sm *sm, void *priv) in eap_ttls_has_reauth_data() argument
1529 struct eap_ttls_data *data = priv; in eap_ttls_has_reauth_data()
1535 static void eap_ttls_deinit_for_reauth(struct eap_sm *sm, void *priv) in eap_ttls_deinit_for_reauth() argument
1537 struct eap_ttls_data *data = priv; in eap_ttls_deinit_for_reauth()
1547 static void * eap_ttls_init_for_reauth(struct eap_sm *sm, void *priv) in eap_ttls_init_for_reauth() argument
[all …]
Deap_mschapv2.c84 eap_mschapv2_deinit(struct eap_sm *sm, void *priv) in eap_mschapv2_deinit() argument
86 struct eap_mschapv2_data *data = priv; in eap_mschapv2_deinit()
553 eap_mschapv2_process(struct eap_sm *sm, void *priv, in eap_mschapv2_process() argument
562 struct eap_mschapv2_data *data = priv; in eap_mschapv2_process()
610 eap_mschapv2_isKeyAvailable(struct eap_sm *sm, void *priv) in eap_mschapv2_isKeyAvailable() argument
612 struct eap_mschapv2_data *data = priv; in eap_mschapv2_isKeyAvailable()
617 eap_mschapv2_getKey(struct eap_sm *sm, void *priv, size_t *len) in eap_mschapv2_getKey() argument
619 struct eap_mschapv2_data *data = priv; in eap_mschapv2_getKey()
/hal_espressif-2.7.6/components/espcoredump/src/
Dcore_dump_uart.c57 static esp_err_t esp_core_dump_uart_write_start(core_dump_write_data_t *priv) in esp_core_dump_uart_write_start() argument
60 core_dump_write_data_t *wr_data = (core_dump_write_data_t *)priv; in esp_core_dump_uart_write_start()
62 ESP_COREDUMP_ASSERT(priv != NULL); in esp_core_dump_uart_write_start()
68 static esp_err_t esp_core_dump_uart_write_prepare(core_dump_write_data_t *priv, uint32_t *data_len) in esp_core_dump_uart_write_prepare() argument
75 static esp_err_t esp_core_dump_uart_write_end(core_dump_write_data_t *priv) in esp_core_dump_uart_write_end() argument
80 core_dump_write_data_t *wr_data = (core_dump_write_data_t *)priv; in esp_core_dump_uart_write_end()
96 static esp_err_t esp_core_dump_uart_write_data(core_dump_write_data_t *priv, void * data, uint32_t … in esp_core_dump_uart_write_data() argument
102 core_dump_write_data_t *wr_data = (core_dump_write_data_t *)priv; in esp_core_dump_uart_write_data()
141 .priv = (void*)&wr_data in esp_core_dump_to_uart()
Dcore_dump_binary.c38 err = write_cfg->write(write_cfg->priv, (void*)task, sizeof(core_dump_task_header_t)); in esp_core_dump_save_task()
44 err = write_cfg->write(write_cfg->priv, task->tcb_addr, esp_core_dump_get_tcb_len()); in esp_core_dump_save_task()
50 err = write_cfg->write(write_cfg->priv, (void*)stk_paddr, stk_len); in esp_core_dump_save_task()
75 err = write_cfg->write(write_cfg->priv, (void*)seg, sizeof(core_dump_mem_seg_header_t)); in esp_core_dump_save_mem_segment()
81 err = write_cfg->write(write_cfg->priv, (void*)seg->start, seg->size); in esp_core_dump_save_mem_segment()
166 err = write_cfg->prepare(write_cfg->priv, &data_len); in esp_core_dump_write_binary()
175 err = write_cfg->start(write_cfg->priv); in esp_core_dump_write_binary()
186 err = write_cfg->write(write_cfg->priv, &hdr, sizeof(core_dump_header_t)); in esp_core_dump_write_binary()
267 err = write_cfg->end(write_cfg->priv); in esp_core_dump_write_binary()
Dcore_dump_flash.c98 static esp_err_t esp_core_dump_flash_write_data(core_dump_write_data_t* priv, uint8_t* data, uint32… in esp_core_dump_flash_write_data() argument
100 core_dump_write_data_t *wr_data = (core_dump_write_data_t *)priv; in esp_core_dump_flash_write_data()
190 static esp_err_t esp_core_dump_flash_write_prepare(core_dump_write_data_t *priv, uint32_t *data_len) in esp_core_dump_flash_write_prepare() argument
192 core_dump_write_data_t *wr_data = (core_dump_write_data_t *)priv; in esp_core_dump_flash_write_prepare()
242 static esp_err_t esp_core_dump_flash_write_start(core_dump_write_data_t* priv) in esp_core_dump_flash_write_start() argument
244 core_dump_write_data_t *wr_data = (core_dump_write_data_t *)priv; in esp_core_dump_flash_write_start()
249 static esp_err_t esp_core_dump_flash_write_end(core_dump_write_data_t* priv) in esp_core_dump_flash_write_end() argument
254 core_dump_write_data_t *wr_data = (core_dump_write_data_t *)priv; in esp_core_dump_flash_write_end()
335 wr_cfg.priv = &wr_data; in esp_core_dump_to_flash()
Dcore_dump_elf.c131 … esp_err_t err = self->write_cfg->write(self->write_cfg->priv, (void*)&elf_hdr, sizeof(elf_hdr)); in elf_write_file_header()
147 esp_err_t err = self->write_cfg->write(self->write_cfg->priv, (void*)phdr, sizeof(elf_phdr)); in elf_write_segment_header()
190 err = self->write_cfg->write(self->write_cfg->priv, data, (uint32_t)data_len); in elf_add_segment()
227 err = self->write_cfg->write(self->write_cfg->priv, (void*)&note_hdr, sizeof(note_hdr)); in elf_write_note()
231 err = self->write_cfg->write(self->write_cfg->priv, (void*)name_buffer, name_len); in elf_write_note()
235 err = self->write_cfg->write(self->write_cfg->priv, (void*)data, data_len); in elf_write_note()
590 err = write_cfg->prepare(write_cfg->priv, (uint32_t*)&tot_len); in esp_core_dump_write_elf()
599 err = write_cfg->start(write_cfg->priv); in esp_core_dump_write_elf()
612 err = write_cfg->write(write_cfg->priv, in esp_core_dump_write_elf()
638 err = write_cfg->end(write_cfg->priv); in esp_core_dump_write_elf()
/hal_espressif-2.7.6/components/wpa_supplicant/src/utils/
Dext_password.c29 void *priv; member
55 data->priv = data->backend->init(params); in ext_password_init()
56 if (data->priv == NULL) { in ext_password_init()
67 if (data && data->backend && data->priv) in ext_password_deinit()
68 data->backend->deinit(data->priv); in ext_password_deinit()
78 return data->backend->get(data->priv, name); in ext_password_get()
/hal_espressif-2.7.6/components/app_trace/
Dhost_file_io.c135 static void esp_apptrace_fopen_args_prepare(uint8_t *buf, void *priv) in esp_apptrace_fopen_args_prepare() argument
137 esp_apptrace_fopen_args_t *args = priv; in esp_apptrace_fopen_args_prepare()
175 static void esp_apptrace_fclose_args_prepare(uint8_t *buf, void *priv) in esp_apptrace_fclose_args_prepare() argument
177 esp_apptrace_fclose_args_t *args = priv; in esp_apptrace_fclose_args_prepare()
205 static void esp_apptrace_fwrite_args_prepare(uint8_t *buf, void *priv) in esp_apptrace_fwrite_args_prepare() argument
207 esp_apptrace_fwrite_args_t *args = priv; in esp_apptrace_fwrite_args_prepare()
244 static void esp_apptrace_fread_args_prepare(uint8_t *buf, void *priv) in esp_apptrace_fread_args_prepare() argument
246 esp_apptrace_fread_args_t *args = priv; in esp_apptrace_fread_args_prepare()
288 static void esp_apptrace_fseek_args_prepare(uint8_t *buf, void *priv) in esp_apptrace_fseek_args_prepare() argument
290 esp_apptrace_fseek_args_t *args = priv; in esp_apptrace_fseek_args_prepare()
[all …]
/hal_espressif-2.7.6/components/protocomm/src/transports/
Dprotocomm_httpd.c209 httpd_handle_t *server = (httpd_handle_t *) pc_httpd->priv; in protocomm_httpd_add_endpoint()
238 httpd_handle_t *server = (httpd_handle_t *) pc_httpd->priv; in protocomm_httpd_remove_endpoint()
266 pc->priv = config->data.handle; in protocomm_httpd_start()
273 pc->priv = calloc(1, sizeof(httpd_handle_t)); in protocomm_httpd_start()
274 if (!pc->priv) { in protocomm_httpd_start()
288 if ((err = httpd_start((httpd_handle_t *)pc->priv, &server_config)) != ESP_OK) { in protocomm_httpd_start()
290 free(pc->priv); in protocomm_httpd_start()
306 httpd_handle_t *server_handle = (httpd_handle_t *) pc_httpd->priv; in protocomm_httpd_stop()
312 pc_httpd->priv = NULL; in protocomm_httpd_stop()
/hal_espressif-2.7.6/components/espcoredump/include_core_dump/
Desp_core_dump_types.h109 typedef esp_err_t (*esp_core_dump_write_prepare_t)(core_dump_write_data_t* priv, uint32_t *data_len…
110 typedef esp_err_t (*esp_core_dump_write_start_t)(core_dump_write_data_t* priv);
111 typedef esp_err_t (*esp_core_dump_write_end_t)(core_dump_write_data_t* priv);
112 typedef esp_err_t (*esp_core_dump_flash_write_data_t)(core_dump_write_data_t* priv,
133 …core_dump_write_data_t* priv; /*!< Private context to pass to every function of this stru… member
/hal_espressif-2.7.6/components/esp_eth/include/
Desp_eth.h65 …sp_err_t (*stack_input)(esp_eth_handle_t eth_handle, uint8_t *buffer, uint32_t length, void *priv);
180 esp_err_t (*stack_input)(esp_eth_handle_t hdl, uint8_t *buffer, uint32_t length, void *priv),
181 void *priv);
/hal_espressif-2.7.6/components/bt/esp_ble_mesh/mesh_core/
Dnet.c366 const uint8_t **enc, const uint8_t **priv) in friend_cred_get() argument
391 if (priv) { in friend_cred_get()
392 *priv = cred->cred[sub->kr_flag].privacy; in friend_cred_get()
402 const uint8_t **enc, const uint8_t **priv) in friend_cred_get() argument
782 const uint8_t *enc = NULL, *priv = NULL; in bt_mesh_net_resend() local
791 priv = sub->keys[new_key].privacy; in bt_mesh_net_resend()
793 err = bt_mesh_net_obfuscate(buf->data, BLE_MESH_NET_IVI_TX, priv); in bt_mesh_net_resend()
818 err = bt_mesh_net_obfuscate(buf->data, BLE_MESH_NET_IVI_TX, priv); in bt_mesh_net_resend()
856 const uint8_t *enc = NULL, *priv = NULL; in bt_mesh_net_encode() local
884 &nid, &enc, &priv)) { in bt_mesh_net_encode()
[all …]
/hal_espressif-2.7.6/components/esp_eth/src/
Desp_eth.c62 void *priv; member
64 …sp_err_t (*stack_input)(esp_eth_handle_t eth_handle, uint8_t *buffer, uint32_t length, void *priv);
96 … return eth_driver->stack_input((esp_eth_handle_t)eth_driver, buffer, length, eth_driver->priv); in eth_stack_input()
308 esp_err_t (*stack_input)(esp_eth_handle_t hdl, uint8_t *buffer, uint32_t length, void *priv), in esp_eth_update_input_path() argument
309 void *priv) in esp_eth_update_input_path()
314 eth_driver->priv = priv; in esp_eth_update_input_path()
Desp_eth_netif_glue.c28 …err_t eth_input_to_netif(esp_eth_handle_t eth_handle, uint8_t *buffer, uint32_t length, void *priv) in eth_input_to_netif() argument
30 return esp_netif_receive((esp_netif_t *)priv, buffer, length, NULL); in eth_input_to_netif()
/hal_espressif-2.7.6/components/esp_rom/include/esp32s2/rom/usb/
Dusb_device.h332 typedef void (*usb_transfer_callback)(uint8_t ep, int tsize, void *priv);
365 usb_transfer_callback cb, void *priv);
/hal_espressif-2.7.6/components/protocomm/src/common/
Dprotocomm_priv.h78 void* priv; member
/hal_espressif-2.7.6/components/unity/
Dcomponent.mk11 COMPONENT_PRIV_INCLUDEDIRS += include/priv

12