Home
last modified time | relevance | path

Searched refs:hashBuff (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/base/security/device_auth/test/unittest/deviceauth/unit_test/source/
H A Dkey_management_test.cpp113 Uint8Buff hashBuff = { hashData, SHA_256_LENGTH }; variable
114 ret = GetLoaderInstance()->sha256(&msgBuff, &hashBuff);
/ohos5.0/base/security/device_auth/services/legacy/group_auth/src/group_auth_manager/account_related_group_auth/
H A Daccount_related_group_auth.c461 Uint8Buff hashBuff = { userIdHash, sizeof(userIdHash) }; in GetPeerUserIdFromReceivedData() local
463 res = GetLoaderInstance()->sha256(&hashMsgBuff, &hashBuff); in GetPeerUserIdFromReceivedData()
469 uint32_t hexLen = hashBuff.length * BYTE_TO_HEX_OPER_LENGTH + 1; in GetPeerUserIdFromReceivedData()
475 res = ByteToHexString(hashBuff.val, hashBuff.length, *peerUserId, hexLen); in GetPeerUserIdFromReceivedData()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dquery_sync_object.cpp188 std::vector<uint8_t> hashBuff; in GetIdentify() local
189 if (parcel.IsError() || DBCommon::CalcValueHash(buff, hashBuff) != E_OK) { in GetIdentify()
192 identify_ = DBCommon::VectorToHexString(hashBuff); in GetIdentify()
/ohos5.0/base/security/device_auth/test/unittest/deviceauth/source/
H A Ddeviceauth_interface_test.cpp608 Uint8Buff hashBuff = { hashVal, 64 }; variable
609 res = MbedtlsHashToPoint25519(&hashBuff, nullptr);
613 res = MbedtlsHashToPoint25519(&hashBuff, &outEcPointBuff);
616 hashBuff.val = validHashVal;
617 hashBuff.length = 32;
618 res = MbedtlsHashToPoint25519(&hashBuff, &outEcPointBuff);