| /base/hiviewdfx/hiview/utility/common_utils/ |
| D | calc_fingerprint.cpp | 59 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/ |
| D | hks_openssl_hash.c | 66 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/ |
| D | hks_crypto_hal_sm3_cipher.cpp | 97 struct HksBlob hash = { 19, hashData }; variable 119 struct HksBlob hash = { 32, hashData }; variable 141 struct HksBlob hash = { 46, hashData }; variable
|
| D | hks_crypto_hal_dsa_sign.cpp | 111 struct HksBlob hash = { HKS_HMAC_DIGEST_SHA512_LEN, hashData }; in RunTestCase() local
|
| /base/hiviewdfx/hilog_lite/interfaces/native/kits/hilog_lite/ |
| D | hiview_log.h | 426 #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/ |
| D | hks_mbedtls_hash.c | 98 …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/ |
| D | huks_adapter_diff_impl.c | 34 int32_t HashToPointX25519(const Uint8Buff *hash, Uint8Buff *outEcPoint) in HashToPointX25519()
|
| /base/security/device_auth/deps_adapter/key_management_adapter/impl/src/mini/ |
| D | huks_adapter_diff_impl.c | 61 int32_t HashToPointX25519(const Uint8Buff *hash, Uint8Buff *outEcPoint) in HashToPointX25519()
|
| /base/update/updater/services/package/pkg_verify/ |
| D | pkcs7_signed_data.cpp | 54 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()
|
| D | pkg_verify_util.cpp | 82 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
|
| D | hash_data_verifier.cpp | 153 std::vector<uint8_t> hash {}; in VerifyHashData() local
|
| /base/security/device_auth/deps_adapter/key_management_adapter/impl/src/standard/ |
| D | huks_adapter_diff_impl.c | 34 int32_t HashToPointX25519(const Uint8Buff *hash, Uint8Buff *outEcPoint) in HashToPointX25519()
|
| D | crypto_hash_to_point.c | 158 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/ |
| D | hota_verify.c | 74 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/ |
| D | hks_hash_test.c | 84 struct HksBlob *hash = NULL; in LITE_TEST_CASE() local
|
| /base/security/huks/frameworks/huks_standard/main/os_dependency/sysinfo/src/ |
| D | hks_get_udid.c | 34 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/ |
| D | hks_hash_test.cpp | 80 struct HksBlob *hash = NULL; variable
|
| /base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/ |
| D | hks_hash_test.cpp | 78 struct HksBlob *hash = NULL; variable
|
| /base/hiviewdfx/hitrace/test/unittest/common/native/ |
| D | hitracechaincpp_test.cpp | 47 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
|
| D | hitracechainc_test.cpp | 76 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/ |
| D | hkshash_fuzzer.cpp | 43 struct HksBlob hash = { hashBuf.size(), hashBuf.data() }; in DoSomethingInterestingWithMyAPI() local
|
| /base/hiviewdfx/hiview/utility/common_utils/test/unittest/common/ |
| D | utility_common_utils_test.cpp | 76 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/ |
| D | mbedtls_ec_adapter.c | 215 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/ |
| D | udid_adp.c | 35 unsigned char hash[HASH_LENGTH] = { 0 }; in GetSha256Value() local
|
| /base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/test/ |
| D | dlp_crypt_test.cpp | 1507 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
|