Home
last modified time | relevance | path

Searched refs:encodePtk (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_session_json.c1190 unsigned char encodePtk[PTK_ENCODE_LEN] = {0}; in PackWifiDirectInfo() local
1211 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()
1501 char encodePtk[PTK_ENCODE_LEN] = {0}; in UnpackWifiDirectInfo() local
1502 if (!JSON_GetStringFromOject(json, PTK, encodePtk, PTK_ENCODE_LEN)) { in UnpackWifiDirectInfo()
1506 AuthPrintBase64Ptk((const char *)encodePtk); in UnpackWifiDirectInfo()
1508 UnpackMetaPtk(info->remoteMetaPtk, encodePtk); in UnpackWifiDirectInfo()
1510 UnpackPtk(info->remotePtk, encodePtk); in UnpackWifiDirectInfo()
/ohos5.0/foundation/communication/dsoftbus/tests/core/authentication/unittest/
H A Dauth_session_message_test.cpp939 const char *encodePtk = "encodePtkTest"; variable
942 EXPECT_EQ(true, JSON_AddStringToObject(obj, PTK, encodePtk));