Home
last modified time | relevance | path

Searched defs:authId (Results 1 – 25 of 55) 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/services/legacy/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.c187 const Uint8Buff *authId, Uint8Buff *keyAliasHash) in CombineKeyAlias()
231 const Uint8Buff *authId, Uint8Buff *outKeyAlias) in CombineKeyAliasForIso()
245 const Uint8Buff *authId, Uint8Buff *outKeyAlias) in CombineKeyAliasForPake()
284 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
Ddl_speke_protocol.h31 Uint8Buff authId; member
/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
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/legacy/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
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/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/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()
145 …const char *pkgName, const char *serviceType, const char *authId, int keyAliasType, Uint8Buff *out… in GenerateKeyAliasInner()
306 CJson *out, int32_t osAccountId, int32_t keyType, const char *authId, const char *serviceType) in PackPublicKeyToJson()
Dcert_operation.c241 const char *userId, const char *authId, const CertInfo *peerCertInfo, Uint8Buff *sharedSecret) in GetSharedSecretForAccountInPake()
316 static int32_t GetCertInfo(int32_t osAccountId, const char *userId, const char *authId, CertInfo *c… in GetCertInfo()
340 …int32_t osAccountId, const char *userId, const char *authId, IdentityInfo *info, bool isNeedGenera… in GetAccountAsymIdentityInfo()
514 const char *authId = StringGet(&deviceEntry->authId); in GetSelfAccountIdentityInfo() local
/base/security/device_auth/services/frameworks/inc/module/
Ddev_auth_module_manager.h39 Uint8Buff *authId; member
/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/frameworks/deviceauth_lite/fuzztest/dellocalauthinfo_fuzzer/
Ddellocalauthinfo_fuzzer.cpp70 hc_auth_id authId; in DelLocalaAuthInfoFuzz() local
/base/security/device_auth/frameworks/deviceauth_lite/fuzztest/listtrustpeer_fuzzer/
Dlisttrustpeer_fuzzer.cpp81 hc_auth_id authId; in ListTrustPeerFuzz() local
/base/security/device_auth/services/session_manager/src/session/v1/compatible_bind_sub_session/
Dcompatible_bind_sub_session_common.c142 …kAuthIdAndUserTypeValid(int32_t osAccountId, int userType, const char *groupId, const char *authId) in CheckAuthIdAndUserTypeValid()
183 const char *authId = GetStringFromJson(jsonParams, FIELD_DEVICE_ID); in AddAuthIdAndUserTypeIfValidOrDefault() local
384 const char *authId = GetStringFromJson(session->params, FIELD_AUTH_ID); in AddGroupAndDevInfoToParams() local
491 const char *authId = GetStringFromJson(session->params, FIELD_AUTH_ID); in AddDevInfoToSendData() 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

123