Home
last modified time | relevance | path

Searched defs:salt (Results 1 – 25 of 76) sorted by relevance

1234

/ohos5.0/base/security/crypto_framework/test/unittest/src/
H A Dcrypto_pbkdf2_test.cpp67 HcfBlob salt = {.data = saltData, .len = SALT_NORMAL_LENGTH}; variable
90 HcfBlob salt = {.data = saltData, .len = SALT_NORMAL_LENGTH}; variable
113 HcfBlob salt = {.data = nullptr, .len = 0}; variable
134 HcfBlob salt = {.data = nullptr, .len = 0}; variable
158 HcfBlob salt = {.data = saltData, .len = SALT_NORMAL_LENGTH}; variable
182 HcfBlob salt = {.data = saltData, .len = SALT_NORMAL_LENGTH}; variable
205 HcfBlob salt = {.data = saltData, .len = SALT_NORMAL_LENGTH}; variable
228 HcfBlob salt = {.data = saltData, .len = SALT_NORMAL_LENGTH}; variable
320 HcfBlob salt = {.data = nullptr, .len = 0}; variable
341 HcfBlob salt = {.data = nullptr, .len = 0}; variable
[all …]
H A Dcrypto_hkdf_test.cpp64 HcfBlob salt = {.data = reinterpret_cast<uint8_t *>(const_cast<char *>(g_saltData)), variable
89 HcfBlob salt = {.data = reinterpret_cast<uint8_t *>(const_cast<char *>(g_saltData)), variable
116 HcfBlob salt = {.data = reinterpret_cast<uint8_t *>(const_cast<char *>(g_saltData)), variable
145 HcfBlob salt = {.data = reinterpret_cast<uint8_t *>(const_cast<char *>(g_saltData)), variable
184 HcfBlob salt = {.data = reinterpret_cast<uint8_t *>(const_cast<char *>(g_saltData)), variable
229 HcfBlob salt = {.data = reinterpret_cast<uint8_t *>(const_cast<char *>(g_saltData)), variable
254 HcfBlob salt = {.data = reinterpret_cast<uint8_t *>(const_cast<char *>(g_saltData)), variable
376 HcfBlob salt = {.data = nullptr, .len = 0}; variable
397 HcfBlob salt = {.data = nullptr, .len = 0}; variable
509 HcfBlob salt = {.data = saltData, .len = sizeof(saltData)}; variable
[all …]
/ohos5.0/base/security/device_auth/test/unittest/deviceauth/source/
H A Dmk_agree_test.cpp155 Uint8Buff salt = { peerDevPkVal, peerDevPkLen }; variable
166 Uint8Buff salt = { nullptr, 0 }; variable
178 Uint8Buff salt = { peerDevPkVal, peerDevPkLen }; variable
191 Uint8Buff salt = { peerDevPkVal, peerDevPkLen }; variable
207 Uint8Buff salt = { peerDevPkVal, peerDevPkLen }; variable
223 Uint8Buff salt = { peerDevPkVal, peerDevPkLen }; variable
239 Uint8Buff salt = { peerDevPkVal, 0 }; variable
250 Uint8Buff salt = { nullptr, 0 }; variable
/ohos5.0/drivers/peripheral/pin_auth/test/unittest/pin_auth/database/src/
H A Dpin_db_test.cpp120 std::vector<uint8_t> salt(CONST_SALT_LEN, 1); variable
169 std::vector<uint8_t> salt(CONST_SALT_LEN, 1); variable
212 std::vector<uint8_t> salt(CONST_SALT_LEN, 1); variable
252 std::vector<uint8_t> salt(CONST_SALT_LEN, 1); variable
292 std::vector<uint8_t> salt(CONST_SALT_LEN, 1); variable
/ohos5.0/base/security/huks/services/huks_standard/huks_engine/main/core_dependency/src/
H A Dhks_chipset_platform_key_hardcoded.c105 int32_t HksChipsetPlatformDeriveKeyAndEcdh(const struct HksBlob *peerPk, const struct HksBlob *salt, in HksChipsetPlatformDeriveKeyAndEcdh()
135 int32_t HksChipsetPlatformDerivePubKey(const struct HksBlob *salt, struct HksBlob *pubKey) in HksChipsetPlatformDerivePubKey()
/ohos5.0/base/security/crypto_framework/test/fuzztest/crypto_operation/hcfkdfcreate_fuzzer/
H A Dhcfkdfcreate_fuzzer.cpp49 HcfBlob salt = {.data = const_cast<uint8_t *>(data), .len = size}; in TestHkdfGenerateSecretSalt() local
77 HcfBlob salt = {.data = reinterpret_cast<uint8_t *>(const_cast<char *>(g_saltData)), in TestHkdfGenerateSecretKey() local
106 HcfBlob salt = {.data = reinterpret_cast<uint8_t *>(const_cast<char *>(g_saltData)), in TestHkdfGenerateSecretInfo() local
131 HcfBlob salt = {.data = saltData, .len = SALT_NORMAL_LENGTH}; in TestPbkdfGenerateSecretWithoutInfo() local
/ohos5.0/base/security/huks/services/huks_standard/huks_engine/main/core/src/
H A Dhks_core_service_key_chipset_platform_derive.c61 int32_t HksCoreExportChipsetPlatformPublicKey(const struct HksBlob *salt, in HksCoreExportChipsetPlatformPublicKey()
H A Dhks_core_service_key_other.c101 static int32_t GetMacKey(const struct HksBlob *salt, struct HksBlob *macKey) in GetMacKey()
122 int32_t HksCoreCalcMacHeader(const struct HksParamSet *paramSet, const struct HksBlob *salt, in HksCoreCalcMacHeader()
H A Dhks_keyblob.c44 uint8_t salt[HKS_KEY_BLOB_DERIVE_SALT_SIZE]; member
84 struct HksBlob *salt) in GetSalt()
97 HKS_IF_NULL_LOGE_RETURN(salt->data, HKS_ERROR_MALLOC_FAIL, "malloc failed") in GetSalt() local
126 struct HksBlob salt = { 0, NULL }; in GetDeriveKey() local
290 struct HksBlob salt = { HKS_KEY_BLOB_DERIVE_SALT_SIZE, keyBlobInfo->salt }; in InitKeyBlobInfo() local
/ohos5.0/drivers/peripheral/pin_auth/test/unittest/pin_auth/main/src/
H A Dpin_auth_test.cpp67 std::vector<uint8_t> salt(30, 1); variable
88 std::vector<uint8_t> salt; variable
262 std::vector<uint8_t> salt(CONST_SALT_LEN, 1); variable
317 std::vector<uint8_t> salt(CONST_SALT_LEN, 1); variable
H A Dall_in_one_func_test.cpp58 std::vector<uint8_t> salt(CONST_SALT_LEN, 1); variable
/ohos5.0/base/security/crypto_framework/interfaces/innerkits/algorithm_parameter/
H A Ddetailed_hkdf_params.h27 HcfBlob salt; member
H A Ddetailed_pbkdf2_params.h27 HcfBlob salt; member
/ohos5.0/drivers/peripheral/pin_auth/hdi_service/database/inc/
H A Dpin_db.h36 uint8_t salt[CONST_SALT_LEN]; member
/ohos5.0/foundation/distributedhardware/device_manager/utils/include/kvadapter/
H A Ddm_kv_info.h34 std::string salt; member
/ohos5.0/drivers/peripheral/user_auth/hdi_service/key_mgr/src/
H A Dhmac_key.c43 Buffer *salt = NULL; in GenerateHmacKey() local
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
H A Dhks_chipset_platform_encrypt_test.cpp268 int32_t ExportX509ChipsetPlatformPubKey(const struct HksBlob &salt, in ExportX509ChipsetPlatformPubKey()
659 HksBlob salt = { .size = static_cast<uint32_t>(saltData.size()), .data = saltData.data() }; variable
691 HksBlob salt = { .size = static_cast<uint32_t>(saltData.size()), .data = saltData.data() }; variable
708 HksBlob salt = { .size = static_cast<uint32_t>(saltData.size()), .data = saltData.data() }; variable
/ohos5.0/foundation/distributedhardware/device_manager/test/unittest/
H A DUTTest_dm_crypto.cpp62 std::string salt = Crypto::GetSecSalt(); variable
/ohos5.0/base/security/device_auth/services/mk_agree/src/mock/
H A Dkey_manager_mock.c40 int32_t GeneratePseudonymPsk(int32_t osAccountId, const char *peerDeviceId, const Uint8Buff *salt) in GeneratePseudonymPsk()
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/three_stage_test/include/
H A Dhks_chipset_platform_test.h46 std::vector<uint8_t> salt; member
/ohos5.0/base/security/code_signature/interfaces/innerkits/code_sign_utils/src/
H A Dcode_sign_helper.cpp75 uint8_t *salt = reinterpret_cast<uint8_t *>(arg.salt_ptr); in ShowCodeSignInfo() local
/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/rkc/src/
H A Dhks_rkc_v1.c135 const struct HksBlob *salt, const uint32_t iterNum, struct HksBlob *dk) in RkcPbkdf2Hmac()
165 const struct HksBlob salt = { HKS_RKC_SALT_LEN, (uint8_t *)(ksfDataRkc->rmkSalt) }; in RkcDeriveRmkV1() local
H A Dhks_rkc.c152 const struct HksBlob *salt, const uint32_t iterNum, struct HksBlob *dk) in RkcHkdfHmac()
182 const struct HksBlob salt = { HKS_RKC_SALT_LEN, (uint8_t *)(ksfDataRkc->rmkSalt) }; in RkcDeriveRmk() local
461 struct HksBlob salt = { HKS_RKC_SALT_LEN, ksfDataRkcWithVer->ksfDataRkc.rmkSalt }; in FillKsfDataRkcWithVer() local
/ohos5.0/foundation/distributedhardware/device_manager/utils/src/crypto/
H A Ddm_crypto.cpp206 std::string Crypto::GetHashWithSalt(const std::string &text, const std::string &salt) in GetHashWithSalt()
256 std::string salt = GetSecSalt(); in ConvertUdidHashToAnoyGenerate() local
/ohos5.0/base/security/device_auth/frameworks/deviceauth_lite/inc/key_agreement/
H A Dsts_client.h46 struct hc_salt salt; member

1234