Home
last modified time | relevance | path

Searched refs:hashBuf (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/base/security/huks/test/fuzz_test/innerapi_fuzzer/hkshash_fuzzer/
H A Dhkshash_fuzzer.cpp42 std::vector<uint8_t> hashBuf(HASH_SIZE); in DoSomethingInterestingWithMyAPI() local
43 struct HksBlob hash = { hashBuf.size(), hashBuf.data() }; in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/filemanagement/app_file_service/utils/src/b_filesystem/
H A Db_file_hash.cpp29 static tuple<int, string> HashFinal(int err, const unique_ptr<unsigned char[]> &hashBuf, size_t has… in HashFinal() argument
39 static_cast<uint32_t>(hashBuf[i]); in HashFinal()
/ohos5.0/base/security/device_auth/services/identity_manager/src/
H A Didentity_pin.c241 Uint8Buff hashBuf = { hash, sizeof(hash) }; in AuthGeneratePskUsePin() local
242 int ret = GetLoaderInstance()->sha256(&messageBuf, &hashBuf); in AuthGeneratePskUsePin()
247 KeyParams keyParams = { { hashBuf.val, hashBuf.length, false }, false, osAccountId }; in AuthGeneratePskUsePin()
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/common/file_helper/
H A Dhash_file.cpp31 static tuple<int, string> HashFinal(int err, const unique_ptr<unsigned char[]> &hashBuf, size_t has… in HashFinal() argument
41 static_cast<uint32_t>(hashBuf[i]); in HashFinal()
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/ts/streamhash/src/
H A Dstreamhash.ts23 hashBuf?: ArrayBuffer;
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_hash/class_hashstream/
H A Dhashstream_n_exporter.cpp42 static string HashFinal(const unique_ptr<unsigned char[]> &hashBuf, size_t hashLen) in HashFinal() argument
48 << static_cast<uint32_t>(hashBuf[i]); in HashFinal()
/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/iso_task/iso_task_common/
H A Diso_task_common.c603 Uint8Buff hashBuf = { hash, sizeof(hash) }; in AuthGeneratePskUsePin() local
604 int res = params->baseParams.loader->sha256(&messageBuf, &hashBuf); in AuthGeneratePskUsePin()
609 …KeyParams keyParams = { { hashBuf.val, hashBuf.length, false }, false, params->baseParams.osAccoun… in AuthGeneratePskUsePin()