Searched refs:UserAuthTokenHal (Results 1 – 16 of 16) sorted by relevance
/drivers/peripheral/user_auth/test/unittest/user_auth_test/ |
D | user_sign_centre_test.cpp | 26 extern bool IsTimeValid(const UserAuthTokenHal *userAuthToken); 27 …extern ResultCode UserAuthTokenSign(UserAuthTokenHal *userAuthToken, HksAuthTokenKey *authTokenKey… 28 …extern ResultCode GetTokenDataCipherResult(const TokenDataToEncrypt *data, UserAuthTokenHal *authT… 30 …extern ResultCode DecryptTokenCipher(const UserAuthTokenHal *userAuthToken, UserAuthTokenPlain *to… 32 extern ResultCode CheckUserAuthTokenHmac(const UserAuthTokenHal *userAuthToken); 63 UserAuthTokenHal token = {}; 74 UserAuthTokenHal token = {}; 90 UserAuthTokenHal token = { 125 UserAuthTokenHal userAuthToken = {}; 134 UserAuthTokenHal userAuthToken = {}; [all …]
|
D | identify_funcs_test.cpp | 59 UserAuthTokenHal token = {};
|
D | user_auth_funcs_test.cpp | 62 UserAuthTokenHal token = {};
|
/drivers/peripheral/user_auth/hdi_service/user_auth/inc/ |
D | user_sign_centre.h | 30 #define AUTH_TOKEN_LEN sizeof(UserAuthTokenHal) 58 } __attribute__((__packed__)) UserAuthTokenHal; typedef 66 uint64_t credentialId, uint32_t authMode, UserAuthTokenHal *authToken); 67 ResultCode UserAuthTokenVerify(UserAuthTokenHal *userAuthToken, UserAuthTokenPlain *tokenPlain);
|
D | identify_funcs.h | 29 …dentify(uint64_t contextId, const Buffer *scheduleResult, int32_t *userId, UserAuthTokenHal *token,
|
D | user_auth_funcs.h | 37 ResultCode RequestAuthResultFunc(uint64_t contextId, const Buffer *scheduleResult, UserAuthTokenHal…
|
/drivers/peripheral/user_auth/hdi_service/user_auth/src/ |
D | user_sign_centre.c | 37 IAM_STATIC bool IsTimeValid(const UserAuthTokenHal *userAuthToken) in IsTimeValid() 49 IAM_STATIC ResultCode UserAuthTokenSign(UserAuthTokenHal *userAuthToken, HksAuthTokenKey *tokenKey) in UserAuthTokenSign() 84 IAM_STATIC ResultCode DecryptTokenCipher(const UserAuthTokenHal *userAuthToken, UserAuthTokenPlain … in DecryptTokenCipher() 125 IAM_STATIC ResultCode CheckUserAuthTokenHmac(const UserAuthTokenHal *userAuthToken, HksAuthTokenKey… in CheckUserAuthTokenHmac() 146 ResultCode UserAuthTokenVerify(UserAuthTokenHal *userAuthToken, UserAuthTokenPlain *tokenPlain) in UserAuthTokenVerify() 178 …ultCode GetTokenDataPlain(UserAuthContext *context, uint32_t authMode, UserAuthTokenHal *authToken) in GetTokenDataPlain() 215 UserAuthTokenHal *authToken) in CopyTokenCipherParam() 267 IAM_STATIC ResultCode GetTokenDataCipherResult(const TokenDataToEncrypt *data, UserAuthTokenHal *au… in GetTokenDataCipherResult() 298 UserAuthTokenHal *authToken, const HksAuthTokenKey *tokenKey) in GetTokenDataCipher() 315 uint64_t credentialId, uint32_t authMode, UserAuthTokenHal *authToken) in GetTokenDataAndSign() [all …]
|
D | identify_funcs.c | 47 UserAuthTokenHal *token, int32_t *result) in DoUpdateIdentify()
|
D | user_auth_funcs.c | 74 ResultCode RequestAuthResultFunc(uint64_t contextId, const Buffer *scheduleResult, UserAuthTokenHal… in RequestAuthResultFunc()
|
/drivers/peripheral/user_auth/test/unittest/idm_test/ |
D | enroll_specification_check_test.cpp | 41 extern ResultCode UserAuthTokenSign(UserAuthTokenHal *userAuthToken, HksAuthTokenKey *tokenKey); 42 …extern ResultCode GetTokenDataCipherResult(const TokenDataToEncrypt *data, UserAuthTokenHal *authT… 73 UserAuthTokenHal token = {}; 95 UserAuthTokenHal token = {};
|
D | user_idm_funcs_test.cpp | 206 UserAuthTokenHal token = {}; 208 … EXPECT_EQ(memcpy_s(param.token, sizeof(UserAuthTokenHal), &token, sizeof(UserAuthTokenHal)), EOK);
|
/drivers/peripheral/user_auth/hdi_service/idm/inc/ |
D | enroll_specification_check.h | 34 ResultCode CheckIdmOperationToken(int32_t userId, UserAuthTokenHal *authToken);
|
/drivers/peripheral/user_auth/hdi_service/idm/src/ |
D | user_idm_funcs.c | 116 UserAuthTokenHal *authToken = (UserAuthTokenHal *)param.token; in CheckEnrollPermission() 148 UserAuthTokenHal *authToken = (UserAuthTokenHal *)param.token; in CheckUpdatePermission() 241 UserAuthTokenHal token; in DeleteCredentialFunc() 242 if (memcpy_s(&token, sizeof(UserAuthTokenHal), param.token, AUTH_TOKEN_LEN) != EOK) { in DeleteCredentialFunc()
|
D | enroll_specification_check.c | 49 ResultCode CheckIdmOperationToken(int32_t userId, UserAuthTokenHal *authToken) in CheckIdmOperationToken()
|
/drivers/peripheral/user_auth/hdi_service/service/ |
D | user_auth_interface_service.cpp | 328 static int32_t CopyAuthResult(AuthResult &infoIn, UserAuthTokenHal &authTokenIn, AuthResultInfo &in… in CopyAuthResult() 334 infoOut.token.resize(sizeof(UserAuthTokenHal)); in CopyAuthResult() 335 …cpy_s(infoOut.token.data(), infoOut.token.size(), &authTokenIn, sizeof(UserAuthTokenHal)) != EOK) { in CopyAuthResult() 371 UserAuthTokenHal authTokenHal = {}; in UpdateAuthenticationResult() 464 UserAuthTokenHal token = {}; in UpdateIdentificationResult() 472 info.token.resize(sizeof(UserAuthTokenHal)); in UpdateIdentificationResult() 556 if (authToken.size() != sizeof(UserAuthTokenHal) && authToken.size() != 0) { in BeginEnrollmentV1_1() 561 if (authToken.size() == sizeof(UserAuthTokenHal) && in BeginEnrollmentV1_1() 571 if (authToken.size() == sizeof(UserAuthTokenHal) && param.authType == PIN) { in BeginEnrollmentV1_1() 666 if (authToken.size() != sizeof(UserAuthTokenHal)) { in DeleteCredential() [all …]
|
/drivers/peripheral/user_auth/test/unittest/service_test/src/ |
D | user_auth_interface_service_test.cpp | 1107 authToken.resize(sizeof(UserAuthTokenHal));
|