Home
last modified time | relevance | path

Searched refs:ABORT_IF_ERROR (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/base/security/device_auth/test/fuzztest/session_manager/session/v2/expand_sub_session/expand_process_lib/pubkeyexchange_fuzzer/
H A Dpubkeyexchange_fuzzer.cpp49 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()
82 (void)CreatePubKeyExchangeCmd(nullptr, true, ABORT_IF_ERROR); in PubkeyExchangeTest03()
89 (void)CreatePubKeyExchangeCmd((void *)(&errorParams), true, ABORT_IF_ERROR); in PubkeyExchangeTest04()
96 (void)CreatePubKeyExchangeCmd((void *)(&errorParams), true, ABORT_IF_ERROR); in PubkeyExchangeTest05()
103 (void)CreatePubKeyExchangeCmd((void *)(&errorParams), true, ABORT_IF_ERROR); in PubkeyExchangeTest06()
110 (void)CreatePubKeyExchangeCmd((void *)(&errorParams), true, ABORT_IF_ERROR); in PubkeyExchangeTest07()
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()
[all …]
/ohos5.0/base/security/device_auth/test/fuzztest/session_manager/session/v2/expand_sub_session/expand_process_lib/authcodeimport_fuzzer/
H A Dauthcodeimport_fuzzer.cpp52 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()
65 BaseCmd *server = CreateAuthCodeImportCmd((void *)&g_paramsS, false, ABORT_IF_ERROR); in AuthCodeImportTest002()
111 BaseCmd *self = CreateAuthCodeImportCmd(nullptr, true, ABORT_IF_ERROR); in AuthCodeImportTest101()
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()
[all …]
/ohos5.0/base/security/device_auth/test/fuzztest/session_manager/session/v2/expand_sub_session/expand_process_lib/savetrustedinfo_fuzzer/
H A Dsavetrustedinfo_fuzzer.cpp174 BaseCmd *self = CreateSaveTrustedInfoCmd((void *)&g_paramsC, true, ABORT_IF_ERROR); in SaveTrustedInfoTest00()
180 (void)CreateSaveTrustedInfoCmd(nullptr, true, ABORT_IF_ERROR); in SaveTrustedInfoTest03()
187 (void)CreateSaveTrustedInfoCmd((void *)(&errorParams), true, ABORT_IF_ERROR); in SaveTrustedInfoTest04()
194 (void)CreateSaveTrustedInfoCmd((void *)(&errorParams), true, ABORT_IF_ERROR); in SaveTrustedInfoTest05()
201 (void)CreateSaveTrustedInfoCmd((void *)(&errorParams), true, ABORT_IF_ERROR); in SaveTrustedInfoTest06()
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()
[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 Dauth_code_import_test.cpp95 BaseCmd *self = CreateAuthCodeImportCmd((void *)&g_paramsC, true, ABORT_IF_ERROR);
102 BaseCmd *client = CreateAuthCodeImportCmd((void *)&g_paramsC, true, ABORT_IF_ERROR);
137 BaseCmd *self = CreateAuthCodeImportCmd(nullptr, 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);
[all …]
H A Dpub_key_exchange_test.cpp95 BaseCmd *self = CreatePubKeyExchangeCmd((void *)&g_paramsC, true, ABORT_IF_ERROR);
102 BaseCmd *client = CreatePubKeyExchangeCmd((void *)&g_paramsC, true, ABORT_IF_ERROR);
137 BaseCmd *self = CreatePubKeyExchangeCmd(nullptr, 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);
[all …]
H A Dsave_trusted_info_test.cpp217 BaseCmd *self = CreateSaveTrustedInfoCmd((void *)&g_paramsC, true, ABORT_IF_ERROR);
320 BaseCmd *self = CreateSaveTrustedInfoCmd(nullptr, 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);
[all …]
/ohos5.0/base/security/device_auth/test/fuzztest/session_manager/session/v2/expand_sub_session/expandsubsession_fuzzer/
H A Dexpandsubsession_fuzzer.cpp72 … res = client->addCmd(client, AUTH_CODE_IMPORT_CMD_TYPE, (void *)&g_paramsC, true, ABORT_IF_ERROR); in ExpandSubSessionTest02()
73 …res = server->addCmd(server, AUTH_CODE_IMPORT_CMD_TYPE, (void *)&g_paramsS, false, ABORT_IF_ERROR); in ExpandSubSessionTest02()
74 …= client->addCmd(client, PUB_KEY_EXCHANGE_CMD_TYPE, (void *)&g_25519ParamsC, true, ABORT_IF_ERROR); in ExpandSubSessionTest02()
75 … server->addCmd(server, PUB_KEY_EXCHANGE_CMD_TYPE, (void *)&g_25519ParamsS, false, ABORT_IF_ERROR); in ExpandSubSessionTest02()
146 … res = self->addCmd(nullptr, AUTH_CODE_IMPORT_CMD_TYPE, (void *)&g_paramsC, true, ABORT_IF_ERROR); in ExpandSubSessionTest09()
156 res = self->addCmd(self, AUTH_CODE_IMPORT_CMD_TYPE, nullptr, true, ABORT_IF_ERROR); in ExpandSubSessionTest10()
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 Dexpand_sub_session_test.cpp124 … res = client->addCmd(client, AUTH_CODE_IMPORT_CMD_TYPE, (void *)&g_paramsC, true, ABORT_IF_ERROR);
126 …res = server->addCmd(server, AUTH_CODE_IMPORT_CMD_TYPE, (void *)&g_paramsS, false, ABORT_IF_ERROR);
128 …= client->addCmd(client, PUB_KEY_EXCHANGE_CMD_TYPE, (void *)&g_25519ParamsC, true, ABORT_IF_ERROR);
130 … server->addCmd(server, PUB_KEY_EXCHANGE_CMD_TYPE, (void *)&g_25519ParamsS, false, ABORT_IF_ERROR);
212 … res = self->addCmd(nullptr, AUTH_CODE_IMPORT_CMD_TYPE, (void *)&g_paramsC, true, ABORT_IF_ERROR);
225 res = self->addCmd(self, AUTH_CODE_IMPORT_CMD_TYPE, nullptr, 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()
428 …res = server->addCmd(server, AUTH_CODE_IMPORT_CMD_TYPE, (void *)&g_paramsS, false, ABORT_IF_ERROR); in TestMemoryInner()
[all …]
/ohos5.0/base/security/device_auth/services/session_manager/inc/session/v2/expand_sub_session/expand_process_lib/
H A Dbase_cmd.h23 ABORT_IF_ERROR = 1, enumerator
/ohos5.0/base/security/device_auth/services/session_manager/src/session/v2/
H A Ddev_session_v2.c147 (!impl->isClient), ABORT_IF_ERROR); in CmdExchangePkGenerator()
175 (!impl->isClient), ABORT_IF_ERROR); in CmdImportAuthCodeGenerator()
209 (!impl->isClient), ABORT_IF_ERROR); in CmdSaveTrustedInfoGenerator()
235 { CMD_EXCHANGE_PK, ABORT_IF_ERROR, CmdExchangePkGenerator },
236 { CMD_IMPORT_AUTH_CODE, ABORT_IF_ERROR, CmdImportAuthCodeGenerator },
237 { CMD_ADD_TRUST_DEVICE, ABORT_IF_ERROR, CmdSaveTrustedInfoGenerator },
1587 if (CMDS_LIB[i].strategy == ABORT_IF_ERROR) { in SelfCmdsNegotiate()
1626 if (strategy == ABORT_IF_ERROR) { in PeerCmdsNegotiate()
/ohos5.0/base/security/device_auth/services/session_manager/src/session/v2/expand_sub_session/
H A Dexpand_sub_session.c319 if (res != HC_SUCCESS && cmd->strategy == ABORT_IF_ERROR) { in StartNewCmds()