Searched refs:encodePtk (Results 1 - 2 of 2) sorted by relevance
/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_session_json.c | 1192 unsigned char encodePtk[PTK_ENCODE_LEN] = {0}; in PackWifiDirectInfo() local 1209 if (SoftBusBase64Encode(encodePtk, PTK_ENCODE_LEN, &keyLen, (unsigned char *)localPtk, in PackWifiDirectInfo() 1216 AuthPrintBase64Ptk((const char *)encodePtk); in PackWifiDirectInfo() 1217 if (!JSON_AddStringToObject(json, PTK, (char *)encodePtk)) { in PackWifiDirectInfo() 1219 (void)memset_s(encodePtk, PTK_ENCODE_LEN, 0, PTK_ENCODE_LEN); in PackWifiDirectInfo() 1222 (void)memset_s(encodePtk, PTK_ENCODE_LEN, 0, PTK_ENCODE_LEN); in PackWifiDirectInfo() 1516 char encodePtk[PTK_ENCODE_LEN] = {0}; in UnpackWifiDirectInfo() local 1517 if (!JSON_GetStringFromOject(json, PTK, encodePtk, PTK_ENCODE_LEN)) { in UnpackWifiDirectInfo() 1521 AuthPrintBase64Ptk((const char *)encodePtk); in UnpackWifiDirectInfo() 1523 UnpackMetaPtk(info->remoteMetaPtk, encodePtk); in UnpackWifiDirectInfo() [all...] |
/foundation/communication/dsoftbus/tests/core/authentication/unittest/ |
H A D | auth_session_message_test.cpp | 446 JSON_AddStringToObject(json, PTK, "encodePtk"); in HWTEST_F() 939 const char *encodePtk = "encodePtkTest"; in HWTEST_F() local 942 EXPECT_EQ(true, JSON_AddStringToObject(obj, PTK, encodePtk)); in HWTEST_F()
|
Completed in 5 milliseconds