Select one of the symbols to view example projects that use it.
 
Outline
#include "crypto/crypto.h"
#include "esp_owe_i.h"
#include "rsn_supp/wpa.h"
owe_build_dhie(uint16_t)
owe_deinit()
esp_wifi_register_owe_cb(struct wpa_funcs *)
Files
loading...
SourceVuESP-IDF Framework and ExamplesESP-IDFcomponents/wpa_supplicant/esp_supplicant/src/esp_owe.c
 
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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* * SPDX-FileCopyrightText: 2020-2022 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 *//* ... */ #ifdef CONFIG_OWE_STA #include "crypto/crypto.h" #include "esp_owe_i.h" #include "rsn_supp/wpa.h" uint8_t *owe_build_dhie(uint16_t group) { struct wpa_sm *sm = NULL; sm = get_wpa_sm(); return (uint8_t *)(owe_build_assoc_req(sm, group)); }{ ... } void owe_deinit(void) { struct wpa_sm *sm; sm = get_wpa_sm(); if (sm->key_mgmt == WPA_KEY_MGMT_OWE) { if (sm->owe_ie) { wpabuf_free(sm->owe_ie); sm->owe_ie = NULL; }{...} crypto_ecdh_deinit(sm->owe_ecdh); sm->owe_ecdh = NULL; }{...} }{ ... } void esp_wifi_register_owe_cb(struct wpa_funcs *wpa_cb) { wpa_cb->owe_build_dhie = owe_build_dhie; wpa_cb->owe_process_assoc_resp = owe_process_assoc_resp; }{ ... } #endif/* ... */ /* CONFIG_OWE_STA */
Details