Home
last modified time | relevance | path

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

123

/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.cpp99 struct HksBlob hash = { 19, hashData }; variable
121 struct HksBlob hash = { 32, hashData }; variable
143 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/hiviewdfx/hiview/utility/common_utils/
Dcalc_fingerprint.cpp59 int CalcFingerprint::CalcFileSha(const string& filePath, char *hash, size_t len) in CalcFileSha()
96 int CalcFingerprint::CalcBufferSha(const string& buffer, size_t bufSize, char *hash, size_t len) in CalcBufferSha()
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
Dhks_mbedtls_hash.c97 …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/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
Dcert_manager_crypto_operation.c43 int32_t CmGetHash(const struct CmBlob *inData, struct CmBlob *hash) in CmGetHash()
/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()
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()
Dhash_data_verifier.cpp135 std::vector<uint8_t> hash {}; in VerifyHashData() local
Dpkg_verify_util.cpp47 std::vector<uint8_t> hash; in VerifyPackageSign() local
/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/test/fuzz_test/innerapi_fuzzer/hkshash_fuzzer/
Dhkshash_fuzzer.cpp42 struct HksBlob hash = { BLOB_SIZE, static_cast<uint8_t *>(myData + BLOB_SIZE) }; in DoSomethingInterestingWithMyAPI() local
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/small/
Dmbedtls_ec_adapter.c149 static int32_t CalTmpParab(mbedtls_mpi *tmpX, const mbedtls_mpi *modP, const uint8_t *hash, uint32_… in CalTmpParab()
204 static int32_t Elligator(unsigned char *point, int pointLength, const unsigned char *hash, int hash… in Elligator()
262 int32_t MbedtlsHashToPoint(const Uint8Buff *hash, Uint8Buff *outEcPoint) in MbedtlsHashToPoint()
/base/hiviewdfx/hiview/plugins/faultlogger/service/sanitizer_collector/
Dasan_collector.cpp78 unsigned *hash) in ProcessStackTrace()
178 bool AsanCollector::IsDuplicate(const std::string& hash) in IsDuplicate()
184 int AsanCollector::UpdateCollectedData(const std::string& hash, const std::string& rfile) in UpdateCollectedData()
Dreporter.h51 std::string hash; member
/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.cpp80 struct HksBlob *hash = NULL; variable
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/standard/
Dcrypto_hash_to_point.c111 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()
Dmbedtls_ec_adapter.c217 static int32_t EcHashToPoint(const Blob *hash, Blob *point) in EcHashToPoint()
257 int32_t MbedtlsHashToPoint(const Uint8Buff *hash, Uint8Buff *outEcPoint) in MbedtlsHashToPoint()
/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/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
/base/hiviewdfx/faultloggerd/frameworks/unwinder/include/
Ddfx_elf.h38 std::string hash = ""; member

123