Home
last modified time | relevance | path

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

123

/base/security/huks/test/reliability/src/
Dapi_pressure_test.cpp544 struct HksBlob authId = { (uint32_t)strlen(GENERATE_KEY), (uint8_t *)GENERATE_KEY }; in GenerateKeyTest() local
557 void ApiPressureTest::ImportKeyTest(const struct HksBlob *authId, const struct HksParamSet *paramIn… in ImportKeyTest()
572 void ApiPressureTest::ExportPublicKeyTest(const struct HksBlob *authId, const struct HksParamSet *p… in ExportPublicKeyTest()
594 struct HksBlob authId = { .size = (uint32_t)key.length(), .data = (uint8_t *)&key[0] }; in DeleteKeyTest() local
608 void ApiPressureTest::GetKeyParamSetTest(const struct HksBlob *authId, const struct HksParamSet *pa… in GetKeyParamSetTest()
629 void ApiPressureTest::KeyExistTest(const struct HksBlob *authId, const struct HksParamSet *paramInS… in KeyExistTest()
641 …struct HksBlob authId = { .size = RANDOM_KEY_SIZE, .data = (uint8_t *)HksMalloc(RANDOM_KEY_SIZE) }; in GenerateRandomTest() local
664const struct HksBlob *authId, const struct HksParamSet *paramInSet, const struct HksBlob *message) in SignTest()
677 void ApiPressureTest::VerifyTest(const struct HksBlob *authId, const struct HksParamSet *paramInSet, in VerifyTest()
688 void ApiPressureTest::EncryptTest(const struct HksBlob *authId, const struct HksParamSet *paramInSe… in EncryptTest()
[all …]
Dpressure_test.cpp79 int32_t PressureTest::LocalHksGenerate(const uint32_t keyLen, const struct HksBlob *authId, in LocalHksGenerate()
185 struct HksBlob authId = { strlen(GENERATE_KEY), (uint8_t *)GENERATE_KEY }; variable
218 struct HksBlob authId = { strlen(GENERATE_KEY), (uint8_t *)GENERATE_KEY }; variable
259 struct HksBlob authId = { strlen(GENERATE_KEY), (uint8_t *)GENERATE_KEY }; variable
299 struct HksBlob authId = { strlen(GENERATE_KEY), (uint8_t *)GENERATE_KEY }; variable
331 struct HksBlob authId = { strlen(GENERATE_KEY), (uint8_t *)GENERATE_KEY }; variable
376 struct HksBlob authId = { strlen(GENERATE_KEY), (uint8_t *)GENERATE_KEY }; variable
414 … struct HksBlob authId = { .size = TEST_KEY_SIZE, .data = (uint8_t *)HksMalloc(TEST_KEY_SIZE) }; variable
447 struct HksBlob authId = { strlen(GENERATE_KEY), (uint8_t *)GENERATE_KEY }; variable
495 struct HksBlob authId = { strlen(GENERATE_KEY), (uint8_t *)GENERATE_KEY }; variable
[all …]
/base/security/device_auth/test/unittest/deviceauth/source/
Dstandard_exchange_task_test.cpp75 uint8_t authId[AUTH_ID_LENGTH] = { 0 }; variable
127 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
157 int32_t HksAuth(uint32_t authId, const struct HksKeyNode *keyNode, const struct HksParamSet *paramS… in HksAuth()
179 int32_t HksThreeStageAuth(uint32_t authId, const struct HuksKeyNode *keyNode) in HksThreeStageAuth()
/base/security/device_auth/test/fuzztest/authenticators/account_unrelated/pake/standardexchangetask_fuzzer/
Dstandardexchangetask_fuzzer.cpp67 uint8_t authId[AUTH_ID_LENGTH] = { 0 }; in StandardExchangeTaskTest003() local
129 uint8_t authId[AUTH_ID_LENGTH] = { 0 }; in StandardExchangeTaskTest004() local
/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
Ddl_speke_protocol.h31 Uint8Buff authId; member
/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/common/
Ddas_task_common.c202 const Uint8Buff *authId, Uint8Buff *keyAliasHash) in CombineKeyAlias()
290 const Uint8Buff *authId, Uint8Buff *outKeyAlias) in CombineKeyAliasForIso()
304 const Uint8Buff *authId, Uint8Buff *outKeyAlias) in CombineKeyAliasForPake()
348 const KeyAliasType keyType, const Uint8Buff *authId, Uint8Buff *outKeyAlias) in GenerateKeyAlias()
/base/security/device_auth/services/session_manager/inc/session/v2/expand_sub_session/expand_process_lib/
Dauth_code_import.h27 Uint8Buff authId; member
Dpub_key_exchange.h27 Uint8Buff authId; member
Dsave_trusted_info.h30 const char *authId; member
/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
420 struct HksBlob authId = { .size = testCaseParams.alias.length(), in SignServiceTestCase() local
542 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
/base/security/device_auth/services/legacy/identity_manager/src/
Dcredential_operator.c66 …const Uint8Buff *serviceId, const Uint8Buff *keyType, const Uint8Buff *authId, Uint8Buff *keyAlias… in CombineKeyAlias()
106 …const Uint8Buff *serviceId, const Uint8Buff *keyType, const Uint8Buff *authId, Uint8Buff *outKeyAl… in CombineKeyAliasForPake()
150 …const char *pkgName, const char *serviceType, const char *authId, int keyAliasType, Uint8Buff *out… in GenerateKeyAliasInner()
313 CJson *out, int32_t osAccountId, int32_t keyType, const char *authId, const char *serviceType) in PackPublicKeyToJson()
Dcert_operation.c310 …nt32_t GetSharedSecretForAccountInPake(int32_t osAccountId, const char *userId, const char *authId, in GetSharedSecretForAccountInPake()
392 static int32_t GetCertInfo(int32_t osAccountId, const char *userId, const char *authId, CertInfo *c… in GetCertInfo()
416 …int32_t osAccountId, const char *userId, const char *authId, IdentityInfo *info, bool isNeedGenera… in GetAccountAsymIdentityInfo()
595 const char *authId = StringGet(&deviceEntry->authId); in GetSelfAccountIdentityInfo() local
/base/security/device_auth/services/legacy/authenticators/inc/account_unrelated/
Ddas_token_manager.h26 Uint8Buff authId; member
/base/security/device_auth/services/data_manager/group_data_manager/inc/
Dgroup_data_manager.h49 HcString authId; /* id by service defined for authentication */ member
74 const char *authId; member
/base/security/device_auth/services/frameworks/inc/module/
Ddev_auth_module_manager.h40 Uint8Buff *authId; member
/base/security/device_auth/services/session_manager/src/session/v1/compatible_bind_sub_session/
Dcompatible_bind_sub_session_common.c143 …kAuthIdAndUserTypeValid(int32_t osAccountId, int userType, const char *groupId, const char *authId) in CheckAuthIdAndUserTypeValid()
184 const char *authId = GetStringFromJson(jsonParams, FIELD_DEVICE_ID); in AddAuthIdAndUserTypeIfValidOrDefault() local
418 const char *authId = GetStringFromJson(session->params, FIELD_AUTH_ID); in AddGroupAndDevInfoToParams() local
540 const char *authId = GetStringFromJson(session->params, FIELD_AUTH_ID); in AddDevInfoToSendData() local
/base/security/device_auth/frameworks/deviceauth_lite/test/fuzztest/dellocalauthinfo_fuzzer/
Ddellocalauthinfo_fuzzer.cpp70 hc_auth_id authId; in DelLocalaAuthInfoFuzz() local
/base/security/device_auth/frameworks/deviceauth_lite/test/fuzztest/listtrustpeer_fuzzer/
Dlisttrustpeer_fuzzer.cpp81 hc_auth_id authId; in ListTrustPeerFuzz() local
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/asymmetric_alg_test/
Dhks_export_test_mt.cpp40 struct HksBlob authId = { strlen(keyAliasString), (uint8_t *)keyAliasString }; variable
Dhks_export_test.cpp50 struct HksBlob authId = { strlen(keyAliasString), (uint8_t *)keyAliasString }; in RunTestCase() local
/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/pake_task/
Dpake_task_common.c142 const char *authId = GetStringFromJson(in, FIELD_SELF_AUTH_ID); in FillAuthId() local

123