Home
last modified time | relevance | path

Searched defs:key (Results 1 – 25 of 54) sorted by relevance

123

/drivers/peripheral/battery/interfaces/hdi_service/test/systemtest/src/
Dbattery_sys_test.cpp85 std::string key = "soc.warning"; variable
104 std::string key = "temperature.high"; variable
124 std::string key = "temperature.low"; variable
144 std::string key = "soc.shutdown"; variable
163 std::string key = "soc.low"; variable
/drivers/peripheral/pin_auth/test/uinttest/pin_auth/adaptor/src/
Dadaptor_algorithm_test.cpp175 Buffer *key = CreateBufferBySize(10); variable
196 Buffer *key = CreateBufferBySize(AES256_KEY_SIZE); variable
229 Buffer *key = DeriveDeviceKey(pinData, secret); variable
253 Buffer *key = Hkdf(salt, rootKey); variable
273 Buffer *key = Sha256Adaptor(data); variable
/drivers/peripheral/huks/hdi_service/
Dhuks_hdi_passthrough_adapter.c72 int32_t HuksHdiAdapterImportKey(const struct HksBlob *keyAlias, const struct HksBlob *key, in HuksHdiAdapterImportKey()
94 int32_t HuksHdiAdapterExportPublicKey(const struct HksBlob *key, const struct HksParamSet *paramSet, in HuksHdiAdapterExportPublicKey()
105 int32_t HuksHdiAdapterInit(const struct HksBlob *key, const struct HksParamSet *paramSet, in HuksHdiAdapterInit()
148 …t32_t HuksHdiAdapterGetKeyProperties(const struct HksParamSet *paramSet, const struct HksBlob *key) in HuksHdiAdapterGetKeyProperties()
158 int32_t HuksHdiAdapterSign(const struct HksBlob *key, const struct HksParamSet *paramSet, in HuksHdiAdapterSign()
169 int32_t HuksHdiAdapterVerify(const struct HksBlob *key, const struct HksParamSet *paramSet, in HuksHdiAdapterVerify()
180 int32_t HuksHdiAdapterEncrypt(const struct HksBlob *key, const struct HksParamSet *paramSet, in HuksHdiAdapterEncrypt()
191 int32_t HuksHdiAdapterDecrypt(const struct HksBlob *key, const struct HksParamSet *paramSet, in HuksHdiAdapterDecrypt()
224 int32_t HuksHdiAdapterMac(const struct HksBlob *key, const struct HksParamSet *paramSet, in HuksHdiAdapterMac()
246 int32_t HuksHdiAdapterAttestKey(const struct HksBlob *key, const struct HksParamSet *paramSet, in HuksHdiAdapterAttestKey()
Dhuks_hdi_template.h60 #define HDI_CONVERTER_FUNC_IMPORTKEY(keyAlias, key, paramSet, keyOut, ret, func) \ argument
75 #define HDI_CONVERTER_FUNC_IMPORTWRAPPEDKEY(wrappedKeyAlias, key, wrappedKeyData, paramSet, keyOut,… argument
93 #define HDI_CONVERTER_FUNC_EXPORTPUBLICKEY(key, paramSet, keyOut, ret, func) \ argument
105 #define HDI_CONVERTER_FUNC_INIT(key, paramSet, handle, token, ret, func) \ argument
159 #define HDI_CONVERTER_FUNC_CHECKKEYVALIDITY(paramSet, key, ret, func) \ argument
167 #define HDI_CONVERTER_FUNC_ATTESTKEY(key, paramSet, certChain, ret, func) \ argument
188 #define HDI_CONVERTER_FUNC_SIGN(key, paramSet, srcData, signature, ret, func) \ argument
203 #define HDI_CONVERTER_FUNC_VERIFY(key, paramSet, srcData, signature, ret, func) \ argument
217 #define HDI_CONVERTER_FUNC_ENCRYPT(key, paramSet, plainText, cipherText, ret, func) \ argument
232 #define HDI_CONVERTER_FUNC_DECRYPT(key, paramSet, cipherText, plainText, ret, func) \ argument
[all …]
/drivers/peripheral/user_auth/hdi_service/common/src/
Dattribute.c103 IAM_STATIC ResultCode GetAttributeIndex(AttributeKey key, uint32_t *index) in GetAttributeIndex()
297 ResultCode GetAttributeUint32(const Attribute *attribute, AttributeKey key, uint32_t *value) in GetAttributeUint32()
312 ResultCode SetAttributeUint32(Attribute *attribute, AttributeKey key, const uint32_t value) in SetAttributeUint32()
324 ResultCode GetAttributeInt32(const Attribute *attribute, AttributeKey key, int32_t *retValue) in GetAttributeInt32()
332 ResultCode SetAttributeInt32(Attribute *attribute, AttributeKey key, const int32_t value) in SetAttributeInt32()
339 ResultCode GetAttributeUint64(const Attribute *attribute, AttributeKey key, uint64_t *retValue) in GetAttributeUint64()
354 ResultCode SetAttributeUint64(Attribute *attribute, AttributeKey key, const uint64_t value) in SetAttributeUint64()
366 ResultCode GetAttributeUint8Array(const Attribute *attributePub, AttributeKey key, Uint8Array *retD… in GetAttributeUint8Array()
395 ResultCode SetAttributeUint8Array(Attribute *attributePub, AttributeKey key, const Uint8Array data) in SetAttributeUint8Array()
416 ResultCode GetAttributeUint64Array(const Attribute *attribute, AttributeKey key, Uint64Array *retDa… in GetAttributeUint64Array()
[all …]
/drivers/hdf_core/framework/utils/src/
Dhdf_map.c21 void *key; member
94 static struct MapNode *MapCreateNode(const char *key, uint32_t hash, in MapCreateNode()
119 static int32_t MapSetCheckPara(const Map *map, const char *key, const void *value, uint32_t valueSi… in MapSetCheckPara()
132 int32_t MapSet(Map *map, const char *key, const void *value, uint32_t valueSize) in MapSet()
187 void* MapGet(const Map *map, const char *key) in MapGet()
212 int32_t MapErase(Map *map, const char *key) in MapErase()
Dhdf_cstring.c16 uint32_t HdfStringMakeHashKey(const char *key, uint32_t mask) in HdfStringMakeHashKey()
/drivers/peripheral/pin_auth/hdi_service/adaptor/src/
Dadaptor_algorithm.c97 EVP_PKEY *key = NULL; in GenerateEd25519KeyPair() local
145 EVP_PKEY *key = EVP_PKEY_new_raw_private_key(EVP_PKEY_ED25519, NULL, in Ed25519Sign() local
190 …EVP_PKEY *key = EVP_PKEY_new_raw_public_key(EVP_PKEY_ED25519, NULL, pubKey->buf, pubKey->contentSi… in Ed25519Verify() local
373 static int32_t DoAes256GcmEncryptNoPadding(const Buffer *plaintext, const Buffer *key, Buffer *ciph… in DoAes256GcmEncryptNoPadding()
420 Buffer *Aes256GcmEncryptNoPadding(const Buffer *plaintext, const Buffer *key) in Aes256GcmEncryptNoPadding()
514 static int32_t DoAes256GcmDecryptNoPadding(const Buffer *cipherInfo, const Buffer *key, Buffer *pla… in DoAes256GcmDecryptNoPadding()
546 Buffer *Aes256GcmDecryptNoPadding(const Buffer *cipherInfo, const Buffer *key) in Aes256GcmDecryptNoPadding()
588 Buffer *key = CreateBufferBySize(SHA256_DIGEST_SIZE); in Hkdf() local
/drivers/peripheral/user_auth/hdi_service/key_mgr/src/
Dtoken_key.c25 ResultCode GetTokenKey(HksAuthTokenKey *key) in GetTokenKey()
/drivers/peripheral/huks/test/unittest/
Dhdi_ihuks_api_function_test.cpp273 struct HuksBlob key = { variable
307 struct HuksBlob key = { variable
338 struct HuksBlob key = { variable
380 struct HuksBlob key = { variable
/drivers/peripheral/audio/test/unittest/common/adapter/
Daudio_adapter_common_test.cpp448 enum AudioExtParamKey key = AUDIO_EXT_PARAM_KEY_NONE; variable
454 enum AudioExtParamKey key = AUDIO_EXT_PARAM_KEY_NONE; variable
462 enum AudioExtParamKey key = AUDIO_EXT_PARAM_KEY_LOWPOWER; variable
471 enum AudioExtParamKey key = AUDIO_EXT_PARAM_KEY_NONE; variable
478 enum AudioExtParamKey key = AUDIO_EXT_PARAM_KEY_NONE; variable
487 enum AudioExtParamKey key = AUDIO_EXT_PARAM_KEY_NONE; variable
/drivers/peripheral/battery/interfaces/hdi_service/src/
Dbattery_config.cpp90 int32_t BatteryConfig::GetInt(std::string key, int32_t defVal) const in GetInt()
96 std::string BatteryConfig::GetString(std::string key, std::string defVal) const in GetString()
182 bool BatteryConfig::SplitKey(const std::string& key, std::vector<std::string>& keys) const in SplitKey() argument
/drivers/peripheral/huks/test/fuzztest/generatekeyfuzz/
Dhuks_hdi_fuzzer.cpp48 struct HksBlob key = { in DoSomethingInterestingWithMyAPI() local
/drivers/peripheral/user_auth/hdi_service/adaptor/src/
Dadaptor_algorithm.c104 EVP_PKEY *key = NULL; in GenerateEd25519KeyPair() local
152 EVP_PKEY *key = EVP_PKEY_new_raw_private_key(EVP_PKEY_ED25519, NULL, in Ed25519Sign() local
197 …EVP_PKEY *key = EVP_PKEY_new_raw_public_key(EVP_PKEY_ED25519, NULL, pubKey->buf, pubKey->contentSi… in Ed25519Verify() local
/drivers/peripheral/huks/test/fuzztest/importwrappedkeyfuzz/
Dhuks_hdi_fuzzer.cpp50 struct HksBlob key = { in DoSomethingInterestingWithMyAPI() local
/drivers/liteos/hievent/src/
Dhiview_hievent.c73 char *key; member
122 const char *key) in HiviewHieventGetPayload()
171 const char *key, long value) in HiviewHieventPutIntegral()
210 const char *key, const char *value) in HiviewHieventPutString()
/drivers/hdf_core/framework/core/shared/include/
Dhdf_service_record.h17 uint32_t key; member
/drivers/peripheral/user_auth/hdi_service/adaptor/inc/
Dadaptor_algorithm.h38 Buffer *key; member
/drivers/peripheral/huks/test/fuzztest/initfuzz/
Dhuks_hdi_fuzzer.cpp46 struct HksBlob key = { SIZE_KEY, myData }; in DoSomethingInterestingWithMyAPI() local
/drivers/peripheral/format/interfaces/include/
Dparameter_item.h66 uint32_t key; /**< Key type. For details, see {@link KeyType} */ member
/drivers/peripheral/thermal/interfaces/hdi_service/src/
Dthermal_dfx.cpp360 void ThermalDfx::InfoChangedCallback(const char* key, const char* value, void* context) in InfoChangedCallback()
399 int32_t ThermalDfx::GetIntParameter(const std::string& key, const int32_t def, const int32_t minVal… in GetIntParameter()
405 bool ThermalDfx::GetBoolParameter(const std::string& key, const bool def) in GetBoolParameter()
/drivers/peripheral/user_auth/hdi_service/user_auth/src/
Duser_sign_centre.c54 …const Buffer key = GetTmpBuffer(tokenKey->macKey, sizeof(tokenKey->macKey), sizeof(tokenKey->macKe… in UserAuthTokenSign() local
129 …const Buffer key = GetTmpBuffer(tokenKey->macKey, sizeof(tokenKey->macKey), sizeof(tokenKey->macKe… in CheckUserAuthTokenHmac() local
/drivers/hdf_core/adapter/uhdf2/manager/src/
Ddevmgr_uevent.c59 char *key; member
412 struct DevMgrMatchKey *key = NULL; in DevMgrUeventMatchRule() local
474 struct DevMgrMatchKey *key = NULL; in DevMgrParseUevent() local
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/src/
Daudio_adapter.cpp492 int32_t AudioAdapterSetExtraParams(struct AudioAdapter *adapter, enum AudioExtParamKey key, in AudioAdapterSetExtraParams()
502 int32_t AudioAdapterGetExtraParams(struct AudioAdapter *adapter, enum AudioExtParamKey key, in AudioAdapterGetExtraParams()
/drivers/peripheral/audio/hdi_service/primary_impl/vendor_src/
Daudio_adapter_vendor.c454 int32_t AudioHwiSetExtraParams(struct IAudioAdapter *adapter, enum AudioExtParamKey key, const char… in AudioHwiSetExtraParams()
474 int32_t AudioHwiGetExtraParams(struct IAudioAdapter *adapter, enum AudioExtParamKey key, const char… in AudioHwiGetExtraParams()
495 static int32_t AudioHwiParamHwiCallback(enum AudioHwiExtParamKey key, const char *condition, const … in AudioHwiParamHwiCallback()

123