Home
last modified time | relevance | path

Searched refs:verifyResult (Results 1 – 25 of 27) sorted by relevance

12

/base/security/appverify/interfaces/innerkits/appverify_lite/unittest/src/
Dhap_verify_test.cpp71 VerifyResult verifyResult = {0}; variable
72 int32_t resultCode = APPVERI_AppVerify(signedHap, &verifyResult);
74 APPVERI_FreeVerifyRst(&verifyResult);
95 VerifyResult verifyResult = {0}; variable
96 int32_t resultCode = APPVERI_AppVerify(unsignedHap, &verifyResult);
98 APPVERI_FreeVerifyRst(&verifyResult);
121 VerifyResult verifyResult = {0}; variable
122 int32_t resultCode = APPVERI_AppVerify(udidUnmatchHap, &verifyResult);
124 APPVERI_FreeVerifyRst(&verifyResult);
147 VerifyResult verifyResult = {0}; variable
[all …]
/base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/
Dhks_crypto_hal_rsa_sign.cpp40 HksErrorCode verifyResult = HksErrorCode::HKS_SUCCESS; member
63 .verifyResult = HKS_SUCCESS,
83 .verifyResult = HKS_SUCCESS,
103 .verifyResult = HKS_SUCCESS,
123 .verifyResult = HKS_SUCCESS,
143 .verifyResult = HKS_SUCCESS,
163 .verifyResult = HKS_SUCCESS,
183 .verifyResult = HKS_SUCCESS,
203 .verifyResult = HKS_SUCCESS,
223 .verifyResult = HKS_SUCCESS,
[all …]
Dhks_crypto_hal_ecdsa_sign.cpp40 HksErrorCode verifyResult = HksErrorCode::HKS_SUCCESS; member
63 .verifyResult = HKS_SUCCESS,
83 .verifyResult = HKS_SUCCESS,
102 .verifyResult = HKS_SUCCESS,
121 .verifyResult = HKS_SUCCESS,
141 .verifyResult = HKS_SUCCESS,
160 .verifyResult = HKS_SUCCESS,
179 .verifyResult = HKS_SUCCESS,
198 .verifyResult = HKS_SUCCESS,
217 .verifyResult = HKS_SUCCESS,
[all …]
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
Dhks_ecc_verify_mt.cpp42 HksErrorCode verifyResult = HksErrorCode::HKS_SUCCESS; member
60 .verifyResult = HKS_SUCCESS,
76 .verifyResult = HKS_SUCCESS,
92 .verifyResult = HKS_SUCCESS,
108 .verifyResult = HKS_SUCCESS,
124 .verifyResult = HKS_SUCCESS,
140 .verifyResult = HKS_SUCCESS,
157 .verifyResult = HKS_SUCCESS,
174 .verifyResult = HKS_SUCCESS,
190 .verifyResult = HKS_SUCCESS,
[all …]
Dhks_ecc_sign_mt.cpp43 HksErrorCode verifyResult = HksErrorCode::HKS_SUCCESS; member
62 .verifyResult = HKS_SUCCESS,
78 .verifyResult = HKS_SUCCESS,
94 .verifyResult = HKS_SUCCESS,
110 .verifyResult = HKS_SUCCESS,
126 .verifyResult = HKS_SUCCESS,
142 .verifyResult = HKS_SUCCESS,
159 .verifyResult = HKS_SUCCESS,
175 .verifyResult = HKS_SUCCESS,
191 .verifyResult = HKS_SUCCESS,
[all …]
Dhks_ecc_key_mt.cpp39 HksErrorCode verifyResult = HksErrorCode::HKS_SUCCESS; member
58 .verifyResult = HKS_SUCCESS,
74 .verifyResult = HKS_SUCCESS,
90 .verifyResult = HKS_SUCCESS,
106 .verifyResult = HKS_SUCCESS,
122 .verifyResult = HKS_SUCCESS,
138 .verifyResult = HKS_SUCCESS,
155 .verifyResult = HKS_SUCCESS,
172 .verifyResult = HKS_SUCCESS,
188 .verifyResult = HKS_SUCCESS,
[all …]
Dhks_rsa_sha384_with_rsa_mt.cpp62 .verifyResult = HKS_SUCCESS,
88 .verifyResult = HKS_SUCCESS,
110 .verifyResult = HKS_SUCCESS,
133 .verifyResult = HKS_SUCCESS,
154 .verifyResult = HKS_SUCCESS,
176 .verifyResult = HKS_SUCCESS,
197 .verifyResult = HKS_SUCCESS,
220 .verifyResult = HKS_SUCCESS,
241 .verifyResult = HKS_SUCCESS,
263 .verifyResult = HKS_SUCCESS,
[all …]
Dhks_rsa_sha1_with_rsa_pss_mt.cpp51 .verifyResult = HKS_SUCCESS,
72 .verifyResult = HKS_SUCCESS,
92 .verifyResult = HKS_SUCCESS,
114 .verifyResult = HKS_SUCCESS,
134 .verifyResult = HKS_SUCCESS,
155 .verifyResult = HKS_SUCCESS,
175 .verifyResult = HKS_SUCCESS,
197 .verifyResult = HKS_SUCCESS,
217 .verifyResult = HKS_SUCCESS,
238 .verifyResult = HKS_SUCCESS,
[all …]
Dhks_rsa_none_with_rsa_mt.cpp59 .verifyResult = HKS_SUCCESS,
81 .verifyResult = HKS_SUCCESS,
102 .verifyResult = HKS_SUCCESS,
125 .verifyResult = HKS_SUCCESS,
146 .verifyResult = HKS_SUCCESS,
168 .verifyResult = HKS_SUCCESS,
189 .verifyResult = HKS_SUCCESS,
212 .verifyResult = HKS_SUCCESS,
233 .verifyResult = HKS_SUCCESS,
255 .verifyResult = HKS_SUCCESS,
[all …]
Dhks_rsa_sha384_with_rsa_pss_mt.cpp62 .verifyResult = HKS_SUCCESS,
88 .verifyResult = HKS_SUCCESS,
110 .verifyResult = HKS_SUCCESS,
133 .verifyResult = HKS_SUCCESS,
154 .verifyResult = HKS_SUCCESS,
176 .verifyResult = HKS_SUCCESS,
197 .verifyResult = HKS_SUCCESS,
220 .verifyResult = HKS_SUCCESS,
241 .verifyResult = HKS_SUCCESS,
263 .verifyResult = HKS_SUCCESS,
[all …]
Dhks_rsa_sha512_with_rsa_pss_mt.cpp62 .verifyResult = HKS_SUCCESS,
88 .verifyResult = HKS_SUCCESS,
110 .verifyResult = HKS_SUCCESS,
133 .verifyResult = HKS_SUCCESS,
157 .verifyResult = HKS_SUCCESS,
183 .verifyResult = HKS_SUCCESS,
205 .verifyResult = HKS_SUCCESS,
228 .verifyResult = HKS_SUCCESS,
249 .verifyResult = HKS_SUCCESS,
271 .verifyResult = HKS_SUCCESS,
[all …]
Dhks_rsa_sha256_with_rsa_pss_mt.cpp59 .verifyResult = HKS_SUCCESS,
81 .verifyResult = HKS_SUCCESS,
102 .verifyResult = HKS_SUCCESS,
125 .verifyResult = HKS_SUCCESS,
146 .verifyResult = HKS_SUCCESS,
168 .verifyResult = HKS_SUCCESS,
189 .verifyResult = HKS_SUCCESS,
212 .verifyResult = HKS_SUCCESS,
233 .verifyResult = HKS_SUCCESS,
255 .verifyResult = HKS_SUCCESS,
[all …]
Dhks_rsa_sha1_with_rsa_mt.cpp51 .verifyResult = HKS_SUCCESS,
72 .verifyResult = HKS_SUCCESS,
92 .verifyResult = HKS_SUCCESS,
114 .verifyResult = HKS_SUCCESS,
134 .verifyResult = HKS_SUCCESS,
155 .verifyResult = HKS_SUCCESS,
175 .verifyResult = HKS_SUCCESS,
197 .verifyResult = HKS_SUCCESS,
217 .verifyResult = HKS_SUCCESS,
238 .verifyResult = HKS_SUCCESS,
[all …]
Dhks_rsa_sha224_with_rsa_pss_mt.cpp51 .verifyResult = HKS_SUCCESS,
72 .verifyResult = HKS_SUCCESS,
92 .verifyResult = HKS_SUCCESS,
114 .verifyResult = HKS_SUCCESS,
134 .verifyResult = HKS_SUCCESS,
155 .verifyResult = HKS_SUCCESS,
175 .verifyResult = HKS_SUCCESS,
197 .verifyResult = HKS_SUCCESS,
217 .verifyResult = HKS_SUCCESS,
238 .verifyResult = HKS_SUCCESS,
[all …]
Dhks_rsa_sha512_with_rsa_mt.cpp62 .verifyResult = HKS_SUCCESS,
88 .verifyResult = HKS_SUCCESS,
110 .verifyResult = HKS_SUCCESS,
133 .verifyResult = HKS_SUCCESS,
154 .verifyResult = HKS_SUCCESS,
176 .verifyResult = HKS_SUCCESS,
197 .verifyResult = HKS_SUCCESS,
220 .verifyResult = HKS_SUCCESS,
241 .verifyResult = HKS_SUCCESS,
263 .verifyResult = HKS_SUCCESS,
[all …]
Dhks_rsa_sha224_with_rsa_mt.cpp51 .verifyResult = HKS_SUCCESS,
72 .verifyResult = HKS_SUCCESS,
92 .verifyResult = HKS_SUCCESS,
114 .verifyResult = HKS_SUCCESS,
134 .verifyResult = HKS_SUCCESS,
155 .verifyResult = HKS_SUCCESS,
175 .verifyResult = HKS_SUCCESS,
197 .verifyResult = HKS_SUCCESS,
217 .verifyResult = HKS_SUCCESS,
238 .verifyResult = HKS_SUCCESS,
[all …]
Dhks_rsa_md5_with_rsa_mt.cpp55 .verifyResult = HKS_SUCCESS,
76 .verifyResult = HKS_SUCCESS,
96 .verifyResult = HKS_SUCCESS,
118 .verifyResult = HKS_SUCCESS,
138 .verifyResult = HKS_SUCCESS,
159 .verifyResult = HKS_SUCCESS,
179 .verifyResult = HKS_SUCCESS,
201 .verifyResult = HKS_SUCCESS,
221 .verifyResult = HKS_SUCCESS,
242 .verifyResult = HKS_SUCCESS,
[all …]
Dhks_rsa_sha256_with_rsa_mt.cpp59 .verifyResult = HKS_SUCCESS,
81 .verifyResult = HKS_SUCCESS,
102 .verifyResult = HKS_SUCCESS,
125 .verifyResult = HKS_SUCCESS,
146 .verifyResult = HKS_SUCCESS,
168 .verifyResult = HKS_SUCCESS,
189 .verifyResult = HKS_SUCCESS,
212 .verifyResult = HKS_SUCCESS,
233 .verifyResult = HKS_SUCCESS,
255 .verifyResult = HKS_SUCCESS,
[all …]
Dhks_dsa_mt.cpp44 HksErrorCode verifyResult = HksErrorCode::HKS_SUCCESS; member
66 .verifyResult = HKS_SUCCESS,
89 .verifyResult = HKS_SUCCESS,
112 .verifyResult = HKS_SUCCESS,
135 .verifyResult = HKS_SUCCESS,
156 .verifyResult = HKS_ERROR_INVALID_ARGUMENT,
158 .verifyResult = HKS_SUCCESS,
181 .verifyResult = HKS_SUCCESS,
204 .verifyResult = HKS_SUCCESS,
227 .verifyResult = HKS_SUCCESS,
[all …]
Dhks_rsa_common_mt.cpp402 testCaseParams.verifyResult); in SignLocalTestCase()
406 testCaseParams.verifyResult); in SignLocalTestCase()
464 testCaseParams.verifyResult); in SignServiceTestCase()
468 testCaseParams.verifyResult); in SignServiceTestCase()
530 … EXPECT_EQ(HksVerify(&publicKey, paramInSet, &plainText, &signData), testCaseParams.verifyResult); in VerifyLocalTestCase()
589 … EXPECT_EQ(HksVerify(&authId, paramInSet, &plainText, &signData), testCaseParams.verifyResult); in VerifyServiceTestCase()
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/include/
Dhks_rsa_common_mt.h99 HksErrorCode verifyResult = HksErrorCode::HKS_SUCCESS; member
110 HksErrorCode verifyResult = HksErrorCode::HKS_SUCCESS; member
120 HksErrorCode verifyResult = HksErrorCode::HKS_SUCCESS; member
132 HksErrorCode verifyResult = HksErrorCode::HKS_SUCCESS; member
/base/security/device_security_level/services/dfx/
Ddslm_hidumper.c136 static void GetDefaultStatus(int32_t *requestResult, int32_t *verifyResult, uint32_t *credLevel) in GetDefaultStatus() argument
138 if (requestResult == NULL || verifyResult == NULL || credLevel == NULL) { in GetDefaultStatus()
155 *verifyResult = DefaultVerifyDslmCred(&identify, object.challenge, cred, &info); in GetDefaultStatus()
250 int32_t verifyResult = 0; in PrintDefaultStatus() local
253 GetDefaultStatus(&requestResult, &verifyResult, &credLevel); in PrintDefaultStatus()
262 …dprintf(fd, "VERIFY_TEST : %s%s" END_LINE, verifyResult == SUCCESS ? "success" : "fa… in PrintDefaultStatus()
/base/security/appverify/
DREADME_zh.md75 Security::Verify::HapVerifyResult verifyResult;
76 int32_t res = Security::Verify::HapVerify(hapPath, verifyResult);
/base/hiviewdfx/hiview/adapter/service/idl/src/
Dhiview_service_ability_stub.cpp71 …int verifyResult = Security::AccessToken::AccessTokenKit::VerifyAccessToken(callerToken, iter->sec… in IsPermissionGranted() local
72 if (verifyResult == Security::AccessToken::PERMISSION_GRANTED) { in IsPermissionGranted()
/base/update/sys_installer/frameworks/ipc_server/src/
Dsys_installer_stub.cpp147 …int verifyResult = Security::AccessToken::AccessTokenKit::VerifyAccessToken(callerToken, permissio… in IsPermissionGranted() local
148 bool isPermissionGranted = (verifyResult == Security::AccessToken::PERMISSION_GRANTED); in IsPermissionGranted()

12