Home
last modified time | relevance | path

Searched refs:SERVER_PK_SIZE (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/base/security/device_auth/services/legacy/authenticators/inc/account_related/
H A Daccount_module_defines.h24 #define SERVER_PK_SIZE 128 macro
/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()
171 .length = SERVER_PK_SIZE in GetAsyCredentialJson()
/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_related/creds_manager/
H A Dasy_token_manager.c514 uint8_t *serverPk = (uint8_t *)HcMalloc(SERVER_PK_SIZE, 0); in VerifySignature()
520 if (GetByteFromJson(credJson, FIELD_SERVER_PK, serverPk, SERVER_PK_SIZE) != EOK) { in VerifySignature()
1370 token->serverPk.val = (uint8_t *)HcMalloc(SERVER_PK_SIZE, 0); in CreateAccountToken()
1372 token->serverPk.length = SERVER_PK_SIZE; in CreateAccountToken()
/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()
261 .length = SERVER_PK_SIZE 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()
267 .length = SERVER_PK_SIZE in GetAsyCredentialJson()
H A Ddeviceauth_func_test.cpp961 uint8_t *serverPkVal = reinterpret_cast<uint8_t *>(HcMalloc(SERVER_PK_SIZE, 0)); in GetAsyCredentialJson()
964 .length = SERVER_PK_SIZE in GetAsyCredentialJson()
H A Ddeviceauth_standard_test.cpp191 uint8_t *serverPkVal = reinterpret_cast<uint8_t *>(HcMalloc(SERVER_PK_SIZE, 0)); in GetAsyCredentialJson()
194 .length = SERVER_PK_SIZE 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()
313 .length = SERVER_PK_SIZE 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()
319 .length = SERVER_PK_SIZE in GetAsyCredentialJson()