/base/security/huks/test/reliability/src/ |
D | api_pressure_test.cpp | 535 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 667 … const 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 …]
|
D | pressure_test.cpp | 70 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/ |
D | das_module.c | 31 …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()
|
D | das_task_common.c | 204 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/ |
D | iso_protocol.h | 24 Uint8Buff authId; member
|
D | ec_speke_protocol.h | 30 Uint8Buff authId; member
|
/base/security/device_auth/test/unittest/deviceauth/source/ |
D | standard_exchange_task_test.cpp | 74 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/ |
D | hks_auth.c | 27 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/ |
D | dev_auth_module_manager.c | 45 …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/ |
D | pub_key_exchange.h | 27 Uint8Buff authId; member
|
D | auth_code_import.h | 27 Uint8Buff authId; member
|
D | save_trusted_info.h | 30 const char *authId; member
|
/base/security/device_auth/services/authenticators/src/account_unrelated/pake_task/standard_exchange_task/ |
D | das_standard_token_manager.c | 21 …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/ |
D | hks_rsa_common_mt.cpp | 166 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
|
D | hks_hmac_mt.cpp | 291 …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
|
D | hks_dsa_mt.cpp | 749 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
|
D | hks_aes_cipher_mt.cpp | 439 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/ |
D | das_lite_token_manager.c | 22 …registerLocalIdentity(const char *pkgName, const char *serviceType, Uint8Buff *authId, int userTyp… in UnregisterLocalIdentity()
|
/base/security/device_auth/services/frameworks/inc/module/ |
D | dev_auth_module_manager.h | 39 Uint8Buff *authId; member
|
/base/security/device_auth/services/session_manager/src/session/v1/compatible_bind_sub_session/ |
D | compatible_bind_sub_session_common.c | 131 …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/ |
D | data_manager.h | 47 HcString authId; /* id by service defined for authentication */ member 71 const char *authId; member
|
/base/security/device_auth/services/creds_manager/src/account_related/ |
D | account_related_creds_manager.c | 136 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/ |
D | hks_export_test_mt.cpp | 39 struct HksBlob authId = { strlen(keyAliasString), (uint8_t *)keyAliasString }; variable
|
D | hks_export_test.cpp | 49 struct HksBlob authId = { strlen(keyAliasString), (uint8_t *)keyAliasString }; in RunTestCase() local
|
/base/security/device_auth/services/authenticators/src/account_unrelated/pake_task/ |
D | pake_task_common.c | 137 const char *authId = GetStringFromJson(in, FIELD_SELF_AUTH_ID); in FillAuthId() local
|