Home
last modified time | relevance | path

Searched refs:signatureValue (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.cpp186 uint8_t *signatureValue = reinterpret_cast<uint8_t *>(HcMalloc(SIGNATURE_SIZE, 0)); in GetAsyCredentialJson() local
188 .val = signatureValue, in GetAsyCredentialJson()
195 HcFree(signatureValue); in GetAsyCredentialJson()
203 (void)AddByteToJson(credentialJson, FIELD_PK_INFO_SIGNATURE, signatureValue, signature.length); in GetAsyCredentialJson()
/ohos5.0/base/security/device_auth/test/fuzztest/devauthfunc_fuzzer/
H A Ddevauthfunc_fuzzer.cpp275 uint8_t *signatureValue = reinterpret_cast<uint8_t *>(HcMalloc(SIGNATURE_SIZE, 0)); in GetAsyCredentialJson() local
277 .val = signatureValue, in GetAsyCredentialJson()
283 HcFree(signatureValue); in GetAsyCredentialJson()
291 (void)AddByteToJson(credentialJson, FIELD_PK_INFO_SIGNATURE, signatureValue, signature.length); in GetAsyCredentialJson()
/ohos5.0/base/security/device_auth/test/unittest/deviceauth/source/
H A Ddeviceauth_standard_auth_test.cpp282 uint8_t *signatureValue = reinterpret_cast<uint8_t *>(HcMalloc(SIGNATURE_SIZE, 0)); in GetAsyCredentialJson() local
284 .val = signatureValue, in GetAsyCredentialJson()
291 HcFree(signatureValue); in GetAsyCredentialJson()
299 (void)AddByteToJson(credentialJson, FIELD_PK_INFO_SIGNATURE, signatureValue, signature.length); in GetAsyCredentialJson()
H A Ddeviceauth_func_test.cpp979 uint8_t *signatureValue = reinterpret_cast<uint8_t *>(HcMalloc(SIGNATURE_SIZE, 0)); in GetAsyCredentialJson() local
981 .val = signatureValue, in GetAsyCredentialJson()
988 HcFree(signatureValue); in GetAsyCredentialJson()
996 (void)AddByteToJson(credentialJson, FIELD_PK_INFO_SIGNATURE, signatureValue, signature.length); in GetAsyCredentialJson()
H A Ddeviceauth_standard_test.cpp209 uint8_t *signatureValue = reinterpret_cast<uint8_t *>(HcMalloc(SIGNATURE_SIZE, 0)); in GetAsyCredentialJson() local
211 .val = signatureValue, in GetAsyCredentialJson()
218 HcFree(signatureValue); in GetAsyCredentialJson()
226 (void)AddByteToJson(credentialJson, FIELD_PK_INFO_SIGNATURE, signatureValue, signature.length); in GetAsyCredentialJson()
/ohos5.0/base/security/device_auth/test/fuzztest/creds_manager/credsmanager_fuzzer/
H A Dcredsmanager_fuzzer.cpp328 uint8_t *signatureValue = reinterpret_cast<uint8_t *>(HcMalloc(SIGNATURE_SIZE, 0)); in GetAsyCredentialJson() local
330 .val = signatureValue, in GetAsyCredentialJson()
337 HcFree(signatureValue); in GetAsyCredentialJson()
345 (void)AddByteToJson(credentialJson, FIELD_PK_INFO_SIGNATURE, signatureValue, signature.length); in GetAsyCredentialJson()
/ohos5.0/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/creds_manager/
H A Dcreds_manager_test.cpp334 uint8_t *signatureValue = reinterpret_cast<uint8_t *>(HcMalloc(SIGNATURE_SIZE, 0)); in GetAsyCredentialJson() local
336 .val = signatureValue, in GetAsyCredentialJson()
343 HcFree(signatureValue); in GetAsyCredentialJson()
351 (void)AddByteToJson(credentialJson, FIELD_PK_INFO_SIGNATURE, signatureValue, signature.length); in GetAsyCredentialJson()