/ohos5.0/base/security/device_auth/test/fuzztest/protocol/iso_fuzzer/ |
H A D | iso_fuzzer.cpp | 52 (void)CreateIsoProtocol(&g_paramsC, true, &self); in IsoTest01() 60 int32_t res = CreateIsoProtocol(&g_paramsC, true, &client); in IsoTest02() 149 (void)CreateIsoProtocol(&g_paramsC, true, nullptr); in IsoTest05() 172 (void)CreateIsoProtocol(&g_paramsC, true, &self); in IsoTest08() 181 int32_t res = CreateIsoProtocol(&g_paramsC, true, &self); in IsoTest09() 190 int32_t res = CreateIsoProtocol(&g_paramsC, true, &self); in IsoTest10() 200 int32_t res = CreateIsoProtocol(&g_paramsC, true, &self); in IsoTest11() 210 int32_t res = CreateIsoProtocol(&g_paramsC, true, &self); in IsoTest12() 220 int32_t res = CreateIsoProtocol(&g_paramsC, true, &self); in IsoTest13() 229 int32_t res = CreateIsoProtocol(&g_paramsC, true, &self); in IsoTest14() [all …]
|
/ohos5.0/base/security/device_auth/test/fuzztest/session_manager/session/v2/auth_sub_session/authsubsession_fuzzer/ |
H A D | authsubsession_fuzzer.cpp | 45 static IsoInitParams g_paramsC = { g_authIdC, DEFAULT_OS_ACCOUNT }; variable 56 (void)CreateAuthSubSession(PROTOCOL_TYPE_ISO, (void *)&g_paramsC, true, &self); in AuthSubSessionTest01() 334 (void)CreateAuthSubSession(PROTOCOL_TYPE_ISO, &g_paramsC, true, nullptr); in AuthSubSessionTest11() 357 int32_t res = CreateAuthSubSession(PROTOCOL_TYPE_ISO, &g_paramsC, true, &self); in AuthSubSessionTest14() 367 int32_t res = CreateAuthSubSession(PROTOCOL_TYPE_ISO, &g_paramsC, true, &self); in AuthSubSessionTest15() 377 int32_t res = CreateAuthSubSession(PROTOCOL_TYPE_ISO, &g_paramsC, true, &self); in AuthSubSessionTest16() 388 int32_t res = CreateAuthSubSession(PROTOCOL_TYPE_ISO, &g_paramsC, true, &self); in AuthSubSessionTest17() 399 int32_t res = CreateAuthSubSession(PROTOCOL_TYPE_ISO, &g_paramsC, true, &self); in AuthSubSessionTest18() 409 int32_t res = CreateAuthSubSession(PROTOCOL_TYPE_ISO, &g_paramsC, true, &self); in AuthSubSessionTest19() 439 (void)CreateAuthSubSession(PROTOCOL_TYPE_INVALID, &g_paramsC, true, &self); in AuthSubSessionTest22() [all …]
|
/ohos5.0/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/session_manager/session/v2/auth_sub_session/protocol_lib/ |
H A D | iso_protocol_test.cpp | 96 int32_t res = CreateIsoProtocol(&g_paramsC, true, &self); 105 int32_t res = CreateIsoProtocol(&g_paramsC, true, &client); 241 int32_t res = CreateIsoProtocol(&g_paramsC, true, &self); 254 int32_t res = CreateIsoProtocol(&g_paramsC, true, &self); 267 int32_t res = CreateIsoProtocol(&g_paramsC, true, &self); 281 int32_t res = CreateIsoProtocol(&g_paramsC, true, &self); 295 int32_t res = CreateIsoProtocol(&g_paramsC, true, &self); 309 int32_t res = CreateIsoProtocol(&g_paramsC, true, &self); 322 int32_t res = CreateIsoProtocol(&g_paramsC, true, &self); 338 int32_t res = CreateIsoProtocol(&g_paramsC, true, &self); [all …]
|
/ohos5.0/base/security/device_auth/test/fuzztest/session_manager/session/v2/expand_sub_session/expand_process_lib/pubkeyexchange_fuzzer/ |
H A D | pubkeyexchange_fuzzer.cpp | 49 BaseCmd *self = CreatePubKeyExchangeCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); in PubkeyExchangeTest01() 56 BaseCmd *client = CreatePubKeyExchangeCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); in PubkeyExchangeTest02() 116 BaseCmd *self = CreatePubKeyExchangeCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); in PubkeyExchangeTest08() 124 BaseCmd *self = CreatePubKeyExchangeCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); in PubkeyExchangeTest09() 134 BaseCmd *self = CreatePubKeyExchangeCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); in PubkeyExchangeTest10() 142 BaseCmd *self = CreatePubKeyExchangeCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); in PubkeyExchangeTest11() 156 BaseCmd *self = CreatePubKeyExchangeCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); in PubkeyExchangeTest12() 168 BaseCmd *self = CreatePubKeyExchangeCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); in PubkeyExchangeTest13() 179 BaseCmd *self = CreatePubKeyExchangeCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); in PubkeyExchangeTest14() 189 BaseCmd *self = CreatePubKeyExchangeCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); in PubkeyExchangeTest15() [all …]
|
/ohos5.0/base/security/device_auth/test/fuzztest/session_manager/session/v2/expand_sub_session/expand_process_lib/authcodeimport_fuzzer/ |
H A D | authcodeimport_fuzzer.cpp | 52 BaseCmd *self = CreateAuthCodeImportCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); in AuthCodeImportTest001() 60 BaseCmd *client = CreateAuthCodeImportCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); in AuthCodeImportTest002() 155 BaseCmd *self = CreateAuthCodeImportCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); in AuthCodeImportTest106() 165 BaseCmd *self = CreateAuthCodeImportCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); in AuthCodeImportTest107() 179 BaseCmd *self = CreateAuthCodeImportCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); in AuthCodeImportTest108() 192 BaseCmd *self = CreateAuthCodeImportCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); in AuthCodeImportTest109() 210 BaseCmd *self = CreateAuthCodeImportCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); in AuthCodeImportTest110() 226 BaseCmd *self = CreateAuthCodeImportCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); in AuthCodeImportTest111() 241 BaseCmd *self = CreateAuthCodeImportCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); in AuthCodeImportTest112() 256 BaseCmd *self = CreateAuthCodeImportCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); in AuthCodeImportTest113() [all …]
|
/ohos5.0/base/security/device_auth/test/fuzztest/session_manager/session/v2/expand_sub_session/expand_process_lib/savetrustedinfo_fuzzer/ |
H A D | savetrustedinfo_fuzzer.cpp | 174 BaseCmd *self = CreateSaveTrustedInfoCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); in SaveTrustedInfoTest00() 206 BaseCmd *self = CreateSaveTrustedInfoCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); in SaveTrustedInfoTest07() 213 BaseCmd *self = CreateSaveTrustedInfoCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); in SaveTrustedInfoTest08() 222 BaseCmd *self = CreateSaveTrustedInfoCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); in SaveTrustedInfoTest09() 235 BaseCmd *self = CreateSaveTrustedInfoCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); in SaveTrustedInfoTest10() 248 BaseCmd *self = CreateSaveTrustedInfoCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); in SaveTrustedInfoTest11() 259 BaseCmd *self = CreateSaveTrustedInfoCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); in SaveTrustedInfoTest12() 268 BaseCmd *self = CreateSaveTrustedInfoCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); in SaveTrustedInfoTest13() 278 BaseCmd *self = CreateSaveTrustedInfoCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); in SaveTrustedInfoTest14() 287 BaseCmd *self = CreateSaveTrustedInfoCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); in SaveTrustedInfoTest15() [all …]
|
/ohos5.0/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/session_manager/session/v2/auth_sub_session/ |
H A D | auth_sub_session_test.cpp | 51 static IsoInitParams g_paramsC = { g_authIdC, DEFAULT_OS_ACCOUNT }; variable 480 int32_t res = CreateAuthSubSession(PROTOCOL_TYPE_ISO, &g_paramsC, true, &self); 493 int32_t res = CreateAuthSubSession(PROTOCOL_TYPE_ISO, &g_paramsC, true, &self); 506 int32_t res = CreateAuthSubSession(PROTOCOL_TYPE_ISO, &g_paramsC, true, &self); 520 int32_t res = CreateAuthSubSession(PROTOCOL_TYPE_ISO, &g_paramsC, true, &self); 534 int32_t res = CreateAuthSubSession(PROTOCOL_TYPE_ISO, &g_paramsC, true, &self); 548 int32_t res = CreateAuthSubSession(PROTOCOL_TYPE_ISO, &g_paramsC, true, &self); 561 int32_t res = CreateAuthSubSession(PROTOCOL_TYPE_ISO, &g_paramsC, true, &self); 597 int32_t res = CreateAuthSubSession(PROTOCOL_TYPE_ISO, &g_paramsC, true, &self); 612 int32_t res = CreateAuthSubSession(PROTOCOL_TYPE_ISO, &g_paramsC, true, &self); [all …]
|
/ohos5.0/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/session_manager/session/v2/expand_sub_session/expand_process_lib/ |
H A D | auth_code_import_test.cpp | 95 BaseCmd *self = CreateAuthCodeImportCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); 102 BaseCmd *client = CreateAuthCodeImportCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); 172 BaseCmd *self = CreateAuthCodeImportCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); 180 BaseCmd *self = CreateAuthCodeImportCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); 191 BaseCmd *self = CreateAuthCodeImportCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); 201 BaseCmd *self = CreateAuthCodeImportCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); 220 BaseCmd *self = CreateAuthCodeImportCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); 234 BaseCmd *self = CreateAuthCodeImportCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); 247 BaseCmd *self = CreateAuthCodeImportCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); 260 BaseCmd *self = CreateAuthCodeImportCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); [all …]
|
H A D | pub_key_exchange_test.cpp | 95 BaseCmd *self = CreatePubKeyExchangeCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); 102 BaseCmd *client = CreatePubKeyExchangeCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); 172 BaseCmd *self = CreatePubKeyExchangeCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); 180 BaseCmd *self = CreatePubKeyExchangeCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); 191 BaseCmd *self = CreatePubKeyExchangeCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); 201 BaseCmd *self = CreatePubKeyExchangeCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); 220 BaseCmd *self = CreatePubKeyExchangeCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); 234 BaseCmd *self = CreatePubKeyExchangeCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); 247 BaseCmd *self = CreatePubKeyExchangeCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); 260 BaseCmd *self = CreatePubKeyExchangeCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); [all …]
|
H A D | save_trusted_info_test.cpp | 217 BaseCmd *self = CreateSaveTrustedInfoCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); 350 BaseCmd *self = CreateSaveTrustedInfoCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); 358 BaseCmd *self = CreateSaveTrustedInfoCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); 369 BaseCmd *self = CreateSaveTrustedInfoCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); 387 BaseCmd *self = CreateSaveTrustedInfoCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); 408 BaseCmd *self = CreateSaveTrustedInfoCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); 422 BaseCmd *self = CreateSaveTrustedInfoCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); 435 BaseCmd *self = CreateSaveTrustedInfoCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); 448 BaseCmd *self = CreateSaveTrustedInfoCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); 461 BaseCmd *self = CreateSaveTrustedInfoCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); [all …]
|
/ohos5.0/base/security/device_auth/test/fuzztest/session_manager/session/v2/expand_sub_session/expandsubsession_fuzzer/ |
H A D | expandsubsession_fuzzer.cpp | 43 static AuthCodeImportParams g_paramsC = { 0, GROUP_OWNER, GROUP_ID, g_authIdC, DEFAULT_OS_ACCOUNT }; variable 72 … res = client->addCmd(client, AUTH_CODE_IMPORT_CMD_TYPE, (void *)&g_paramsC, true, ABORT_IF_ERROR); in ExpandSubSessionTest02() 146 … res = self->addCmd(nullptr, AUTH_CODE_IMPORT_CMD_TYPE, (void *)&g_paramsC, true, ABORT_IF_ERROR); in ExpandSubSessionTest09() 167 res = self->addCmd(self, AUTH_CODE_IMPORT_CMD_TYPE, (void *)&g_paramsC, true, ABORT_IF_ERROR); in ExpandSubSessionTest11() 177 res = self->addCmd(self, INVALID_CMD_TYPE, (void *)&g_paramsC, true, ABORT_IF_ERROR); in ExpandSubSessionTest12()
|
/ohos5.0/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/session_manager/session/v2/expand_sub_session/ |
H A D | expand_sub_session_test.cpp | 49 static AuthCodeImportParams g_paramsC = { 0, GROUP_OWNER, GROUP_ID, g_authIdC, DEFAULT_OS_ACCOUNT }; variable 124 … res = client->addCmd(client, AUTH_CODE_IMPORT_CMD_TYPE, (void *)&g_paramsC, true, ABORT_IF_ERROR); 212 … res = self->addCmd(nullptr, AUTH_CODE_IMPORT_CMD_TYPE, (void *)&g_paramsC, true, ABORT_IF_ERROR); 240 res = self->addCmd(self, AUTH_CODE_IMPORT_CMD_TYPE, (void *)&g_paramsC, true, ABORT_IF_ERROR); 253 res = self->addCmd(self, INVALID_CMD_TYPE, (void *)&g_paramsC, true, ABORT_IF_ERROR); 424 … res = client->addCmd(client, AUTH_CODE_IMPORT_CMD_TYPE, (void *)&g_paramsC, true, ABORT_IF_ERROR); in TestMemoryInner()
|