Home
last modified time | relevance | path

Searched defs:keyNode (Results 1 – 16 of 16) sorted by relevance

/ohos5.0/base/security/huks/services/huks_standard/huks_engine/main/core/src/
H A Dhks_keynode.c220 static void DeleteKeyNodeFree(struct HuksKeyNode *keyNode) in DeleteKeyNodeFree()
280 struct HuksKeyNode *keyNode = NULL; in HksCheckUniqueHandle() local
319 struct HuksKeyNode *keyNode = NULL; in DeleteFirstTimeOutBatchKeyNode() local
352 struct HuksKeyNode *keyNode = NULL; in DeleteFirstKeyNodeForTokenId() local
373 struct HuksKeyNode *keyNode = NULL; in DeleteKeyNodeForTokenIdIfExceedLimit() local
391 struct HuksKeyNode *keyNode = NULL; in DeleteFirstKeyNode() local
400 static int32_t AddKeyNode(struct HuksKeyNode *keyNode, uint32_t tokenId) in AddKeyNode()
506 struct HksParamSet **keyblobParamSet, struct HuksKeyNode *keyNode) in FreeParamsForBuildKeyNode()
567 struct HuksKeyNode *keyNode = NULL; in HksQueryKeyNode() local
581 struct HuksKeyNode *keyNode = NULL; in HksDeleteKeyNode() local
[all …]
H A Dhks_core_service_three_stage.c287 static void *GetCryptoCtx(const struct HuksKeyNode *keyNode) in GetCryptoCtx()
295 static void ClearCryptoCtx(const struct HuksKeyNode *keyNode) in ClearCryptoCtx()
307 static int32_t SetCacheModeCtx(const struct HuksKeyNode *keyNode) in SetCacheModeCtx()
551 static void FreeSignVerifyCtx(const struct HuksKeyNode *keyNode) in FreeSignVerifyCtx()
708 static int32_t CoreCipherInit(const struct HuksKeyNode *keyNode) in CoreCipherInit()
779 static int32_t AppendNonceWhenNeeded(const struct HuksKeyNode *keyNode, in AppendNonceWhenNeeded()
807 static int32_t CoreAesEncryptFinish(const struct HuksKeyNode *keyNode, in CoreAesEncryptFinish()
850 static int32_t CoreAesDecryptFinish(const struct HuksKeyNode *keyNode, in CoreAesDecryptFinish()
934 static int32_t CoreAesCipherInit(const struct HuksKeyNode *keyNode) in CoreAesCipherInit()
995 static int32_t CoreSm4EncryptFinish(const struct HuksKeyNode *keyNode, in CoreSm4EncryptFinish()
[all …]
H A Dhks_core_service_key_operate_three_stage.c164 static int32_t HksBatchCheck(struct HuksKeyNode *keyNode) in HksBatchCheck()
185 static int32_t HksCoreInitProcess(const struct HuksKeyNode *keyNode, const struct HksParamSet *para… in HksCoreInitProcess()
209 static int32_t HksCoreUpdateProcess(struct HuksKeyNode *keyNode, const struct HksParamSet *paramSet, in HksCoreUpdateProcess()
243 static int32_t HksCoreFinishProcess(struct HuksKeyNode *keyNode, const struct HksParamSet *paramSet, in HksCoreFinishProcess()
334 struct HuksKeyNode *keyNode = HksCreateKeyNode(key, paramSet); in HksCoreInit() local
373 struct HuksKeyNode **keyNode) in GetParamsForUpdateAndFinish()
389 static int32_t HksCheckBatchUpdateTime(struct HuksKeyNode *keyNode) in HksCheckBatchUpdateTime()
404 static int32_t HksBatchUpdate(struct HuksKeyNode *keyNode, const struct HksParamSet *paramSet, in HksBatchUpdate()
453 struct HuksKeyNode *keyNode = NULL; in HksCoreUpdate() local
503 struct HuksKeyNode *keyNode = NULL; in HksCoreFinish() local
[all …]
H A Dhks_secure_access.c59 struct HuksKeyNode *keyNode; member
540 static int32_t HksAddVerifiedAuthTokenIfNeed(struct HuksKeyNode *keyNode, in HksAddVerifiedAuthTokenIfNeed()
636 static int32_t GetUserAuthResult(const struct HuksKeyNode *keyNode, int32_t *authResult) in GetUserAuthResult()
741 static int32_t DoAppendPrefixAuthInfoToUpdateInData(const struct HuksKeyNode *keyNode, in DoAppendPrefixAuthInfoToUpdateInData()
819 static int32_t DoAppendPrefixDataToFinishData(const struct HuksKeyNode *keyNode, in DoAppendPrefixDataToFinishData()
962 int32_t HksCoreAppendAuthInfoBeforeUpdate(struct HuksKeyNode *keyNode, uint32_t pur, in HksCoreAppendAuthInfoBeforeUpdate()
1004 int32_t HksCoreAppendAuthInfoBeforeFinish(struct HuksKeyNode *keyNode, uint32_t pur, in HksCoreAppendAuthInfoBeforeFinish()
1010 int32_t HksCoreAppendAuthInfoAfterFinish(struct HuksKeyNode *keyNode, uint32_t pur, in HksCoreAppendAuthInfoAfterFinish()
1065 int32_t HksCoreAppendAuthInfoBeforeUpdate(struct HuksKeyNode *keyNode, uint32_t pur, in HksCoreAppendAuthInfoBeforeUpdate()
1076 int32_t HksCoreAppendAuthInfoBeforeFinish(struct HuksKeyNode *keyNode, uint32_t pur, in HksCoreAppendAuthInfoBeforeFinish()
[all …]
H A Dhks_core_service_key_operate_one_stage.c60 static int32_t CipherAuth(const struct HksKeyNode *keyNode, const struct HksParamSet *paramSet) in CipherAuth()
75 static int32_t SignVerifyAuth(const struct HksKeyNode *keyNode, const struct HksParamSet *paramSet) in SignVerifyAuth()
145 static int32_t SignVerifyPreCheck(const struct HksKeyNode *keyNode, const struct HksParamSet *param… in SignVerifyPreCheck()
160 struct HksKeyNode *keyNode = HksGenerateKeyNode(key); in SignVerify() local
196 static int32_t CipherPreCheck(const struct HksKeyNode *keyNode, const struct HksParamSet *paramSet) in CipherPreCheck()
225 struct HksKeyNode *keyNode = HksGenerateKeyNode(key); in Cipher() local
289 struct HksKeyNode *keyNode = HksGenerateKeyNode(key); in HksCheckKeyValidity() local
312 struct HksKeyNode *keyNode = HksGenerateKeyNode(key); in HksCoreExportPublicKey() local
377 struct HksKeyNode *keyNode = HksGenerateKeyNode(mainKey); in HksCoreDeriveKey() local
411 struct HksKeyNode *keyNode = HksGenerateKeyNode(key); in HksCoreMac() local
H A Dhks_core_service_key_attest.c89 struct HksKeyNode *keyNode = HksGenerateKeyNode(key); in HksCoreAttestKey() local
H A Dhks_auth.c155 int32_t HksAuth(uint32_t authId, const struct HksKeyNode *keyNode, const struct HksParamSet *paramS… in HksAuth()
177 int32_t HksThreeStageAuth(uint32_t authId, const struct HuksKeyNode *keyNode) in HksThreeStageAuth()
H A Dhks_sm_import_wrap_key.c104 …2_t GetPublicKeyAndSignDataLength(const struct HksBlob *wrappedKeyData, struct HksKeyNode *keyNode, in GetPublicKeyAndSignDataLength()
179 struct HksKeyNode *keyNode, struct HksSmWrappedKeyDataBlob *dataParams, uint32_t *partOffset) in DecryptKekWithSm2()
480 struct HksKeyNode *keyNode, const struct HksBlob *wrappedKeyData, struct HksBlob *keyOut) in HksSmImportWrappedKeyWithVerify()
524 struct HksKeyNode *keyNode, const struct HksBlob *wrappedKeyData, struct HksBlob *keyOut) in HksSmImportWrappedKeyWithoutVerify()
H A Dhks_keyblob.c61 void HksFreeKeyNode(struct HksKeyNode **keyNode) in HksFreeKeyNode()
434 struct HksKeyNode *keyNode = (struct HksKeyNode *)HksMalloc(sizeof(struct HksKeyNode)); in HksGenerateKeyNode() local
H A Dhks_upgrade_key.c298 struct HksKeyNode *keyNode = NULL; in HksUpgradeKey() local
H A Dhks_keyblob_lite.c307 struct HksKeyNode *keyNode = (struct HksKeyNode *)HksMalloc(sizeof(struct HksKeyNode)); in HksGenerateKeyNode() local
H A Dhks_core_service_key_generate.c130 struct HksKeyNode *keyNode = HksGenerateKeyNode(&tempKey); in GetAgreeBaseKey() local
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/module_test/service_test/huks_engine/core/src/
H A Dhks_keynode_test.cpp80 struct HuksKeyNode *keyNode = HksCreateKeyNode(nullptr, paramSet); variable
121 struct HuksKeyNode *keyNode = reinterpret_cast<HuksKeyNode *>(HksMalloc(sizeof(HuksKeyNode))); variable
H A Dhks_keyblob_test.cpp181 struct HksKeyNode *keyNode = HksGenerateKeyNode(&keyBlob); variable
H A Dhks_secure_access_test.cpp390 struct HuksKeyNode keyNode = { { nullptr, nullptr }, paramSet, nullptr, nullptr, 0 }; variable
/ohos5.0/drivers/hdf_core/framework/model/input/driver/
H A Dinput_config_parser.c69 const struct DeviceResourceNode *keyNode = node; in ParseKeyConfig() local