Home
last modified time | relevance | path

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

/base/security/huks/services/huks_standard/huks_engine/main/core/src/
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()
430 struct HuksKeyNode *HksCreateBatchKeyNode(const struct HuksKeyNode *keyNode, const struct HksParamS… in HksCreateBatchKeyNode()
454 struct HuksKeyNode *keyNode = (struct HuksKeyNode *)HksMalloc(sizeof(struct HuksKeyNode)); in HksCreateKeyNode() local
506 struct HksParamSet **keyblobParamSet, struct HuksKeyNode *keyNode) in FreeParamsForBuildKeyNode()
[all …]
Dhks_core_service_three_stage.c219 static int32_t SignVerifyAuth(const struct HuksKeyNode *keyNode, const struct HksParamSet *paramSet) in SignVerifyAuth()
244 static int32_t AgreeAuth(const struct HuksKeyNode *keyNode, const struct HksParamSet *paramSet) in AgreeAuth()
257 static int32_t HmacAuth(const struct HuksKeyNode *keyNode, const struct HksParamSet *paramSet) in HmacAuth()
271 static int32_t CipherAuth(const struct HuksKeyNode *keyNode, const struct HksParamSet *paramSet) in CipherAuth()
287 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()
363 static int32_t UpdateCachedData(const struct HuksKeyNode *keyNode, const struct HksBlob *srcData) in UpdateCachedData()
401 static int32_t FinishCachedData(const struct HuksKeyNode *keyNode, const struct HksBlob *srcData, in FinishCachedData()
420 static int32_t CheckCachedDataMaxSize(const struct HuksKeyNode *keyNode, const struct HksBlob *inDa… in CheckCachedDataMaxSize()
[all …]
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()
281 …c int32_t HksAddBatchTimeToKeyNode(const struct HksParamSet *paramSet, struct HuksKeyNode *keyNode) in HksAddBatchTimeToKeyNode()
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
[all …]
Dhks_secure_access.c59 struct HuksKeyNode *keyNode; member
284 static int32_t HksVerifyKeyChallenge(const struct HuksKeyNode *keyNode, const struct HksUserAuthTok… in HksVerifyKeyChallenge()
303 static int32_t HksVerifyKeyTimestamp(const struct HuksKeyNode *keyNode, const struct HksUserAuthTok… in HksVerifyKeyTimestamp()
390 static int32_t VerifyCustomChallenge(const struct HuksKeyNode *keyNode, const struct HksUserAuthTok… in VerifyCustomChallenge()
399 static int32_t VerifyNormalChallenge(const struct HuksKeyNode *keyNode, const struct HksUserAuthTok… in VerifyNormalChallenge()
404 static int32_t VerifyChallengeOrTimeStamp(const struct HuksKeyNode *keyNode, const struct HksUserAu… in VerifyChallengeOrTimeStamp()
506 static int32_t VerifyAuthTokenInfo(const struct HuksKeyNode *keyNode, const struct HksUserAuthToken… in VerifyAuthTokenInfo()
540 static int32_t HksAddVerifiedAuthTokenIfNeed(struct HuksKeyNode *keyNode, in HksAddVerifiedAuthTokenIfNeed()
591 static int32_t CheckIfNeedVerifyParams(const struct HuksKeyNode *keyNode, bool *isNeedVerify, in CheckIfNeedVerifyParams()
616 …AssignVerifyResultAndFree(int32_t outRet, struct HksParam *authResult, struct HuksKeyNode *keyNode, in AssignVerifyResultAndFree()
[all …]
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
Dhks_core_service_key_attest.c89 struct HksKeyNode *keyNode = HksGenerateKeyNode(key); in HksCoreAttestKey() local
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()
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()
Dhks_keyblob.c61 void HksFreeKeyNode(struct HksKeyNode **keyNode) in HksFreeKeyNode()
434 struct HksKeyNode *keyNode = (struct HksKeyNode *)HksMalloc(sizeof(struct HksKeyNode)); in HksGenerateKeyNode() local
Dhks_upgrade_key.c298 struct HksKeyNode *keyNode = NULL; in HksUpgradeKey() local
Dhks_keyblob_lite.c307 struct HksKeyNode *keyNode = (struct HksKeyNode *)HksMalloc(sizeof(struct HksKeyNode)); in HksGenerateKeyNode() local
Dhks_core_service_key_generate.c130 struct HksKeyNode *keyNode = HksGenerateKeyNode(&tempKey); in GetAgreeBaseKey() local
/base/security/huks/test/unittest/huks_standard_test/module_test/service_test/huks_engine/core/src/
Dhks_keynode_test.cpp80 struct HuksKeyNode *keyNode = HksCreateKeyNode(nullptr, paramSet); variable
121 struct HuksKeyNode *keyNode = reinterpret_cast<HuksKeyNode *>(HksMalloc(sizeof(HuksKeyNode))); variable
Dhks_keyblob_test.cpp181 struct HksKeyNode *keyNode = HksGenerateKeyNode(&keyBlob); variable
Dhks_secure_access_test.cpp390 struct HuksKeyNode keyNode = { { nullptr, nullptr }, paramSet, nullptr, nullptr, 0 }; variable