| /base/security/huks/frameworks/huks_standard/main/os_dependency/ipc/src/ |
| H A D | hks_client_service_passthrough.c | 184 int32_t HksClientSign(const struct HksBlob *key, const struct HksParamSet *paramSet,
in HksClientSign() argument 202 int32_t HksClientVerify(const struct HksBlob *key, const struct HksParamSet *paramSet,
in HksClientVerify() argument 220 int32_t HksClientEncrypt(const struct HksBlob *key, const struct HksParamSet *paramSet,
in HksClientEncrypt() argument 77 HksClientImportKey(const struct HksBlob *keyAlias, const struct HksParamSet *paramSet, const struct HksBlob *key) HksClientImportKey() argument 114 HksClientExportPublicKey(const struct HksBlob *keyAlias, const struct HksParamSet *paramSet, struct HksBlob *key) HksClientExportPublicKey() argument 238 HksClientDecrypt(const struct HksBlob *key, const struct HksParamSet *paramSet, const struct HksBlob *cipherText, struct HksBlob *plainText) HksClientDecrypt() argument 292 HksClientMac(const struct HksBlob *key, const struct HksParamSet *paramSet, const struct HksBlob *srcData, struct HksBlob *mac) HksClientMac() argument [all...] |
| /base/sensors/miscdevice/services/miscdevice_service/src/ |
| H A D | vibration_priority_manager.cpp | 97 int32_t VibrationPriorityManager::GetIntValue(const std::string &key, int32_t &value)
in GetIntValue() argument 108 int32_t VibrationPriorityManager::GetLongValue(const std::string &key, int64_t &value)
in GetLongValue() argument 119 int32_t VibrationPriorityManager::GetStringValue(const std::string &key, std::string &value)
in GetStringValue() argument 324 Uri VibrationPriorityManager::AssembleUri(const std::string &key)
in AssembleUri() argument [all...] |
| /base/startup/init/services/init/ |
| H A D | init_group_manager.c | 58 int GenerateHashCode(const char *key)
in GenerateHashCode() argument 172 static int GroupNodeKeyCompare(const HashNode *node1, const void *key)
in GroupNodeKeyCompare() argument 178 static int GroupNodeGetKeyHashCode(const void *key)
in GroupNodeGetKeyHashCode() argument
|
| /base/security/huks/services/huks_standard/huks_service/main/os_dependency/idl/ipc/ |
| H A D | hks_ipc_service.c | 124 struct HksBlob key = { 0, NULL };
in HksIpcServiceImportKey() local 181 struct HksBlob key = { 0, NULL };
in HksIpcServiceExportPublicKey() local 541 struct HksBlob key in HksIpcServiceMac() local [all...] |
| /base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/ |
| H A D | hks_crypto_hal_aes_cipher.cpp | 492 void RunTestEncrypt(struct HksBlob *key, const TestCaseParams &testCaseParams, struct HksBlob *encryptMsg, in RunTestEncrypt() argument 553 void RunTestDecrypt(const TestCaseParams &testCaseParams, struct HksBlob *key, struct HksBlob *decryptMsg, in RunTestDecrypt() argument 615 HksBlob key = { .size = 0, .data = nullptr }; in RunTestCaseThreeStage() local 648 void RunTestGcmDecrypt(const HksUsageSpec &usageSpec, struct HksBlob *key, struc argument 710 HksBlob key = { .size = 0, .data = nullptr }; RunTestCaseThreeStageGCM() local 757 HksBlob key = { .size = 0, .data = nullptr }; RunTestCase() local [all...] |
| H A D | hks_crypto_hal_aes_decrypt.cpp | 332 HksBlob key = { .size = keyLen, .data = (uint8_t *)HksMalloc(keyLen) }; in RunTestCase() local 364 void RunTestAesDecrypt(struct HksBlob *key, const TestCaseParams &testCaseParams, struct HksBlob *decryptMsg, in RunTestAesDecrypt() argument 415 void RunTestAesGcmDecrypt(struct HksBlob *key, cons argument 465 HksBlob key = { .size = keyLen, .data = (uint8_t *)HksMalloc(keyLen) }; GcmRunTestCase() local [all...] |
| H A D | hks_crypto_hal_rsa_cipher.cpp | 877 HksBlob key = { .size = 0, .data = nullptr }; in RunTestCase() local [all...] |
| /base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/ |
| H A D | hks_import_wrapped_x25519_suite_test.cpp | 277 ConstructCurve25519Key(struct TestImportKeyData *key, uint32_t alg, uint32_t keySize, uint32_t importType, struct HksBlob *outKey) ConstructCurve25519Key() argument 321 struct TestImportKeyData key; ConstructImportedCurve25519Key() local [all...] |
| H A D | hks_import_key_test.cpp | 713 struct HksBlob key = { testCaseParams.keySize, keyData }; in ImportTest() local 737 struct HksBlob key = { sizeof(rsaKeyData), rsaKeyData }; in ImportTestForRsa() local 758 struct HksBlob key = { DH_KEY_DATA_SIZE, dhKeyData }; in ImportTestForDh() local [all...] |
| /base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/ |
| H A D | hks_mbedtls_rsa.c | 95 int32_t RsaKeyCheck(const struct HksBlob *key) in RsaKeyCheck() argument 114 static int32_t RsaSaveKeyMaterial(const mbedtls_rsa_context *ctx, const uint32_t keySize, struct HksBlob *key) in RsaSaveKeyMaterial() argument 166 HksMbedtlsRsaGenerateKey(const struct HksKeySpec *spec, struct HksBlob *key) HksMbedtlsRsaGenerateKey() argument 203 RsaKeyMaterialToCtx(const struct HksBlob *key, const bool needPrivateExponent, mbedtls_rsa_context *ctx) RsaKeyMaterialToCtx() argument 283 HksMbedtlsRsaCryptMbedtls(const struct HksBlob *key, const struct HksUsageSpec *usageSpec, const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText, size_t *outlen, mbedtls_rsa_context *ctx) HksMbedtlsRsaCryptMbedtls() argument 332 HksMbedtlsRsaCrypt(const struct HksBlob *key, const struct HksUsageSpec *usageSpec, const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) HksMbedtlsRsaCrypt() argument 365 HksMbedtlsRsaEncrypt(const struct HksBlob *key, const struct HksUsageSpec *usageSpec, const struct HksBlob *message, struct HksBlob *cipherText, struct HksBlob *tagAead) HksMbedtlsRsaEncrypt() argument 372 HksMbedtlsRsaDecrypt(const struct HksBlob *key, const struct HksUsageSpec *usageSpec, const struct HksBlob *message, struct HksBlob *cipherText) HksMbedtlsRsaDecrypt() argument 395 HksToMbedtlsRsaSetPssSaltLen(const struct HksBlob *key, const uint32_t digest, const uint32_t hksPssSaltLen, HksMbedtlsSignVerifyParam *param) HksToMbedtlsRsaSetPssSaltLen() argument 456 HksMbedtlsRsaSignVerify(const struct HksBlob *key, const struct HksUsageSpec *usageSpec, const struct HksBlob *message, const bool sign, struct HksBlob *signature) HksMbedtlsRsaSignVerify() argument 510 HksMbedtlsRsaSign(const struct HksBlob *key, const struct HksUsageSpec *usageSpec, const struct HksBlob *message, struct HksBlob *signature) HksMbedtlsRsaSign() argument 519 HksMbedtlsRsaVerify(const struct HksBlob *key, const struct HksUsageSpec *usageSpec, const struct HksBlob *message, const struct HksBlob *signature) HksMbedtlsRsaVerify() argument [all...] |
| /base/security/huks/services/huks_standard/huks_engine/main/core/src/ |
| H A D | hks_keyblob_lite.c | 193 static int32_t CopyKey(const struct HksBlob *key, struct HksBlob *adjustedKey)
in CopyKey() argument 205 static int32_t Ed25519BlobToKeyMaterial(const struct HksBlob *key, struct HksBlob *adjustedKey)
in Ed25519BlobToKeyMaterial() argument 236 Ed25519KeyMaterialToBlob(const struct HksBlob *key, struct HksBlob *adjustedKey) Ed25519KeyMaterialToBlob() argument 265 GetRawKeyMaterial(const struct HksBlob *key, struct HksBlob *rawKey) GetRawKeyMaterial() argument 301 HksGenerateKeyNode(const struct HksBlob *key) HksGenerateKeyNode() argument 386 FillStoreKeyInfo(const struct HksBlob *keyAlias, uint8_t keyFlag, const struct HksBlob *key, const struct HksParamSet *paramSet, struct HksBlob *keyOut) FillStoreKeyInfo() argument 420 AdjustKey(uint8_t keyFlag, const struct HksParamSet *paramSet, const struct HksBlob *key, struct HksBlob *adjustedKey) AdjustKey() argument 455 HksBuildKeyBlob(const struct HksBlob *keyAlias, uint8_t keyFlag, const struct HksBlob *key, const struct HksParamSet *paramSet, struct HksBlob *keyOut) HksBuildKeyBlob() argument 488 HksGetRawKeyMaterial(const struct HksBlob *key, struct HksBlob *rawKey) HksGetRawKeyMaterial() argument 493 HksTranslateKeyInfoBlobToParamSet(const struct HksBlob *key, const struct HksBlob *keyInfoBlob, struct HksParamSet **paramSet) HksTranslateKeyInfoBlobToParamSet() argument [all...] |
| H A D | hks_keynode.c | 452 struct HuksKeyNode *HksCreateKeyNode(const struct HksBlob *key, const struct HksParamSet *paramSet) in HksCreateKeyNode() argument 525 struct HuksKeyNode *HksCreateKeyNode(const struct HksBlob *key, const struct HksParamSet *paramSet) in HksCreateKeyNode() argument [all...] |
| /base/startup/init/simulator/parameter/src/ |
| H A D | parameter_common.c | 59 int GetParameter(const char *key, const char *def, char *value, unsigned int len)
in GetParameter() argument 80 int SetParameter(const char *key, const char *value)
in SetParameter() argument
|
| /base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/ |
| H A D | openssl_ecc_helper.c | 132 int32_t EccGenerateKey(const int keyLen, struct HksBlob *key) in EccGenerateKey() argument 269 EVP_PKEY *key = EVP_PKEY_new(); in InitEccMdCtx() local 158 GetEccModules( const uint8_t *key, uint32_t *keySize, uint32_t *publicXSize, uint32_t *publicYSize, uint32_t *privateXSize) GetEccModules() argument 305 EcdsaSign(const struct HksBlob *key, int digest, const struct HksBlob *message, struct HksBlob *signature) EcdsaSign() argument 347 EVP_PKEY *key = EVP_PKEY_new(); InitEcdsaCtx() local 382 SignVerifyWithDigestNone(const struct HksBlob *key, const struct HksBlob *message, struct HksBlob *signature, bool signing) SignVerifyWithDigestNone() argument 404 EcdsaVerify( const struct HksBlob *key, int digest, const struct HksBlob *message, const struct HksBlob *signature) EcdsaVerify() argument 535 HksBlobToX509(const struct HksBlob *key, struct HksBlob *x509Key) HksBlobToX509() argument 594 GetNativePkey(const struct HksBlob *nativeKey, EVP_PKEY *key) GetNativePkey() argument 608 GetPeerKey(const struct HksBlob *pubKey, EVP_PKEY *key) GetPeerKey() argument [all...] |
| /base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/ |
| H A D | hks_openssl_aes.c | 58 static int32_t OpensslBlockCipherCryptInitParams(const struct HksBlob *key, EVP_CIPHER_CTX *ctx,
in OpensslBlockCipherCryptInitParams() argument 249 int32_t HksOpensslAesGenerateKey(const struct HksKeySpec *spec, struct HksBlob *key)
in HksOpensslAesGenerateKey() argument 86 OpensslBlockCipherCryptInit(const struct HksBlob *key, const struct HksUsageSpec *usageSpec, bool isEncrypt, void **cryptoCtx, const EVP_CIPHER *(*getCipherType)(uint32_t keySize, uint32_t mode)) OpensslBlockCipherCryptInit() argument 347 OpensslAesAeadInit( const struct HksBlob *key, const struct HksUsageSpec *usageSpec, bool isEncrypt, EVP_CIPHER_CTX **ctx) OpensslAesAeadInit() argument 463 OpensslAesAeadCryptSetParam(const struct HksBlob *key, struct HksAeadParam *aeadParam, bool isEncrypt, EVP_CIPHER_CTX *ctx) OpensslAesAeadCryptSetParam() argument 490 OpensslAesAeadCryptInit( const struct HksBlob *key, const struct HksUsageSpec *usageSpec, bool isEncrypt, void **cryptoCtx) OpensslAesAeadCryptInit() argument 678 OpensslAesAeadCipherSetParam(const struct HksBlob *key, const struct HksUsageSpec *spec, const bool isEncrypt, EVP_CIPHER_CTX *ctx) OpensslAesAeadCipherSetParam() argument 717 OpensslAesAeadCipherInit(const struct HksBlob *key, const struct HksUsageSpec *usageSpec, const bool isEncrypt, void **cryptoCtx) OpensslAesAeadCipherInit() argument 874 OpensslAesCipherInit( const struct HksBlob *key, const struct HksUsageSpec *usageSpec, bool isEncrypt, EVP_CIPHER_CTX **ctx) OpensslAesCipherInit() argument 975 HksOpensslAesEncryptInit(void **cryptoCtx, const struct HksBlob *key, const struct HksUsageSpec *usageSpec) HksOpensslAesEncryptInit() argument 1071 HksOpensslAesDecryptInit(void **cryptoCtx, const struct HksBlob *key, const struct HksUsageSpec *usageSpec) HksOpensslAesDecryptInit() argument 1194 HksOpensslAesEncrypt(const struct HksBlob *key, const struct HksUsageSpec *usageSpec, const struct HksBlob *message, struct HksBlob *cipherText, struct HksBlob *tagAead) HksOpensslAesEncrypt() argument 1247 HksOpensslAesDecrypt(const struct HksBlob *key, const struct HksUsageSpec *usageSpec, const struct HksBlob *message, struct HksBlob *plainText) HksOpensslAesDecrypt() argument [all...] |
| /base/telephony/cellular_data/services/src/ |
| H A D | data_connection_manager.cpp | 354 std::string key = linkBandwidths.front(); in GetDefaultBandWidthsConfig() local
|
| /base/telephony/core_service/utils/common/src/ |
| H A D | tel_aes_crypto_util.cpp | 76 int TelAesCryptoUtils::SaveEncryptString(const std::string &key, int32_t id, const std::string &rawData) in SaveEncryptString() argument 83 std::string TelAesCryptoUtils::ObtainDecryptString(const std::string &key, int32_t id, const std::string &defValue) in ObtainDecryptString() argument
|
| /base/telephony/call_manager/services/call_earthquake_alarm/src/ |
| H A D | call_earthquake_alarm_locator.cpp | 264 bool MyLocationEngine::IsSwitchOn(std::string key, std::string& value) in IsSwitchOn() argument
|
| /base/telephony/telephony_data/pdp_profile/src/ |
| H A D | pdp_profile_ability.cpp | 166 std::string PdpProfileAbility::GetQueryKey(const std::string &queryString, const std::string &key) in GetQueryKey() argument 493 int PdpProfileAbility::GetIntFromValuesBucket(OHOS::NativeRdb::ValuesBucket &bucket, const char *key, int &value) in GetIntFromValuesBucket() argument
|
| /base/time/time_service/services/time/src/ |
| H A D | ntp_update_time.cpp | 351 void NtpUpdateTime::ChangeNtpServerCallback(const char *key, const char *value, void *context) in ChangeNtpServerCallback() argument 365 void NtpUpdateTime::ChangeAutoTimeCallback(const char *key, const char *value, void *context) in ChangeAutoTimeCallback() argument
|
| /base/web/webview/ohos_interface/include/ohos_nweb/ |
| H A D | nweb_value.h | 384 bool HasDictionaryValueKey(std::string& key) in HasDictionaryValueKey() argument 396 NWebValue& GetDictionaryValue(std::string& key) in GetDictionaryValue() argument 402 void AddDictionaryValue(std::string key, NWebValue& value) in AddDictionaryValue() argument 408 void DeleteDictionaryValue(std::string& key) in DeleteDictionaryValue() argument
|
| /base/useriam/user_auth_framework/frameworks/native/client/src/ |
| H A D | user_auth_client_impl.cpp | 158 Attributes::AttributeKey key = keys[0]; in SetPropertyInner() local
|
| /base/web/webview/ohos_adapter/system_properties_adapter/src/ |
| H A D | system_properties_adapter_impl.cpp | 43 void SystemPropertiesChangeCallback(const char* key, const char* value, void* context) { in SystemPropertiesChangeCallback() argument 267 void SystemPropertiesAdapterImpl::DispatchAllWatcherInfo(const char* key, const char* value) in DispatchAllWatcherInfo() argument 289 AttachSysPropObserver(PropertiesKey key, SystemPropertiesObserver* observer) AttachSysPropObserver() argument 307 DetachSysPropObserver(PropertiesKey key, SystemPropertiesObserver* observer) DetachSysPropObserver() argument 329 GetBoolParameter(const std::string& key, bool defaultValue) GetBoolParameter() argument [all...] |
| /test/xts/acts/arkui/ace_ets_web_scheme_handler_four_napis/entry/src/main/cpp/ |
| H A D | hello.cpp | 142 char *key; in StartRead() local
|
| /test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
| H A D | searchndk1.cpp | 183 char key[] = "test_search_null";
in Hsearch() local 233 char key[] = "test_search_null";
in HsearchR() local 303 int key; Lfind() local 331 int key = PARAM_5; LSearch() local [all...] |