Home
last modified time | relevance | path

Searched refs:pskLen (Results 1 - 8 of 8) sorted by relevance

/drivers/peripheral/wlan/wpa/interfaces/hdi_service/service_common/
H A Dwpa_supplicant_hal.h114 int (*wpaCliCmdGetPskPassphrase)(WifiWpaStaInterface *this, char *psk, unsigned int pskLen);
115 int (*wpaCliCmdGetPsk)(WifiWpaStaInterface *this, unsigned char *psk, unsigned int *pskLen);
H A Dwpa_common_cmd.h98 int32_t WpaInterfaceGetPskPassphrase(struct IWpaInterface *self, const char *ifName, char *psk, uint32_t pskLen);
99 int32_t WpaInterfaceGetPsk(struct IWpaInterface *self, const char *ifName, uint8_t *psk, uint32_t *pskLen);
H A Dwpa_common_cmd.c888 char *psk, uint32_t pskLen) in WpaInterfaceGetPskPassphrase()
892 if (ifName == NULL || psk == NULL || pskLen == 0) { in WpaInterfaceGetPskPassphrase()
903 int ret = pStaIfc->wpaCliCmdGetPskPassphrase(pStaIfc, psk, pskLen); in WpaInterfaceGetPskPassphrase()
914 int32_t WpaInterfaceGetPsk(struct IWpaInterface *self, const char *ifName, uint8_t *psk, uint32_t *pskLen) in WpaInterfaceGetPsk() argument
918 if (ifName == NULL || psk == NULL || pskLen == NULL) { in WpaInterfaceGetPsk()
929 int ret = pStaIfc->wpaCliCmdGetPsk(pStaIfc, psk, pskLen); in WpaInterfaceGetPsk()
1614 if (FillData(&wpaVendorInfo->psk, &wpaVendorInfo->pskLen, in WpaFillWpaVendorExtInfo()
887 WpaInterfaceGetPskPassphrase(struct IWpaInterface *self, const char *ifName, char *psk, uint32_t pskLen) WpaInterfaceGetPskPassphrase() argument
H A Dwpa_supplicant_hal.c661 static int WpaCliCmdGetPsk(WifiWpaStaInterface *this, unsigned char *psk, unsigned int *pskLen) in WpaCliCmdGetPsk() argument
663 if (this == NULL || psk == NULL || pskLen == NULL) { in WpaCliCmdGetPsk()
686 *pskLen = strlen(value); in WpaCliCmdGetPsk()
694 static int WpaCliCmdGetPskPassphrase(WifiWpaStaInterface *this, char *psk, unsigned int pskLen) in WpaCliCmdGetPskPassphrase() argument
715 if (strncpy_s((char *)psk, (int)pskLen, value, strlen(value)) != 0) { in WpaCliCmdGetPskPassphrase()
H A Dwpa_p2p_cmd.c1868 if (FillData(&hdiP2pGroupStartedParam->psk, &hdiP2pGroupStartedParam->pskLen, in FillHdiP2pGroupInfoStartedParam()
/drivers/peripheral/wlan/test/hdi_service/
H A Dwpa_hdi_direct_test.cpp364 uint32_t pskLen = 32; in HWTEST_F() local
365 int32_t rc = g_wpaObj->GetPsk(g_wpaObj, IFNAME, psk, &pskLen); in HWTEST_F()
367 rc = g_wpaObj->GetPsk(g_wpaObj, nullptr, psk, &pskLen); in HWTEST_F()
H A Dwpa_hdi_hal_services_c_test.cpp525 uint32_t pskLen = 32; in HWTEST_F() local
529 rc = g_wpaObj->GetPsk(g_wpaObj, IFNAME, psk, &pskLen); in HWTEST_F()
/drivers/peripheral/wlan/test/fuzztest/
H A Dwpa_common_fuzzer.cpp271 uint32_t pskLen = 32; in FuzzWpaInterfaceGetPsk() local
273 interface->GetPsk(interface, ifName, psk, &pskLen); in FuzzWpaInterfaceGetPsk()

Completed in 14 milliseconds