Home
last modified time | relevance | path

Searched defs:hash (Results 1 – 25 of 71) sorted by relevance

123

/base/hiviewdfx/hiview/utility/common_utils/
Dcalc_fingerprint.cpp59 int CalcFingerprint::CalcFileSha(const string& filePath, char *hash, size_t len) in CalcFileSha()
74 int CalcFingerprint::CalcFileShaOriginal(const string& filePath, unsigned char *hash, size_t len) in CalcFileShaOriginal()
118 int CalcFingerprint::CalcBufferSha(const string& buffer, size_t bufSize, char *hash, size_t len) in CalcBufferSha()
138 int CalcFingerprint::CalcBufferSha(unsigned char* source, size_t sourceLen, char *hash, size_t hash… in CalcBufferSha()
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
Dhks_openssl_hash.c66 static int32_t HashCheckParam(uint32_t alg, const struct HksBlob *msg, struct HksBlob *hash) in HashCheckParam()
76 int32_t HksOpensslHash(uint32_t alg, const struct HksBlob *msg, struct HksBlob *hash) in HksOpensslHash()
134 int32_t HksOpensslHashFinal(void **cryptoCtx, const struct HksBlob *msg, struct HksBlob *hash) in HksOpensslHashFinal()
/base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/
Dhks_crypto_hal_sm3_cipher.cpp97 struct HksBlob hash = { 19, hashData }; variable
119 struct HksBlob hash = { 32, hashData }; variable
141 struct HksBlob hash = { 46, hashData }; variable
Dhks_crypto_hal_dsa_sign.cpp111 struct HksBlob hash = { HKS_HMAC_DIGEST_SHA512_LEN, hashData }; in RunTestCase() local
/base/hiviewdfx/hilog_lite/interfaces/native/kits/hilog_lite/
Dhiview_log.h426 #define HILOG_DEBUG_HASH(mod, hash, ...) \ argument
429 #define HILOG_DEBUG_HASH(mod, hash, ...) argument
441 #define HILOG_INFO_HASH(mod, hash, ...) \ argument
444 #define HILOG_INFO_HASH(mod, hash, ...) argument
456 #define HILOG_WARN_HASH(mod, hash, ...) \ argument
459 #define HILOG_WARN_HASH(mod, hash, ...) argument
471 #define HILOG_ERROR_HASH(mod, hash, ...) \ argument
474 #define HILOG_ERROR_HASH(mod, hash, ...) argument
486 #define HILOG_FATAL_HASH(mod, hash, ...) \ argument
489 #define HILOG_FATAL_HASH(mod, hash, ...) argument
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
Dhks_mbedtls_hash.c98 …MbedtlsHashMd5Final(struct HksMbedtlsHashCtx *ctx, const struct HksBlob *msg, struct HksBlob *hash) in HksMbedtlsHashMd5Final()
185 …bedtlsHashSha1Final(struct HksMbedtlsHashCtx *ctx, const struct HksBlob *msg, struct HksBlob *hash) in HksMbedtlsHashSha1Final()
282 struct HksBlob *hash) in HksMbedtlsHashSha256Final()
381 struct HksBlob *hash) in HksMbedtlsHashSha512Final()
527 int32_t HksMbedtlsHashFinal(void **cryptoCtx, const struct HksBlob *msg, struct HksBlob *hash) in HksMbedtlsHashFinal()
604 int32_t HksMbedtlsHash(uint32_t alg, const struct HksBlob *msg, struct HksBlob *hash) in HksMbedtlsHash()
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/small/
Dhuks_adapter_diff_impl.c34 int32_t HashToPointX25519(const Uint8Buff *hash, Uint8Buff *outEcPoint) in HashToPointX25519()
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/mini/
Dhuks_adapter_diff_impl.c61 int32_t HashToPointX25519(const Uint8Buff *hash, Uint8Buff *outEcPoint) in HashToPointX25519()
/base/update/updater/services/package/pkg_verify/
Dpkcs7_signed_data.cpp54 std::vector<uint8_t> &hash) in GetHashFromSignBlock()
101 int32_t Pkcs7SignedData::Verify(const std::vector<uint8_t> &hash, const std::vector<uint8_t> &sig, in Verify()
416 …dData::Pkcs7SignleSignerVerify(const Pkcs7SignerInfo &signerInfo, const std::vector<uint8_t> &hash, in Pkcs7SignleSignerVerify()
446 …gnedData::VerifyDigest(X509 *cert, const Pkcs7SignerInfo &signer, const std::vector<uint8_t> &hash, in VerifyDigest()
Dpkg_verify_util.cpp82 std::vector<uint8_t> hash; in VerifySign() local
113 std::vector<uint8_t> hash; in VerifyPackageSign() local
189 const std::vector<uint8_t> &hash, const std::string &path) const in HashCheck() argument
Dhash_data_verifier.cpp153 std::vector<uint8_t> hash {}; in VerifyHashData() local
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/standard/
Dhuks_adapter_diff_impl.c34 int32_t HashToPointX25519(const Uint8Buff *hash, Uint8Buff *outEcPoint) in HashToPointX25519()
Dcrypto_hash_to_point.c158 static int32_t CurveHashToPointCalcB(const struct HksBlob *hash, in CurveHashToPointCalcB()
329 static int32_t CurveHashToPoint(const struct HksBlob *hash, struct HksBlob *point) in CurveHashToPoint()
393 int32_t OpensslHashToPoint(const struct HksBlob *hash, struct HksBlob *point) in OpensslHashToPoint()
/base/update/sys_installer_lite/frameworks/source/verify/
Dhota_verify.c74 static int32 HotaCalcImageHash(uint8 *dataAddr, uint32 dataLen, uint8 *hash, uint32 hashLen) in HotaCalcImageHash()
103 static int32 HotaSignVerifyByHash(const uint8 *hash, uint32 hashLen, const uint8 *imageSign, uint32… in HotaSignVerifyByHash()
/base/security/huks/test/unittest/huks_lite_test/liteos_m_adapter/
Dhks_hash_test.c84 struct HksBlob *hash = NULL; in LITE_TEST_CASE() local
/base/security/huks/frameworks/huks_standard/main/os_dependency/sysinfo/src/
Dhks_get_udid.c34 static int32_t ComputeHash(const char *data, uint32_t len, struct HksBlob *hash) in ComputeHash()
/base/security/huks/test/unittest/huks_lite_test/liteos_a_adapter/
Dhks_hash_test.cpp80 struct HksBlob *hash = NULL; variable
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/
Dhks_hash_test.cpp78 struct HksBlob *hash = NULL; variable
/base/hiviewdfx/hitrace/test/unittest/common/native/
Dhitracechaincpp_test.cpp47 uint64_t hash = 0; in HashFunc() local
66 uint64_t hash = HashFunc(hashData, HASH_DATA_LENGTH * sizeof(uint64_t)); in GenerateChainId() local
81 uint64_t hash = HashFunc(hashData, HASH_DATA_LENGTH * sizeof(uint64_t)); in GenerateSpanId() local
95 uint64_t hash = HashFunc(hashData, HASH_DATA_LENGTH * sizeof(uint64_t)); in GenerateParentSpanId() local
Dhitracechainc_test.cpp76 uint64_t hash = 0; in HashFunc() local
95 uint64_t hash = HashFunc(hashData, HASH_DATA_LENGTH * sizeof(uint64_t)); in GenerateChainId() local
109 uint64_t hash = HashFunc(hashData, HASH_DATA_LENGTH * sizeof(uint64_t)); in GenerateSpanId() local
123 uint64_t hash = HashFunc(hashData, HASH_DATA_LENGTH * sizeof(uint64_t)); in GenerateParentSpanId() local
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hkshash_fuzzer/
Dhkshash_fuzzer.cpp43 struct HksBlob hash = { hashBuf.size(), hashBuf.data() }; in DoSomethingInterestingWithMyAPI() local
/base/hiviewdfx/hiview/utility/common_utils/test/unittest/common/
Dutility_common_utils_test.cpp76 char hash[SHA256_DIGEST_LENGTH] = {0}; variable
101 char hash[SHA256_DIGEST_LENGTH] = {0}; variable
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/common/
Dmbedtls_ec_adapter.c215 static int32_t CalTmpParab(mbedtls_mpi *tmpX, const mbedtls_mpi *modP, const uint8_t *hash, uint32_… in CalTmpParab()
270 static int32_t Elligator(unsigned char *point, int pointLength, const unsigned char *hash, int hash… in Elligator()
447 static int32_t EcHashToPoint(const Blob *hash, Blob *point) in EcHashToPoint()
487 int32_t MbedtlsHashToPoint(const Uint8Buff *hash, Uint8Buff *outEcPoint) in MbedtlsHashToPoint()
514 int32_t MbedtlsHashToPoint25519(const Uint8Buff *hash, Uint8Buff *outEcPoint) in MbedtlsHashToPoint25519()
/base/startup/init/services/modules/udid/
Dudid_adp.c35 unsigned char hash[HASH_LENGTH] = { 0 }; in GetSha256Value() local
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/test/
Ddlp_crypt_test.cpp1507 struct DlpBlob hash = {32, out}; variable
1528 struct DlpBlob hash = {64, out}; variable
1564 struct DlpBlob hash = {16, output}; variable
1581 struct DlpBlob hash = {64, output}; variable
1737 struct DlpBlob hash = {64, out}; variable
1755 struct DlpBlob hash = {64, out}; variable
1788 struct DlpBlob hash = {64, out}; variable
1852 struct DlpBlob hash = {64, out}; variable
1888 struct DlpBlob hash = {64, out}; variable

123