Home
last modified time | relevance | path

Searched refs:TOKEN_SIZE (Results 1 – 6 of 6) sorted by relevance

/base/security/huks/frameworks/huks_standard/main/os_dependency/ipc/src/
Dhks_client_service_ipc.c567 uint8_t *tmpOut = (uint8_t *)HksMalloc(HANDLE_SIZE + TOKEN_SIZE); in ClientInit()
569 struct HksBlob outBlob = { HANDLE_SIZE + TOKEN_SIZE, tmpOut }; in ClientInit()
585 if (outBlob.size < (HANDLE_SIZE + TOKEN_SIZE)) { in ClientInit()
590 if (token->size < TOKEN_SIZE) { in ClientInit()
596 ret = CopyData(outBlob.data + HANDLE_SIZE, TOKEN_SIZE, token); in ClientInit()
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_secure_access.c83 if (innerParams->outToken->size < TOKEN_SIZE) { in CheckChallengeTypeValidity()
192 if (token->size >= TOKEN_SIZE) { in AssignToken()
255 uint8_t challenge[TOKEN_SIZE] = {0}; in BuildAuthRuntimeParamSet()
256 struct HksBlob challengeBlob = { TOKEN_SIZE, challenge }; in BuildAuthRuntimeParamSet()
397 return HksVerifyKeyChallenge(keyNode, authToken, 0, TOKEN_SIZE); in VerifyNormalChallenge()
/base/security/huks/interfaces/kits/c/include/
Dnative_huks_type.h61 #define TOKEN_SIZE 32 macro
/base/security/huks/interfaces/inner_api/huks_standard/main/include/
Dhks_type.h71 #define TOKEN_SIZE 32 macro
752 uint8_t challenge[TOKEN_SIZE];
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_access_control_secure_sign_test.cpp838 uint8_t tmpChallenge[TOKEN_SIZE] = {0}; in HksTestUpdateFinishSignAuthInfo()
919 uint8_t tmpChallenge[TOKEN_SIZE] = {0}; in HksTestUpdateFinishVerifySignAuthInfo()
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/idl/ipc/
Dhks_ipc_service.c619 uint8_t tokenData[TOKEN_SIZE] = {0}; in IpcServiceInit()
626 if ((handle.size != HANDLE_SIZE) || (token.size > TOKEN_SIZE)) { in IpcServiceInit()