1 /* 2 * interface in libwpa 3 * Copyright (c) 2020 Huawei Device Co., Ltd. 4 * 5 * This software may be distributed under the terms of the BSD license. 6 * See README for more details. 7 */ 8 #ifndef LIB_WPA_H 9 #define LIB_WPA_H 10 #include <stdint.h> 11 12 void deinit_wifi_service(); 13 int ap_main(int argc, char *argv[]); 14 int wpa_main(int argc, char *argv[]); 15 int pbkdf2_sha1(const char *passphrase, const uint8_t *ssid, size_t ssid_len, 16 int iterations, uint8_t *buf, size_t buflen); 17 #endif // LIB_WPA_H 18 19