| /base/security/crypto_framework/test/unittest/src/ecc/ |
| D | crypto_ecc_sign_test.cpp | 62 int32_t res = HcfAsyKeyGeneratorCreate("ECC224", &generator); in SetUpTestCase() local 139 int32_t res = HcfSignCreate("ECC224|SHA1", &sign); variable 150 int32_t res = HcfSignCreate("ECC224|SHA224", &sign); variable 161 int32_t res = HcfSignCreate("ECC224|SHA256", &sign); variable 172 int32_t res = HcfSignCreate("ECC224|SHA384", &sign); variable 183 int32_t res = HcfSignCreate("ECC224|SHA512", &sign); variable 194 int32_t res = HcfSignCreate("ECC256|SHA1", &sign); variable 205 int32_t res = HcfSignCreate("ECC256|SHA224", &sign); variable 216 int32_t res = HcfSignCreate("ECC256|SHA256", &sign); variable 227 int32_t res = HcfSignCreate("ECC256|SHA384", &sign); variable [all …]
|
| D | crypto_ecc_verify_test.cpp | 62 int32_t res = HcfAsyKeyGeneratorCreate("ECC224", &generator); in SetUpTestCase() local 139 int32_t res = HcfVerifyCreate("ECC224|SHA1", &verify); variable 150 int32_t res = HcfVerifyCreate("ECC224|SHA224", &verify); variable 161 int32_t res = HcfVerifyCreate("ECC224|SHA256", &verify); variable 172 int32_t res = HcfVerifyCreate("ECC224|SHA384", &verify); variable 183 int32_t res = HcfVerifyCreate("ECC224|SHA512", &verify); variable 194 int32_t res = HcfVerifyCreate("ECC256|SHA1", &verify); variable 205 int32_t res = HcfVerifyCreate("ECC256|SHA224", &verify); variable 216 int32_t res = HcfVerifyCreate("ECC256|SHA256", &verify); variable 227 int32_t res = HcfVerifyCreate("ECC256|SHA384", &verify); variable [all …]
|
| D | crypto_ecc_no_length_sign_test.cpp | 219 int32_t res = ConstructEcc224KeyPairParamsSpec(¶mSpec); in CryptoEccNoLengthSignTestSubEcc224() local 240 int32_t res = ConstructEcc256KeyPairParamsSpec(¶mSpec); in CryptoEccNoLengthSignTestSubEcc256() local 261 int32_t res = ConstructEcc384KeyPairParamsSpec(¶mSpec); in CryptoEccNoLengthSignTestSubEcc384() local 281 int32_t res = ConstructEcc521KeyPairParamsSpec(¶mSpec); in CryptoEccNoLengthSignTestSubEcc521() local 327 int32_t res = HcfSignCreate("ECC|SHA1", &sign); variable 338 int32_t res = HcfSignCreate("ECC|SHA224", &sign); variable 349 int32_t res = HcfSignCreate("ECC|SHA256", &sign); variable 360 int32_t res = HcfSignCreate("ECC|SHA384", &sign); variable 371 int32_t res = HcfSignCreate("ECC|SHA512", &sign); variable 382 int32_t res = HcfSignCreate("ecc|SHA512", &sign); variable [all …]
|
| D | crypto_ecc_no_length_verify_test.cpp | 222 int32_t res = ConstructEcc224KeyPairParamsSpec(¶mSpec); in CryptoEccNoLengthSignTestSubEcc224() local 243 int32_t res = ConstructEcc256KeyPairParamsSpec(¶mSpec); in CryptoEccNoLengthSignTestSubEcc256() local 264 int32_t res = ConstructEcc384KeyPairParamsSpec(¶mSpec); in CryptoEccNoLengthSignTestSubEcc384() local 284 int32_t res = ConstructEcc521KeyPairParamsSpec(¶mSpec); in CryptoEccNoLengthSignTestSubEcc521() local 330 int32_t res = HcfVerifyCreate("ECC|SHA1", &verify); variable 341 int32_t res = HcfVerifyCreate("ECC|SHA224", &verify); variable 352 int32_t res = HcfVerifyCreate("ECC|SHA256", &verify); variable 363 int32_t res = HcfVerifyCreate("ECC|SHA384", &verify); variable 374 int32_t res = HcfVerifyCreate("ECC|SHA512", &verify); variable 385 int32_t res = HcfVerifyCreate("ecc|SHA512", &verify); variable [all …]
|
| D | crypto_ecc_asy_key_generator_by_spec_test.cpp | 65 int32_t res = ConstructEcc224CommParamsSpec(¶mSpec); variable 81 int32_t res = ConstructEcc224PubKeyParamsSpec(¶mSpec); variable 97 int32_t res = ConstructEcc224PriKeyParamsSpec(¶mSpec); variable 113 int32_t res = ConstructEcc224KeyPairParamsSpec(¶mSpec); variable 135 int32_t res = ConstructEcc256CommParamsSpec(¶mSpec); variable 151 int32_t res = ConstructEcc256PubKeyParamsSpec(¶mSpec); variable 167 int32_t res = ConstructEcc256PriKeyParamsSpec(¶mSpec); variable 183 int32_t res = ConstructEcc256KeyPairParamsSpec(¶mSpec); variable 205 int32_t res = ConstructEcc384CommParamsSpec(¶mSpec); variable 221 int32_t res = ConstructEcc384PubKeyParamsSpec(¶mSpec); variable [all …]
|
| /base/security/crypto_framework/test/unittest/src/ |
| D | crypto_brainpool_asy_key_generator_test.cpp | 74 HcfResult res = HcfAsyKeyGeneratorCreate(algName, &generator); in HcfAsyKeyGeneratorCreateTest() local 83 HcfResult res = HcfAsyKeyGeneratorCreate("ECC_BrainPoolP160r1", &g_160r1Generator); in SetUpTestCase() local 100 HcfResult res = HcfAsyKeyGeneratorCreateTest("ECC_BrainPoolP160r1"); variable 106 HcfResult res = HcfAsyKeyGeneratorCreateTest("ECC_BrainPoolP160t1"); variable 112 HcfResult res = HcfAsyKeyGeneratorCreateTest("ECC_BrainPoolP192r1"); variable 118 HcfResult res = HcfAsyKeyGeneratorCreateTest("ECC_BrainPoolP192t1"); variable 124 HcfResult res = HcfAsyKeyGeneratorCreateTest("ECC_BrainPoolP224r1"); variable 130 HcfResult res = HcfAsyKeyGeneratorCreateTest("ECC_BrainPoolP224t1"); variable 136 HcfResult res = HcfAsyKeyGeneratorCreateTest("ECC_BrainPoolP256r1"); variable 142 HcfResult res = HcfAsyKeyGeneratorCreateTest("ECC_BrainPoolP256t1"); variable [all …]
|
| D | crypto_sm2_sign_test.cpp | 56 HcfResult res = HcfAsyKeyGeneratorCreate("SM2_256", &generator); in SetUpTestCase() local 88 HcfResult res = HcfSignCreate(algName, &sign); in HcfSignCreateTest() local 97 HcfResult res = HcfSignCreateTest("SM2|SM3"); variable 103 HcfResult res = HcfSignCreateTest(nullptr); variable 109 …HcfResult res = HcfSignCreateTest("ABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABC… variable 116 HcfResult res = HcfSignCreateTest("SM5|SM3"); variable 122 HcfResult res = HcfSignCreateTest("SM2|SM5"); variable 128 HcfResult res = HcfSignCreateTest("SM2|MD5"); variable 134 HcfResult res = HcfSignCreateTest("SM2SM3"); variable 140 HcfResult res = HcfSignCreate("SM2|SM3", nullptr); variable [all …]
|
| D | crypto_dh_asy_key_generator_test.cpp | 306 HcfResult res = g_dh1536Generator->generateKeyPair(g_dh1536Generator, nullptr, &keyPair); in DH1536KeyBlob() local 329 HcfResult res = HcfAsyKeyGeneratorCreate("ECC_BrainPoolP160r1", &generator); in ECC_BrainPool160r1KeyBlob() local 361 HcfResult res = HcfAsyKeyGeneratorCreate(algName, &generator); in HcfAsyKeyGeneratorCreateTest() local 370 HcfResult res = HcfAsyKeyGeneratorCreate("DH_modp1536", &g_dh1536Generator); in SetUpTestCase() local 384 HcfResult res = HcfAsyKeyGeneratorCreateTest("DH_modp1536"); variable 390 HcfResult res = HcfAsyKeyGeneratorCreateTest("DH_modp2048"); variable 396 HcfResult res = HcfAsyKeyGeneratorCreateTest("DH_modp3072"); variable 402 HcfResult res = HcfAsyKeyGeneratorCreateTest("DH_modp4096"); variable 408 HcfResult res = HcfAsyKeyGeneratorCreateTest("DH_modp6144"); variable 414 HcfResult res = HcfAsyKeyGeneratorCreateTest("DH_modp8192"); variable [all …]
|
| D | crypto_brainpool_no_length_sign_test.cpp | 74 HcfResult res = HcfSignCreate(algName, &sign); in HcfSignCreateTest() local 83 HcfResult res = HcfSignCreateTest("ECC_BrainPoolP160r1|SHA1"); variable 89 HcfResult res = HcfSignCreateTest("ECC_BrainPoolP160r1|SHA224"); variable 95 HcfResult res = HcfSignCreateTest("ECC_BrainPoolP160r1|SHA256"); variable 101 HcfResult res = HcfSignCreateTest("ECC_BrainPoolP160r1|SHA384"); variable 107 HcfResult res = HcfSignCreateTest("ECC_BrainPoolP160r1|SHA512"); variable 113 HcfResult res = HcfSignCreateTest("ECC_BrainPoolP160r1|MD5"); variable 120 HcfResult res = HcfSignCreate("ECC_BrainPoolP160r1|SHA256", &sign); variable 132 HcfResult res = HcfSignCreate("ECC_BrainPoolP160r1|SHA256", &sign); variable 141 HcfResult res = HcfSignCreate("ECC_BrainPoolP160r1|SHA256", &sign); variable [all …]
|
| D | crypto_ecc_key_agreement_test.cpp | 55 int32_t res = HcfAsyKeyGeneratorCreate("ECC224", &generator); in SetUpTestCase() local 132 int32_t res = HcfKeyAgreementCreate("ECC224", &keyAgreement); variable 143 int32_t res = HcfKeyAgreementCreate("ECC256", &keyAgreement); variable 154 int32_t res = HcfKeyAgreementCreate("ECC384", &keyAgreement); variable 165 int32_t res = HcfKeyAgreementCreate("ECC521", &keyAgreement); variable 176 int32_t res = HcfKeyAgreementCreate(nullptr, &keyAgreement); variable 185 …int32_t res = HcfKeyAgreementCreate("ABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDA… variable 195 int32_t res = HcfKeyAgreementCreate("ECC257", &keyAgreement); variable 203 int32_t res = HcfKeyAgreementCreate("ECC256", nullptr); variable 211 int32_t res = HcfKeyAgreementCreate("ECC256", &keyAgreement); variable [all …]
|
| D | crypto_brainpool_key_agreement_test.cpp | 57 HcfResult res = HcfKeyAgreementCreate(algName, &keyAgreement); in HcfKeyAgreementCreateTest() local 66 HcfResult res = HcfKeyAgreementCreateTest("ECC_BrainPoolP160r1"); variable 72 HcfResult res = HcfKeyAgreementCreateTest(nullptr); variable 78 …HcfResult res = HcfKeyAgreementCreateTest("ABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABC… variable 85 HcfResult res = HcfKeyAgreementCreateTest("SM257"); variable 91 HcfResult res = HcfKeyAgreementCreate("ECC_BrainPoolP512t1", nullptr); variable 98 HcfResult res = HcfKeyAgreementCreate("ECC_BrainPoolP160r1", &keyAgreement); variable 111 HcfResult res = HcfKeyAgreementCreate("ECC_BrainPoolP160r1", &keyAgreement); variable 121 HcfResult res = HcfKeyAgreementCreate("ECC_BrainPoolP160r1", &keyAgreement); variable 133 HcfResult res = HcfKeyAgreementCreate("ECC_BrainPoolP160r1", &keyAgreement); variable [all …]
|
| D | crypto_sm2_asy_key_generator_test.cpp | 86 int32_t res = HcfAsyKeyGeneratorCreate("SM2_256", &generator); variable 97 int32_t res = HcfAsyKeyGeneratorCreate(nullptr, &generator); variable 106 …int32_t res = HcfAsyKeyGeneratorCreate("ABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDAB… variable 116 int32_t res = HcfAsyKeyGeneratorCreate("SM2_257", &generator); variable 124 int32_t res = HcfAsyKeyGeneratorCreate("SM2_256", nullptr); variable 132 int32_t res = HcfAsyKeyGeneratorCreate("SM2_256", &generator); variable 146 int32_t res = HcfAsyKeyGeneratorCreate("SM2_256", &generator); variable 157 int32_t res = HcfAsyKeyGeneratorCreate("SM2_256", &generator); variable 170 int32_t res = HcfAsyKeyGeneratorCreate("SM2_256", &generator); variable 183 int32_t res = HcfAsyKeyGeneratorCreate("SM2_256", &generator); variable [all …]
|
| D | crypto_sm2_verify_test.cpp | 56 int32_t res = HcfAsyKeyGeneratorCreate("SM2_256", &generator); in SetUpTestCase() local 88 int32_t res = HcfVerifyCreate("SM2|SM3", &verify); variable 99 int32_t res = HcfVerifyCreate(nullptr, &verify); variable 108 …int32_t res = HcfVerifyCreate("ABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABC… variable 118 int32_t res = HcfVerifyCreate("SM5|SM3", &verify); variable 127 int32_t res = HcfVerifyCreate("SM2|SM5", &verify); variable 136 int32_t res = HcfVerifyCreate("SM2|MD5", &verify); variable 145 int32_t res = HcfVerifyCreate("SM2SM3", &verify); variable 153 int32_t res = HcfVerifyCreate("SM2|SM3", nullptr); variable 161 int32_t res = HcfVerifyCreate("SM2|SM3", &verify); variable [all …]
|
| D | crypto_ecc_asy_key_generator_test.cpp | 156 int32_t res = HcfAsyKeyGeneratorCreate("ECC224", &generator); variable 167 int32_t res = HcfAsyKeyGeneratorCreate("ECC256", &generator); variable 178 int32_t res = HcfAsyKeyGeneratorCreate("ECC384", &generator); variable 189 int32_t res = HcfAsyKeyGeneratorCreate("ECC521", &generator); variable 200 int32_t res = HcfAsyKeyGeneratorCreate(nullptr, &generator); variable 209 …int32_t res = HcfAsyKeyGeneratorCreate("ABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDAB… variable 219 int32_t res = HcfAsyKeyGeneratorCreate("ECC225", &generator); variable 227 int32_t res = HcfAsyKeyGeneratorCreate("ECC224", nullptr); variable 235 int32_t res = HcfAsyKeyGeneratorCreate("ECC224", &generator); variable 249 int32_t res = HcfAsyKeyGeneratorCreate("ECC224", &generator); variable [all …]
|
| D | crypto_rsa_asy_key_generator_test.cpp | 82 HcfResult res = HcfAsyKeyGeneratorCreate("RSA512", &generator); variable 95 HcfResult res = HcfAsyKeyGeneratorCreate("RSA768", &generator); variable 108 HcfResult res = HcfAsyKeyGeneratorCreate("RSA1024", &generator); variable 122 HcfResult res = HcfAsyKeyGeneratorCreate("RSA2048", &generator); variable 135 HcfResult res = HcfAsyKeyGeneratorCreate("RSA3072", &generator); variable 148 HcfResult res = HcfAsyKeyGeneratorCreate("RSA4096", &generator); variable 162 HcfResult res = HcfAsyKeyGeneratorCreate("RSA512|PRIMES_2", &generator); variable 175 HcfResult res = HcfAsyKeyGeneratorCreate("RSA768|PRIMES_2", &generator); variable 188 HcfResult res = HcfAsyKeyGeneratorCreate("RSA1024|PRIMES_2", &generator); variable 201 HcfResult res = HcfAsyKeyGeneratorCreate("RSA1024|PRIMES_3", &generator); variable [all …]
|
| D | crypto_brainpool_no_length_verify_test.cpp | 73 HcfResult res = HcfVerifyCreate(algName, &verify); in HcfVerifyCreateTest() local 82 HcfResult res = HcfVerifyCreateTest("ECC_BrainPoolP160r1|SHA1"); variable 88 HcfResult res = HcfVerifyCreateTest("ECC_BrainPoolP160r1|SHA224"); variable 94 HcfResult res = HcfVerifyCreateTest("ECC_BrainPoolP160r1|SHA256"); variable 100 HcfResult res = HcfVerifyCreateTest("ECC_BrainPoolP160r1|SHA384"); variable 106 HcfResult res = HcfVerifyCreateTest("ECC_BrainPoolP160r1|SHA512"); variable 112 HcfResult res = HcfVerifyCreateTest("ECC_BrainPoolP160r1|MD5"); variable 119 HcfResult res = HcfVerifyCreate("ECC_BrainPoolP160r1|SHA224", &verify); variable 132 HcfResult res = HcfVerifyCreate("ECC_BrainPoolP160r1|SHA224", &verify); variable 142 HcfResult res = HcfVerifyCreate("ECC_BrainPoolP160r1|SHA224", &verify); variable [all …]
|
| D | crypto_dh_key_agreement_test.cpp | 78 HcfResult res = HcfKeyAgreementCreate(algName, &keyAgreement); in HcfKeyAgreementCreateTest() local 87 HcfResult res = HCF_ERR_CRYPTO_OPERATION; in ExchangekeyAgreementWithDiffSkLen() local 140 int32_t res = HcfAsyKeyGeneratorCreate("DH_modp1536", &generator); in SetUpTestCase() local 188 HcfResult res = HcfKeyAgreementCreateTest("DH_modp1536"); variable 194 HcfResult res = HcfKeyAgreementCreateTest("DH_modp2048"); variable 200 HcfResult res = HcfKeyAgreementCreateTest("DH_modp3072"); variable 206 HcfResult res = HcfKeyAgreementCreateTest("DH_modp4096"); variable 212 HcfResult res = HcfKeyAgreementCreateTest("DH_modp6144"); variable 218 HcfResult res = HcfKeyAgreementCreateTest("DH_modp8192"); variable 224 HcfResult res = HcfKeyAgreementCreateTest("DH_ffdhe2048"); variable [all …]
|
| D | crypto_ecc_key_util_test.cpp | 100 HcfResult res = HcfEccKeyUtilCreate("NID_brainpoolP160r1", &returnCommonParamSpec); variable 110 HcfResult res = HcfEccKeyUtilCreate("NID_brainpoolP160t1", &returnCommonParamSpec); variable 120 HcfResult res = HcfEccKeyUtilCreate("NID_brainpoolP192r1", &returnCommonParamSpec); variable 130 HcfResult res = HcfEccKeyUtilCreate("NID_brainpoolP192t1", &returnCommonParamSpec); variable 140 HcfResult res = HcfEccKeyUtilCreate("NID_brainpoolP224r1", &returnCommonParamSpec); variable 150 HcfResult res = HcfEccKeyUtilCreate("NID_brainpoolP224t1", &returnCommonParamSpec); variable 160 HcfResult res = HcfEccKeyUtilCreate("NID_brainpoolP256r1", &returnCommonParamSpec); variable 170 HcfResult res = HcfEccKeyUtilCreate("NID_brainpoolP256t1", &returnCommonParamSpec); variable 180 HcfResult res = HcfEccKeyUtilCreate("NID_brainpoolP320r1", &returnCommonParamSpec); variable 190 HcfResult res = HcfEccKeyUtilCreate("NID_brainpoolP320t1", &returnCommonParamSpec); variable [all …]
|
| /base/security/device_auth/test/unittest/deviceauth/source/ |
| D | key_agree_sdk_test.cpp | 73 … KeyAgreeResult res = KeyAgreeInitSession(g_session, KEYAGREE_PROTOCOL_ANY, KEYAGREE_TYPE_CLIENT); variable 80 …KeyAgreeResult res = KeyAgreeInitSession(g_session_s, KEYAGREE_PROTOCOL_ANY, KEYAGREE_TYPE_SERVER); variable 87 …KeyAgreeResult res = KeyAgreeInitSession(g_session, KEYAGREE_PROTOCOL_DL_SPEKE_256, KEYAGREE_TYPE_… variable 94 …KeyAgreeResult res = KeyAgreeInitSession(g_session, KEYAGREE_PROTOCOL_DL_SPEKE_384, KEYAGREE_TYPE_… variable 101 …KeyAgreeResult res = KeyAgreeInitSession(g_session, KEYAGREE_PROTOCOL_EC_SPEKE_P256, KEYAGREE_TYPE… variable 108 …KeyAgreeResult res = KeyAgreeInitSession(g_session, KEYAGREE_PROTOCOL_EC_SPEKE_X25519, KEYAGREE_TY… variable 115 …KeyAgreeResult res = KeyAgreeInitSession(NULL, KEYAGREE_PROTOCOL_EC_SPEKE_X25519, KEYAGREE_TYPE_CL… variable 163 … KeyAgreeResult res = KeyAgreeInitSession(g_session, KEYAGREE_PROTOCOL_ANY, KEYAGREE_TYPE_CLIENT); variable 173 … KeyAgreeResult res = KeyAgreeInitSession(g_session, KEYAGREE_PROTOCOL_ANY, KEYAGREE_TYPE_CLIENT); variable 183 … KeyAgreeResult res = KeyAgreeInitSession(g_session, KEYAGREE_PROTOCOL_ANY, KEYAGREE_TYPE_CLIENT); variable [all …]
|
| /base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_image_util_test/ |
| D | ans_image_util_unit_test.cpp | 84 std::string res = imageUtil->PackImage(pixelMap, format); variable 103 std::string res = imageUtil->PackImage(nullptr, format); variable 121 std::string res = imageUtil->PackImage(pixelMap, ""); variable 143 std::string res = imageUtil->PackImage(pixelMap, format); variable 164 std::shared_ptr<Media::PixelMap> res = imageUtil->UnPackImage(pixelMapStr); variable 184 std::shared_ptr<Media::PixelMap> res = imageUtil->UnPackImage(pixelMapStr); variable 204 std::shared_ptr<Media::PixelMap> res = imageUtil->UnPackImage(pixelMapStr); variable 224 std::shared_ptr<Media::PixelMap> res = imageUtil->UnPackImage(pixelMapStr); variable 244 std::shared_ptr<Media::PixelMap> res = imageUtil->UnPackImage(pixelMapStr); variable 264 std::shared_ptr<Media::PixelMap> res = imageUtil->UnPackImage(pixelMapStr); variable [all …]
|
| /base/security/device_auth/test/unittest/tdd_framework/unit_test/services/session_manager/session/v2/auth_sub_session/protocol_lib/ |
| D | iso_protocol_test.cpp | 95 int32_t res = CreateIsoProtocol(&g_paramsC, true, &self); variable 104 int32_t res = CreateIsoProtocol(&g_paramsC, true, &client); variable 162 int32_t res = CreateIsoProtocol(&g_paramsC, true, &client); variable 211 int32_t res = CreateIsoProtocol(nullptr, true, &self); variable 217 int32_t res = CreateIsoProtocol(&g_paramsC, true, nullptr); variable 225 int32_t res = CreateIsoProtocol(&errParams, true, &self); variable 233 int32_t res = CreateIsoProtocol(&errParams, true, &self); variable 240 int32_t res = CreateIsoProtocol(&g_paramsC, true, &self); variable 253 int32_t res = CreateIsoProtocol(&g_paramsC, true, &self); variable 266 int32_t res = CreateIsoProtocol(&g_paramsC, true, &self); variable [all …]
|
| D | ec_speke_protocol_test.cpp | 98 int32_t res = CreateEcSpekeProtocol(&g_X25519ParamsC, true, &self); variable 107 int32_t res = CreateEcSpekeProtocol(&g_X25519ParamsC, true, &client); variable 165 int32_t res = CreateEcSpekeProtocol(&g_P256ParamsC, true, &client); variable 223 int32_t res = CreateEcSpekeProtocol(&g_X25519ParamsC, true, &client); variable 272 int32_t res = CreateEcSpekeProtocol(nullptr, true, &self); variable 278 int32_t res = CreateEcSpekeProtocol(&g_X25519ParamsC, true, nullptr); variable 286 int32_t res = CreateEcSpekeProtocol(&errParams, true, &self); variable 294 int32_t res = CreateEcSpekeProtocol(&errParams, true, &self); variable 301 int32_t res = CreateEcSpekeProtocol(&g_X25519ParamsC, true, &self); variable 314 int32_t res = CreateEcSpekeProtocol(&g_X25519ParamsC, true, &self); variable [all …]
|
| /base/security/dlp_permission_service/services/dlp_permission/sa/test/unittest/src/ |
| D | dlp_callback_test.cpp | 89 int32_t res = DlpSandboxChangeCallbackManager::GetInstance().AddCallback(0, nullptr); variable 160 int32_t res = variable 176 int32_t res = OpenDlpFileCallbackManager::GetInstance().AddCallback( variable 200 int32_t res = OpenDlpFileCallbackManager::GetInstance().AddCallback( variable 206 int32_t res = OpenDlpFileCallbackManager::GetInstance().AddCallback( variable 223 int32_t res = OpenDlpFileCallbackManager::GetInstance().AddCallback( variable 230 int32_t res = OpenDlpFileCallbackManager::GetInstance().AddCallback( variable 244 int32_t res = OpenDlpFileCallbackManager::GetInstance().RemoveCallback(getpid(), nullptr); variable 259 int32_t res = OpenDlpFileCallbackManager::GetInstance().AddCallback( variable 277 int32_t res = OpenDlpFileCallbackManager::GetInstance().AddCallback( variable [all …]
|
| /base/security/crypto_framework/test/unittest/src/sm2/ |
| D | crypto_sm2_asy_key_generator_by_spec_test.cpp | 92 HcfResult res = ConstructSm2256CommParamsSpec(¶mSpec); variable 111 HcfResult res = HcfAsyKeyGeneratorBySpecCreate(nullptr, &generator); variable 122 HcfResult res = ConstructSm2256CommParamsSpec(¶mSpec); variable 135 HcfResult res = ConstructSm2256CommParamsSpec(¶mSpec); variable 156 HcfResult res = ConstructSm2256CommParamsSpec(¶mSpec); variable 174 HcfResult res = ConstructSm2256CommParamsSpec(¶mSpec); variable 193 HcfResult res = ConstructSm2256CommParamsSpec(¶mSpec); variable 211 HcfResult res = ConstructSm2256CommParamsSpec(¶mSpec); variable 231 HcfResult res = ConstructSm2256CommParamsSpec(¶mSpec); variable 252 HcfResult res = ConstructSm2256CommParamsSpec(¶mSpec); variable [all …]
|
| /base/security/device_auth/test/unittest/tdd_framework/unit_test/services/session_manager/session/v2/expand_sub_session/ |
| D | expand_sub_session_test.cpp | 105 int32_t res = CreateExpandSubSession(&g_nonce, &g_encryptionKey, &self); variable 114 int32_t res = CreateExpandSubSession(&g_nonce, &g_encryptionKey, &client); variable 160 int32_t res = CreateExpandSubSession(nullptr, &g_encryptionKey, &self); variable 168 int32_t res = CreateExpandSubSession(&invalidNonce, &g_encryptionKey, &self); variable 175 int32_t res = CreateExpandSubSession(&g_nonce, nullptr, &self); variable 183 int32_t res = CreateExpandSubSession(&invalidEncKey, &invalidEncKey, &self); variable 189 int32_t res = CreateExpandSubSession(&g_nonce, &g_encryptionKey, nullptr); variable 196 int32_t res = CreateExpandSubSession(&g_nonce, &g_encryptionKey, &self); variable 207 int32_t res = CreateExpandSubSession(&g_nonce, &g_encryptionKey, &self); variable 220 int32_t res = CreateExpandSubSession(&g_nonce, &g_encryptionKey, &self); variable [all …]
|