/ohos5.0/base/security/crypto_framework/test/unittest/src/ |
H A D | crypto_pbkdf2_test.cpp | 67 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 D | crypto_hkdf_test.cpp | 64 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 D | mk_agree_test.cpp | 155 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 D | pin_db_test.cpp | 120 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 D | hks_chipset_platform_key_hardcoded.c | 105 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 D | hcfkdfcreate_fuzzer.cpp | 49 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 D | hks_core_service_key_chipset_platform_derive.c | 61 int32_t HksCoreExportChipsetPlatformPublicKey(const struct HksBlob *salt, in HksCoreExportChipsetPlatformPublicKey()
|
H A D | hks_core_service_key_other.c | 101 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 D | hks_keyblob.c | 44 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 D | pin_auth_test.cpp | 67 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 D | all_in_one_func_test.cpp | 58 std::vector<uint8_t> salt(CONST_SALT_LEN, 1); variable
|
/ohos5.0/base/security/crypto_framework/interfaces/innerkits/algorithm_parameter/ |
H A D | detailed_hkdf_params.h | 27 HcfBlob salt; member
|
H A D | detailed_pbkdf2_params.h | 27 HcfBlob salt; member
|
/ohos5.0/drivers/peripheral/pin_auth/hdi_service/database/inc/ |
H A D | pin_db.h | 36 uint8_t salt[CONST_SALT_LEN]; member
|
/ohos5.0/foundation/distributedhardware/device_manager/utils/include/kvadapter/ |
H A D | dm_kv_info.h | 34 std::string salt; member
|
/ohos5.0/drivers/peripheral/user_auth/hdi_service/key_mgr/src/ |
H A D | hmac_key.c | 43 Buffer *salt = NULL; in GenerateHmacKey() local
|
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/ |
H A D | hks_chipset_platform_encrypt_test.cpp | 268 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 D | UTTest_dm_crypto.cpp | 62 std::string salt = Crypto::GetSecSalt(); variable
|
/ohos5.0/base/security/device_auth/services/mk_agree/src/mock/ |
H A D | key_manager_mock.c | 40 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 D | hks_chipset_platform_test.h | 46 std::vector<uint8_t> salt; member
|
/ohos5.0/base/security/code_signature/interfaces/innerkits/code_sign_utils/src/ |
H A D | code_sign_helper.cpp | 75 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 D | hks_rkc_v1.c | 135 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 D | hks_rkc.c | 152 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 D | dm_crypto.cpp | 206 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 D | sts_client.h | 46 struct hc_salt salt; member
|