| /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/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() 119 int CalcFingerprint::CalcBufferSha(const string& buffer, size_t bufSize, char *hash, size_t len) in CalcBufferSha()
|
| /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/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/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/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/ |
| D | hks_mbedtls_hash.c | 97 …MbedtlsHashMd5Final(struct HksMbedtlsHashCtx *ctx, const struct HksBlob *msg, struct HksBlob *hash) in HksMbedtlsHashMd5Final() 184 …bedtlsHashSha1Final(struct HksMbedtlsHashCtx *ctx, const struct HksBlob *msg, struct HksBlob *hash) in HksMbedtlsHashSha1Final() 281 struct HksBlob *hash) in HksMbedtlsHashSha256Final() 380 struct HksBlob *hash) in HksMbedtlsHashSha512Final() 526 int32_t HksMbedtlsHashFinal(void **cryptoCtx, const struct HksBlob *msg, struct HksBlob *hash) in HksMbedtlsHashFinal() 603 int32_t HksMbedtlsHash(uint32_t alg, const struct HksBlob *msg, struct HksBlob *hash) in HksMbedtlsHash()
|
| /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() 374 …dData::Pkcs7SignleSignerVerify(const Pkcs7SignerInfo &signerInfo, const std::vector<uint8_t> &hash, in Pkcs7SignleSignerVerify() 404 …gnedData::VerifyDigest(X509 *cert, const Pkcs7SignerInfo &signer, const std::vector<uint8_t> &hash, in VerifyDigest()
|
| D | pkg_verify_util.cpp | 34 std::vector<uint8_t> hash; in VerifySign() local 65 std::vector<uint8_t> hash; in VerifyPackageSign() local
|
| 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 | 111 static int32_t CurveHashToPointCalcB(const struct HksBlob *hash, in CurveHashToPointCalcB() 267 static int32_t CurveHashToPoint(const struct HksBlob *hash, struct HksBlob *point) in CurveHashToPoint() 331 int32_t OpensslHashToPoint(const struct HksBlob *hash, struct HksBlob *point) in OpensslHashToPoint()
|
| /base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
| D | cert_manager_crypto_operation.c | 43 int32_t CmGetHash(const struct CmBlob *inData, struct CmBlob *hash) in CmGetHash()
|
| /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/hiviewdfx/hiview/plugins/faultlogger/service/sanitizer_collector/ |
| D | asan_collector.cpp | 77 unsigned *hash) in ProcessStackTrace() 177 bool AsanCollector::IsDuplicate(const std::string& hash) in IsDuplicate() 183 int AsanCollector::UpdateCollectedData(const std::string& hash, const std::string& rfile) in UpdateCollectedData()
|
| /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_standard_test/interface_inner_test/sdk_test/src/ |
| D | hks_hash_test.cpp | 78 struct HksBlob *hash = NULL; variable
|
| /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/fuzz_test/innerapi_fuzzer/hkshash_fuzzer/ |
| D | hkshash_fuzzer.cpp | 43 struct HksBlob hash = { hashBuf.size(), hashBuf.data() }; in DoSomethingInterestingWithMyAPI() local
|
| /base/security/device_auth/deps_adapter/key_management_adapter/impl/src/ |
| D | mbedtls_ec_adapter.c | 214 static int32_t CalTmpParab(mbedtls_mpi *tmpX, const mbedtls_mpi *modP, const uint8_t *hash, uint32_… in CalTmpParab() 269 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/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/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
|