Home
last modified time | relevance | path

Searched defs:keyInfo (Results 1 – 19 of 19) sorted by relevance

/base/security/huks/services/huks_standard/huks_service/main/core/src/
Dhks_storage_adapter.c25 bool HksIsKeyInfoLenInvalid(struct HksStoreKeyInfo *keyInfo) in HksIsKeyInfoLenInvalid()
33 static int32_t AddStorageFixedParams(const struct HksStoreKeyInfo *keyInfo, struct HksParamSet *par… in AddStorageFixedParams()
80 struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)keyInfoBlob->data; in AddStorageParams() local
Dhks_storage_lite.c363 struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)tmpBuf; in GetKeyOffsetByKeyAlias() local
473 …struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)(g_storageImageBuffer.data + keyOffset… in DeleteKey() local
502 … struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)(g_storageImageBuffer.data + offset); in StoreKeyBlob() local
635 … struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)(g_storageImageBuffer.data + offset); in HksStoreDeleteKeyBlob() local
686 struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)tmpBuf; in HksStoreGetKeyBlob() local
713 … struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)(g_storageImageBuffer.data + offset); in HksStoreGetKeyBlobSize() local
745 struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)keyInfoBlob->data; in GetKeyInfoList() local
823 struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)tmpBuf; in HksStoreGetKeyInfoList() local
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_keyblob_lite.c105 struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)cipherKey->data; in BuildKeyBlobUsageSpec() local
141 struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)cipherKey->data; in EncryptAndDecryptKeyBlob() local
272 struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)key->data; in GetRawKeyMaterial() local
340 struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)keyOut->data; in FillBaseInfo() local
394 struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)keyOut->data; in FillStoreKeyInfo() local
Dhks_keyblob.c279 static int32_t InitKeyBlobInfo(const struct HksBlob *key, struct HksBlob *keyInfo) in InitKeyBlobInfo()
308 static int32_t AddCoreServiceParams(const struct HksBlob *keyInfo, enum HksKeyFlag keyFlag, in AddCoreServiceParams()
/base/security/device_auth/services/protocol/src/pake_protocol/pake_v1_protocol/
Dpake_v1_protocol_common.c194 Uint8Buff keyInfo = { (uint8_t *)HICHAIN_SPEKE_BASE_INFO, HcStrlen(HICHAIN_SPEKE_BASE_INFO) }; in GeneratePakeParams() local
226 …Uint8Buff keyInfo = { (uint8_t *)HICHAIN_SPEKE_SESSIONKEY_INFO, HcStrlen(HICHAIN_SPEKE_SESSIONKEY_… in DeriveKeyFromSharedSecret() local
/base/security/device_auth/services/authenticators/src/account_unrelated/pake_task/pake_v1_task/pake_v1_protocol_task/
Dpake_v1_protocol_task_common.c162 Uint8Buff keyInfo = { (uint8_t *)TMP_AUTH_KEY_FACTOR, strlen(TMP_AUTH_KEY_FACTOR) }; in FillPskWithDerivedKeyHex() local
/base/security/huks/test/unittest/huks_standard_test/module_test/interface_test/src/
Dhks_native_api_compatibility_test.cpp832 struct OH_Huks_KeyInfo keyInfo; variable
/base/security/huks/test/unittest/huks_standard_test/module_test/service_test/huks_service/core/src/
Dhks_client_check_test.cpp128 struct HksKeyInfo keyInfo; variable
160 struct HksKeyInfo keyInfo; variable
/base/security/huks/test/unittest/huks_lite_test/liteos_m_adapter/
Dhks_safe_cipher_key_test.c78 struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)tmpBuf; in GetKeyOffsetByKeyAlias() local
Dhks_safe_compare_key_test.c139 struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)tmpBuf; in GetKeyOffsetByKeyAlias() local
/base/security/device_auth/services/protocol/src/pake_protocol/pake_v2_protocol/
Dpake_v2_protocol_common.c182 Uint8Buff keyInfo = { (uint8_t *)HICHAIN_SPEKE_BASE_INFO, HcStrlen(HICHAIN_SPEKE_BASE_INFO) }; in GeneratePakeParams() local
568 …Uint8Buff keyInfo = { (uint8_t *)HICHAIN_SPEKE_SESSIONKEY_INFO, HcStrlen(HICHAIN_SPEKE_SESSIONKEY_… in GenerateSessionKey() local
/base/security/device_auth/services/authenticators/src/account_unrelated/pake_task/
Dpake_task_common.c67 Uint8Buff keyInfo = { (uint8_t *)HICHAIN_RETURN_KEY, strlen(HICHAIN_RETURN_KEY) }; in GenerateOutputKey() local
/base/security/device_auth/services/mk_agree/src/
Dkey_manager.c156 Uint8Buff keyInfo = { (uint8_t *)MK_DERIVE_INFO, HcStrlen(MK_DERIVE_INFO) }; in KeyDerivation() local
/base/security/device_auth/services/session_manager/src/session/v2/auth_sub_session/protocol_lib/
Dec_speke_protocol.c203 Uint8Buff keyInfo = { (uint8_t *)HICHAIN_SPEKE_BASE_INFO, HcStrlen(HICHAIN_SPEKE_BASE_INFO) }; in CalSecret() local
639 …Uint8Buff keyInfo = { (uint8_t *)HICHAIN_SPEKE_SESSIONKEY_INFO, HcStrlen(HICHAIN_SPEKE_SESSIONKEY_… in CalSessionKey() local
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/mini/
Dhuks_adapter.c244 …atic int32_t ComputeHkdf(const Uint8Buff *baseKey, const Uint8Buff *salt, const Uint8Buff *keyInfo, in ComputeHkdf()
/base/security/device_auth/services/creds_manager/src/
Dcreds_manager.c618 Uint8Buff keyInfo = { (uint8_t *)TMP_AUTH_KEY_FACTOR, strlen(TMP_AUTH_KEY_FACTOR) }; in GetSharedSecretForP2pInPake() local
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/small/
Dhuks_adapter.c224 …atic int32_t ComputeHkdf(const Uint8Buff *baseKey, const Uint8Buff *salt, const Uint8Buff *keyInfo, in ComputeHkdf()
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/standard/
Dhuks_adapter.c226 …atic int32_t ComputeHkdf(const Uint8Buff *baseKey, const Uint8Buff *salt, const Uint8Buff *keyInfo, in ComputeHkdf()
/base/security/huks/frameworks/huks_standard/main/common/src/
Dhks_base_check.c810 struct HksStoreKeyInfo *keyInfo = (struct HksStoreKeyInfo *)key->data; in CheckAndGetKeySize() local