Home
last modified time | relevance | path

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 Dos_account_adapter_test.cpp168 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 Ddevauthfunc_fuzzer.cpp258 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 Ddeviceauth_standard_auth_test.cpp264 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 Ddeviceauth_func_test.cpp961 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 Ddeviceauth_standard_test.cpp191 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 Dcredsmanager_fuzzer.cpp310 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 Dcreds_manager_test.cpp316 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()