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