Home
last modified time | relevance | path

Searched defs:authId (Results 1 – 25 of 51) sorted by relevance

123

/base/security/huks/test/reliability/src/
Dapi_pressure_test.cpp535 struct HksBlob authId = { (uint32_t)strlen(GENERATE_KEY), (uint8_t *)GENERATE_KEY }; in GenerateKeyTest() local
554 void ApiPressureTest::ImportKeyTest(const struct HksBlob *authId, const struct HksParamSet *paramIn… in ImportKeyTest()
569 void ApiPressureTest::ExportPublicKeyTest(const struct HksBlob *authId, const struct HksParamSet *p… in ExportPublicKeyTest()
591 struct HksBlob authId = { .size = (uint32_t)key.length(), .data = (uint8_t *)&key[0] }; in DeleteKeyTest() local
611 void ApiPressureTest::GetKeyParamSetTest(const struct HksBlob *authId, const struct HksParamSet *pa… in GetKeyParamSetTest()
632 void ApiPressureTest::KeyExistTest(const struct HksBlob *authId, const struct HksParamSet *paramInS… in KeyExistTest()
644 …struct HksBlob authId = { .size = RANDOM_KEY_SIZE, .data = (uint8_t *)HksMalloc(RANDOM_KEY_SIZE) }; in GenerateRandomTest() local
667const struct HksBlob *authId, const struct HksParamSet *paramInSet, const struct HksBlob *message) in SignTest()
680 void ApiPressureTest::VerifyTest(const struct HksBlob *authId, const struct HksParamSet *paramInSet, in VerifyTest()
691 void ApiPressureTest::EncryptTest(const struct HksBlob *authId, const struct HksParamSet *paramInSe… in EncryptTest()
[all …]
Dpressure_test.cpp70 int32_t PressureTest::LocalHksGenerate(const uint32_t keyLen, const struct HksBlob *authId, in LocalHksGenerate()
176 struct HksBlob authId = { strlen(GENERATE_KEY), (uint8_t *)GENERATE_KEY }; variable
215 struct HksBlob authId = { strlen(GENERATE_KEY), (uint8_t *)GENERATE_KEY }; variable
262 struct HksBlob authId = { strlen(GENERATE_KEY), (uint8_t *)GENERATE_KEY }; variable
308 struct HksBlob authId = { strlen(GENERATE_KEY), (uint8_t *)GENERATE_KEY }; variable
346 struct HksBlob authId = { strlen(GENERATE_KEY), (uint8_t *)GENERATE_KEY }; variable
397 struct HksBlob authId = { strlen(GENERATE_KEY), (uint8_t *)GENERATE_KEY }; variable
439 … struct HksBlob authId = { .size = TEST_KEY_SIZE, .data = (uint8_t *)HksMalloc(TEST_KEY_SIZE) }; variable
474 struct HksBlob authId = { strlen(GENERATE_KEY), (uint8_t *)GENERATE_KEY }; variable
522 struct HksBlob authId = { strlen(GENERATE_KEY), (uint8_t *)GENERATE_KEY }; variable
[all …]
/base/security/device_auth/services/authenticators/src/account_unrelated/
Ddas_module.c31 …isterDasLocalIdentity(const char *pkgName, const char *serviceType, Uint8Buff *authId, int userTyp… in RegisterDasLocalIdentity()
36 …isterDasLocalIdentity(const char *pkgName, const char *serviceType, Uint8Buff *authId, int userTyp… in UnregisterDasLocalIdentity()
41 …DeleteDasPeerAuthInfo(const char *pkgName, const char *serviceType, Uint8Buff *authId, int userTyp… in DeleteDasPeerAuthInfo()
46 static int32_t GetDasPublicKey(const char *pkgName, const char *serviceType, Uint8Buff *authId, int… in GetDasPublicKey()
Ddas_task_common.c204 const Uint8Buff *authId, Uint8Buff *keyAliasHash) in CombineKeyAlias()
248 const Uint8Buff *authId, Uint8Buff *outKeyAlias) in CombineKeyAliasForIso()
262 const Uint8Buff *authId, Uint8Buff *outKeyAlias) in CombineKeyAliasForPake()
301 const KeyAliasType keyType, const Uint8Buff *authId, Uint8Buff *outKeyAlias) in GenerateKeyAlias()
/base/security/device_auth/services/session_manager/inc/session/v2/auth_sub_session/protocol_lib/
Diso_protocol.h24 Uint8Buff authId; member
Dec_speke_protocol.h30 Uint8Buff authId; member
/base/security/device_auth/test/unittest/deviceauth/source/
Dstandard_exchange_task_test.cpp74 uint8_t authId[AUTH_ID_LENGTH] = { 0 }; variable
126 uint8_t authId[AUTH_ID_LENGTH] = { 0 }; variable
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_auth.c27 uint32_t authId; member
155 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()
/base/security/device_auth/services/frameworks/src/module/
Ddev_auth_module_manager.c45 …ol IsParamsForDasTokenManagerValid(const char *pkgName, const char *serviceType, Uint8Buff *authId, in IsParamsForDasTokenManagerValid()
68 int32_t RegisterLocalIdentity(const char *pkgName, const char *serviceType, Uint8Buff *authId, int … in RegisterLocalIdentity()
89 int32_t UnregisterLocalIdentity(const char *pkgName, const char *serviceType, Uint8Buff *authId, in… in UnregisterLocalIdentity()
110 int32_t DeletePeerAuthInfo(const char *pkgName, const char *serviceType, Uint8Buff *authId, int use… in DeletePeerAuthInfo()
/base/security/device_auth/services/session_manager/inc/session/v2/expand_sub_session/expand_process_lib/
Dpub_key_exchange.h27 Uint8Buff authId; member
Dauth_code_import.h27 Uint8Buff authId; member
Dsave_trusted_info.h30 const char *authId; member
/base/security/device_auth/services/authenticators/src/account_unrelated/pake_task/standard_exchange_task/
Ddas_standard_token_manager.c21 …RegisterLocalIdentity(const char *pkgName, const char *serviceType, Uint8Buff *authId, int userTyp… in RegisterLocalIdentity()
52 …registerLocalIdentity(const char *pkgName, const char *serviceType, Uint8Buff *authId, int userTyp… in UnregisterLocalIdentity()
175 static int32_t GetPublicKey(const char *pkgName, const char *serviceType, Uint8Buff *authId, int us… in GetPublicKey()
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
Dhks_rsa_common_mt.cpp166 struct HksBlob authId = { in EncryptServiceTestCase() local
294 struct HksBlob authId = { in DecryptServiceTestCase() local
419 struct HksBlob authId = { .size = testCaseParams.alias.length(), in SignServiceTestCase() local
541 struct HksBlob authId = { in VerifyServiceTestCase() local
Dhks_hmac_mt.cpp291 …void LocalHmacScenario(int32_t scenario, struct HksBlob *authId, const TestCaseParams &testCasePar… in LocalHmacScenario()
340 struct HksBlob authId = { (uint32_t)strlen(HMAC_KEY), (uint8_t *)HMAC_KEY }; in RunTestCase() local
Dhks_dsa_mt.cpp749 struct HksBlob authId = { (uint32_t)strlen(TEST_KEY_AUTH_ID), (uint8_t *)TEST_KEY_AUTH_ID }; in SignServiceTestCase() local
873 struct HksBlob authId = { (uint32_t)strlen(TEST_KEY_AUTH_ID), (uint8_t *)TEST_KEY_AUTH_ID }; in VerifyServiceTestCase() local
Dhks_aes_cipher_mt.cpp439 struct HksBlob authId = { (uint32_t)strlen(TEST_AES_KEY), (uint8_t *)TEST_AES_KEY }; in RunTestCase() local
/base/security/device_auth/services/authenticators/src/account_unrelated/iso_task/lite_exchange_task/
Ddas_lite_token_manager.c22 …registerLocalIdentity(const char *pkgName, const char *serviceType, Uint8Buff *authId, int userTyp… in UnregisterLocalIdentity()
/base/security/device_auth/services/frameworks/inc/module/
Ddev_auth_module_manager.h39 Uint8Buff *authId; member
/base/security/device_auth/services/session_manager/src/session/v1/compatible_bind_sub_session/
Dcompatible_bind_sub_session_common.c131 …kAuthIdAndUserTypeValid(int32_t osAccountId, int userType, const char *groupId, const char *authId) in CheckAuthIdAndUserTypeValid()
172 const char *authId = GetStringFromJson(jsonParams, FIELD_DEVICE_ID); in AddAuthIdAndUserTypeIfValidOrDefault() local
373 const char *authId = GetStringFromJson(session->params, FIELD_AUTH_ID); in AddGroupAndDevInfoToParams() local
469 const char *authId = GetStringFromJson(session->params, FIELD_AUTH_ID); in AddDevInfoToSendData() local
/base/security/device_auth/services/data_manager/inc/
Ddata_manager.h47 HcString authId; /* id by service defined for authentication */ member
71 const char *authId; member
/base/security/device_auth/services/creds_manager/src/account_related/
Daccount_related_creds_manager.c136 static int32_t GetSharedSecretForAccountInPake(const char *userId, const char *authId, in GetSharedSecretForAccountInPake()
218 static int32_t GetCertInfo(int32_t osAccountId, const char *userId, const char *authId, CertInfo *c… in GetCertInfo()
241 …tic int32_t GetAccountAsymIdentityInfo(int32_t osAccountId, const char *userId, const char *authId, in GetAccountAsymIdentityInfo()
417 const char *authId = StringGet(&deviceEntry->authId); in GetSelfAccountIdentityInfo() local
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/asymmetric_alg_test/
Dhks_export_test_mt.cpp39 struct HksBlob authId = { strlen(keyAliasString), (uint8_t *)keyAliasString }; variable
Dhks_export_test.cpp49 struct HksBlob authId = { strlen(keyAliasString), (uint8_t *)keyAliasString }; in RunTestCase() local
/base/security/device_auth/services/authenticators/src/account_unrelated/pake_task/
Dpake_task_common.c137 const char *authId = GetStringFromJson(in, FIELD_SELF_AUTH_ID); in FillAuthId() local

123