Searched refs:serverPkVal (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/frameworks/os_account_adapter/ |
H A D | os_account_adapter_test.cpp | 168 uint8_t *serverPkVal = reinterpret_cast<uint8_t *>(HcMalloc(SERVER_PK_SIZE, 0)); in GetAsyCredentialJson() local 170 .val = serverPkVal, in GetAsyCredentialJson() 178 HcFree(serverPkVal); in GetAsyCredentialJson() 194 HcFree(serverPkVal); in GetAsyCredentialJson() 202 (void)AddByteToJson(credentialJson, FIELD_SERVER_PK, serverPkVal, serverPk.length); in GetAsyCredentialJson()
|
/ohos5.0/base/security/device_auth/test/fuzztest/devauthfunc_fuzzer/ |
H A D | devauthfunc_fuzzer.cpp | 258 uint8_t *serverPkVal = reinterpret_cast<uint8_t *>(HcMalloc(SERVER_PK_SIZE, 0)); in GetAsyCredentialJson() local 260 .val = serverPkVal, in GetAsyCredentialJson() 267 HcFree(serverPkVal); in GetAsyCredentialJson() 282 HcFree(serverPkVal); in GetAsyCredentialJson() 290 (void)AddByteToJson(credentialJson, FIELD_SERVER_PK, serverPkVal, serverPk.length); in GetAsyCredentialJson()
|
/ohos5.0/base/security/device_auth/test/unittest/deviceauth/source/ |
H A D | deviceauth_standard_auth_test.cpp | 264 uint8_t *serverPkVal = reinterpret_cast<uint8_t *>(HcMalloc(SERVER_PK_SIZE, 0)); in GetAsyCredentialJson() local 266 .val = serverPkVal, in GetAsyCredentialJson() 274 HcFree(serverPkVal); in GetAsyCredentialJson() 290 HcFree(serverPkVal); in GetAsyCredentialJson() 298 (void)AddByteToJson(credentialJson, FIELD_SERVER_PK, serverPkVal, serverPk.length); in GetAsyCredentialJson()
|
H A D | deviceauth_func_test.cpp | 961 uint8_t *serverPkVal = reinterpret_cast<uint8_t *>(HcMalloc(SERVER_PK_SIZE, 0)); in GetAsyCredentialJson() local 963 .val = serverPkVal, in GetAsyCredentialJson() 971 HcFree(serverPkVal); in GetAsyCredentialJson() 987 HcFree(serverPkVal); in GetAsyCredentialJson() 995 (void)AddByteToJson(credentialJson, FIELD_SERVER_PK, serverPkVal, serverPk.length); in GetAsyCredentialJson()
|
H A D | deviceauth_standard_test.cpp | 191 uint8_t *serverPkVal = reinterpret_cast<uint8_t *>(HcMalloc(SERVER_PK_SIZE, 0)); in GetAsyCredentialJson() local 193 .val = serverPkVal, in GetAsyCredentialJson() 201 HcFree(serverPkVal); in GetAsyCredentialJson() 217 HcFree(serverPkVal); in GetAsyCredentialJson() 225 (void)AddByteToJson(credentialJson, FIELD_SERVER_PK, serverPkVal, serverPk.length); in GetAsyCredentialJson()
|
/ohos5.0/base/security/device_auth/test/fuzztest/creds_manager/credsmanager_fuzzer/ |
H A D | credsmanager_fuzzer.cpp | 310 uint8_t *serverPkVal = reinterpret_cast<uint8_t *>(HcMalloc(SERVER_PK_SIZE, 0)); in GetAsyCredentialJson() local 312 .val = serverPkVal, in GetAsyCredentialJson() 320 HcFree(serverPkVal); in GetAsyCredentialJson() 336 HcFree(serverPkVal); in GetAsyCredentialJson() 344 (void)AddByteToJson(credentialJson, FIELD_SERVER_PK, serverPkVal, serverPk.length); in GetAsyCredentialJson()
|
/ohos5.0/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/creds_manager/ |
H A D | creds_manager_test.cpp | 316 uint8_t *serverPkVal = reinterpret_cast<uint8_t *>(HcMalloc(SERVER_PK_SIZE, 0)); in GetAsyCredentialJson() local 318 .val = serverPkVal, in GetAsyCredentialJson() 326 HcFree(serverPkVal); in GetAsyCredentialJson() 342 HcFree(serverPkVal); in GetAsyCredentialJson() 350 (void)AddByteToJson(credentialJson, FIELD_SERVER_PK, serverPkVal, serverPk.length); in GetAsyCredentialJson()
|