/ohos5.0/base/security/crypto_framework/test/unittest/include/ |
H A D | ecc_asy_key_common.h | 26 HcfResult ConstructEcc192CommParamsSpec(HcfAsyKeyParamsSpec **spec); 27 HcfResult ConstructEcc224CommParamsSpec(HcfAsyKeyParamsSpec **spec); 28 HcfResult ConstructEcc224PubKeyParamsSpec(HcfAsyKeyParamsSpec **spec); 29 HcfResult ConstructEcc224PriKeyParamsSpec(HcfAsyKeyParamsSpec **spec); 30 HcfResult ConstructEcc224KeyPairParamsSpec(HcfAsyKeyParamsSpec **spec); 31 HcfResult ConstructEcc256CommParamsSpec(HcfAsyKeyParamsSpec **spec); 32 HcfResult ConstructEcc256PubKeyParamsSpec(HcfAsyKeyParamsSpec **spec); 33 HcfResult ConstructEcc256PriKeyParamsSpec(HcfAsyKeyParamsSpec **spec); 35 HcfResult ConstructEcc384CommParamsSpec(HcfAsyKeyParamsSpec **spec); 36 HcfResult ConstructEcc384PubKeyParamsSpec(HcfAsyKeyParamsSpec **spec); [all …]
|
H A D | alg_25519_common_param_spec.h | 28 HcfResult ConstructAlg25519KeyPairParamsSpec(const char *algoName, bool choose, HcfAsyKeyParamsSpec… 29 HcfResult ConstructAlg25519PubKeyParamsSpec(const char *algoName, bool choose, HcfAsyKeyParamsSpec … 30 HcfResult ConstructAlg25519PriKeyParamsSpec(const char *algoName, bool choose, HcfAsyKeyParamsSpec … 40 HcfAsyKeyParamsSpec **paramSpec, HcfAsyKeyGeneratorBySpec **generator); 42 HcfAsyKeyParamsSpec **paramSpec, HcfAsyKeyGeneratorBySpec **generator); 44 HcfAsyKeyParamsSpec **paramSpec, HcfAsyKeyGeneratorBySpec **generator);
|
H A D | ecc_common_param_spec.h | 30 HcfAsyKeyParamsSpec **spec); 32 HcfAsyKeyParamsSpec **spec); 34 HcfAsyKeyParamsSpec **spec);
|
/ohos5.0/base/security/crypto_framework/test/unittest/src/ecc/ |
H A D | crypto_ecc_asy_key_generator_by_spec_test.cpp | 64 HcfAsyKeyParamsSpec *paramSpec = nullptr; 80 HcfAsyKeyParamsSpec *paramSpec = nullptr; 96 HcfAsyKeyParamsSpec *paramSpec = nullptr; 112 HcfAsyKeyParamsSpec *paramSpec = nullptr; 134 HcfAsyKeyParamsSpec *paramSpec = nullptr; 150 HcfAsyKeyParamsSpec *paramSpec = nullptr; 166 HcfAsyKeyParamsSpec *paramSpec = nullptr; 182 HcfAsyKeyParamsSpec *paramSpec = nullptr; 204 HcfAsyKeyParamsSpec *paramSpec = nullptr; 220 HcfAsyKeyParamsSpec *paramSpec = nullptr; [all …]
|
H A D | crypto_ecc_asy_key_generator_by_spec_sub_one_test.cpp | 59 HcfAsyKeyParamsSpec *paramSpec = nullptr; 88 HcfAsyKeyParamsSpec *paramSpec = nullptr; 117 HcfAsyKeyParamsSpec *paramSpec = nullptr; 146 HcfAsyKeyParamsSpec *paramSpec = nullptr; 175 HcfAsyKeyParamsSpec *paramSpec = nullptr; 204 HcfAsyKeyParamsSpec *paramSpec = nullptr; 233 HcfAsyKeyParamsSpec *paramSpec = nullptr; 262 HcfAsyKeyParamsSpec *paramSpec = nullptr; 291 HcfAsyKeyParamsSpec *paramSpec = nullptr; 320 HcfAsyKeyParamsSpec *paramSpec = nullptr; [all …]
|
H A D | ecc_asy_key_common.cpp | 35 HcfResult ConstructEcc192CommParamsSpec(HcfAsyKeyParamsSpec **spec) in ConstructEcc192CommParamsSpec() 59 *spec = reinterpret_cast<HcfAsyKeyParamsSpec *>(eccCommSpec); in ConstructEcc192CommParamsSpec() 63 HcfResult ConstructEcc224CommParamsSpec(HcfAsyKeyParamsSpec **spec) in ConstructEcc224CommParamsSpec() 87 *spec = reinterpret_cast<HcfAsyKeyParamsSpec *>(eccCommSpec); in ConstructEcc224CommParamsSpec() 91 HcfResult ConstructEcc224PubKeyParamsSpec(HcfAsyKeyParamsSpec **spec) in ConstructEcc224PubKeyParamsSpec() 119 *spec = reinterpret_cast<HcfAsyKeyParamsSpec *>(eccPubKeySpec); in ConstructEcc224PubKeyParamsSpec() 149 *spec = reinterpret_cast<HcfAsyKeyParamsSpec *>(eccPriKeySpec); in ConstructEcc224PriKeyParamsSpec() 187 HcfResult ConstructEcc256CommParamsSpec(HcfAsyKeyParamsSpec **spec) in ConstructEcc256CommParamsSpec() 211 *spec = reinterpret_cast<HcfAsyKeyParamsSpec *>(eccCommSpec); in ConstructEcc256CommParamsSpec() 335 *spec = reinterpret_cast<HcfAsyKeyParamsSpec *>(eccCommSpec); in ConstructEcc384CommParamsSpec() [all …]
|
H A D | crypto_ecc_asy_key_generator_by_spec_sub_two_test.cpp | 50 HcfAsyKeyParamsSpec *paramSpec = nullptr; 81 HcfAsyKeyParamsSpec *paramSpec = nullptr; 112 HcfAsyKeyParamsSpec *paramSpec = nullptr; 143 HcfAsyKeyParamsSpec *paramSpec = nullptr; 174 HcfAsyKeyParamsSpec *paramSpec = nullptr; 205 HcfAsyKeyParamsSpec *paramSpec = nullptr; 236 HcfAsyKeyParamsSpec *paramSpec = nullptr; 267 HcfAsyKeyParamsSpec *paramSpec = nullptr; 299 HcfAsyKeyParamsSpec *paramSpec = nullptr; 330 HcfAsyKeyParamsSpec *paramSpec = nullptr; [all …]
|
H A D | crypto_ecc_asy_key_generator_by_spec_sub_three_test.cpp | 70 HcfAsyKeyParamsSpec *paramSpec = nullptr; 100 HcfAsyKeyParamsSpec *paramSpec = nullptr; 130 HcfAsyKeyParamsSpec *paramSpec = nullptr; 160 HcfAsyKeyParamsSpec *paramSpec = nullptr; 190 HcfAsyKeyParamsSpec *paramSpec = nullptr; 220 HcfAsyKeyParamsSpec *paramSpec = nullptr; 250 HcfAsyKeyParamsSpec *paramSpec = nullptr; 280 HcfAsyKeyParamsSpec *paramSpec = nullptr; 311 HcfAsyKeyParamsSpec *paramSpec = nullptr; 341 HcfAsyKeyParamsSpec *paramSpec = nullptr; [all …]
|
/ohos5.0/base/security/crypto_framework/test/unittest/src/ |
H A D | crypto_asy_key_generator_cov_test.cpp | 259 static HcfAsyKeyParamsSpec dsaAsySpecCommCorrect = { 263 static HcfAsyKeyParamsSpec dsaAsySpecPkCorrect = { 267 static HcfAsyKeyParamsSpec dsaAsySpecKeyPairCorrect = { 271 static HcfAsyKeyParamsSpec dsaAsySpecNoAlg = { 275 static HcfAsyKeyParamsSpec dsaAsySpecErrorAlg = { 279 static HcfAsyKeyParamsSpec dsaAsySpecKeyPairErrorSpecType = { 1051 FreeAsyKeySpec(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaCommSpec)); 1062 FreeAsyKeySpec(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaCommSpec)); 1073 FreeAsyKeySpec(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaCommSpec)); 1084 FreeAsyKeySpec(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaCommSpec)); [all …]
|
H A D | crypto_dsa_asy_key_generator_by_spec_test.cpp | 233 static HcfAsyKeyParamsSpec asySpecComm = { 237 static HcfAsyKeyParamsSpec asySpecPk = { 241 static HcfAsyKeyParamsSpec asySpecKeyPair = { 292 …HcfResult ret = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&dsaKeyPair… 304 …HcfResult ret = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&dsaKeyPair… 317 …HcfResult ret = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&dsaKeyPair… 328 …HcfResult ret = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&dsaKeyPair… 359 …HcfResult ret = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&dsaKeyPair… 407 …HcfResult ret = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&dsaKeyPair… 438 …HcfResult ret = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&dsaKeyPair… [all …]
|
H A D | crypto_x25519_asy_key_generator_by_spec_test.cpp | 55 HcfAsyKeyParamsSpec *paramSpec = nullptr; 66 HcfAsyKeyParamsSpec *paramSpec = nullptr; 77 HcfAsyKeyParamsSpec *paramSpec = nullptr; 88 HcfAsyKeyParamsSpec *paramSpec = nullptr; 103 HcfAsyKeyParamsSpec *paramSpec = nullptr; 115 HcfAsyKeyParamsSpec *paramSpec = nullptr; 131 HcfAsyKeyParamsSpec *paramSpec = nullptr; 150 HcfAsyKeyParamsSpec *paramSpec = nullptr; 172 HcfAsyKeyParamsSpec *paramSpec = nullptr; 191 HcfAsyKeyParamsSpec *paramSpec = nullptr; [all …]
|
H A D | crypto_ed25519_asy_key_generator_by_spec_test.cpp | 67 HcfAsyKeyParamsSpec *paramSpec = nullptr; 78 HcfAsyKeyParamsSpec *paramSpec = nullptr; 89 HcfAsyKeyParamsSpec *paramSpec = nullptr; 100 HcfAsyKeyParamsSpec *paramSpec = nullptr; 115 HcfAsyKeyParamsSpec *paramSpec = nullptr; 129 HcfAsyKeyParamsSpec *paramSpec = nullptr; 145 HcfAsyKeyParamsSpec *paramSpec = nullptr; 165 HcfAsyKeyParamsSpec *paramSpec = nullptr; 187 HcfAsyKeyParamsSpec *paramSpec = nullptr; 207 HcfAsyKeyParamsSpec *paramSpec = nullptr; [all …]
|
H A D | crypto_rsa1024_asy_key_generator_by_spec_test.cpp | 57 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaCommSpe… 72 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPubKeyS… 88 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPairSpe… 105 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPairSpe… 122 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPubKeyS… 140 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPubKeyS… 243 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPairSpe… 266 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPairSpe… 289 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPairSpe… 492 …int32_t res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPairSpec)… [all …]
|
H A D | crypto_rsa2048_asy_key_generator_by_spec_test.cpp | 56 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaCommSpe… 71 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPubKeyS… 87 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPairSpe… 104 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPairSpe… 121 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPubKeyS… 139 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPubKeyS… 242 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPairSpe… 265 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPairSpe… 288 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPairSpe… 491 …int32_t res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPairSpec)… [all …]
|
H A D | crypto_rsa3072_asy_key_generator_by_spec_test.cpp | 56 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaCommSpe… 71 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPubKeyS… 87 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPairSpe… 104 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPairSpe… 121 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPubKeyS… 139 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPubKeyS… 242 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPairSpe… 265 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPairSpe… 288 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPairSpe… 491 …int32_t res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPairSpec)… [all …]
|
H A D | crypto_rsa4096_asy_key_generator_by_spec_test.cpp | 56 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaCommSpe… 71 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPubKeyS… 87 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPairSpe… 104 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPairSpe… 121 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPubKeyS… 139 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPubKeyS… 242 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPairSpe… 265 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPairSpe… 288 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPairSpe… 491 …int32_t res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPairSpec)… [all …]
|
H A D | crypto_rsa512_asy_key_generator_by_spec_test.cpp | 57 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaCommSpe… 72 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPubKeyS… 88 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPairSpe… 105 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPairSpe… 122 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPubKeyS… 140 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPubKeyS… 243 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPairSpe… 266 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPairSpe… 289 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPairSpe… 492 …int32_t res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPairSpec)… [all …]
|
H A D | crypto_rsa768_asy_key_generator_by_spec_test.cpp | 56 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaCommSpe… 71 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPubKeyS… 87 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPairSpe… 104 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPairSpe… 121 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPubKeyS… 139 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPubKeyS… 242 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPairSpe… 265 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPairSpe… 288 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPairSpe… 491 …int32_t res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPairSpec)… [all …]
|
H A D | crypto_rsa8192_asy_key_generator_by_spec_test.cpp | 56 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaCommSpe… 71 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPubKeyS… 87 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPairSpe… 104 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPairSpe… 121 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPubKeyS… 139 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPubKeyS… 242 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPairSpe… 265 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPairSpe… 288 …HcfResult res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPairSpe… 491 …int32_t res = HcfAsyKeyGeneratorBySpecCreate(reinterpret_cast<HcfAsyKeyParamsSpec *>(&rsaPairSpec)… [all …]
|
H A D | crypto_ecc_key_util_test.cpp | 317 HcfAsyKeyParamsSpec *paramSpec = nullptr; 340 HcfAsyKeyParamsSpec *paramSpec = nullptr; 360 HcfAsyKeyParamsSpec *paramSpec = nullptr; 381 HcfAsyKeyParamsSpec *paramSpec = nullptr; 406 HcfAsyKeyParamsSpec *paramSpec = nullptr; 433 HcfAsyKeyParamsSpec *paramSpec = nullptr; 458 HcfAsyKeyParamsSpec *paramSpec = nullptr; 484 HcfAsyKeyParamsSpec *paramSpec = nullptr; 510 HcfAsyKeyParamsSpec *paramSpec = nullptr; 537 HcfAsyKeyParamsSpec *paramSpec = nullptr; [all …]
|
H A D | alg_25519_common_param_spec.c | 50 HcfResult ConstructAlg25519KeyPairParamsSpec(const char *algoName, bool choose, HcfAsyKeyParamsSpec… in ConstructAlg25519KeyPairParamsSpec() 84 *spec = (HcfAsyKeyParamsSpec *)alg25519KeyPairSpec; in ConstructAlg25519KeyPairParamsSpec() 129 HcfResult ConstructAlg25519PubKeyParamsSpec(const char *algoName, bool choose, HcfAsyKeyParamsSpec … in ConstructAlg25519PubKeyParamsSpec() 155 *spec = (HcfAsyKeyParamsSpec *)alg25519PubKeySpec; in ConstructAlg25519PubKeyParamsSpec() 194 HcfResult ConstructAlg25519PriKeyParamsSpec(const char *algoName, bool choose, HcfAsyKeyParamsSpec … in ConstructAlg25519PriKeyParamsSpec() 219 *spec = (HcfAsyKeyParamsSpec *)alg25519PriKeySpec; in ConstructAlg25519PriKeyParamsSpec() 294 HcfAsyKeyParamsSpec **paramSpec, HcfAsyKeyGeneratorBySpec **generator) in TestCreateKeyPairParamsSpecAndGeneratorBySpec() 314 HcfAsyKeyParamsSpec **paramSpec, HcfAsyKeyGeneratorBySpec **generator) in TestCreatePubKeyParamsSpecAndGeneratorBySpec() 334 HcfAsyKeyParamsSpec **paramSpec, HcfAsyKeyGeneratorBySpec **generator) in TestCreatePriKeyParamsSpecAndGeneratorBySpec()
|
/ohos5.0/base/security/crypto_framework/test/unittest/src/sm2/ |
H A D | crypto_sm2_asy_key_generator_by_spec_test.cpp | 79 *spec = (HcfAsyKeyParamsSpec *)eccCommSpec; in ConstructSm2256CommParamsSpec() 91 HcfAsyKeyParamsSpec *paramSpec = nullptr; 121 HcfAsyKeyParamsSpec *paramSpec = nullptr; 134 HcfAsyKeyParamsSpec *paramSpec = nullptr; 155 HcfAsyKeyParamsSpec *paramSpec = nullptr; 173 HcfAsyKeyParamsSpec *paramSpec = nullptr; 192 HcfAsyKeyParamsSpec *paramSpec = nullptr; 210 HcfAsyKeyParamsSpec *paramSpec = nullptr; 230 HcfAsyKeyParamsSpec *paramSpec = nullptr; 251 HcfAsyKeyParamsSpec *paramSpec = nullptr; [all …]
|
H A D | crypto_sm2_asy_key_generator_by_spec_sub_test.cpp | 94 *spec = (HcfAsyKeyParamsSpec *)eccCommSpec; in ConstructSm2256CommParamsSpec() 102 HcfAsyKeyParamsSpec *paramSpec = nullptr; 133 HcfAsyKeyParamsSpec *paramSpec = nullptr; 160 HcfAsyKeyParamsSpec *paramSpec = nullptr; 184 HcfAsyKeyParamsSpec *paramSpec = nullptr; 208 HcfAsyKeyParamsSpec *paramSpec = nullptr; 229 HcfAsyKeyParamsSpec *paramSpec = nullptr; 250 HcfAsyKeyParamsSpec *paramSpec = nullptr; 277 HcfAsyKeyParamsSpec *paramSpec = nullptr; 301 HcfAsyKeyParamsSpec *paramSpec = nullptr; [all …]
|
/ohos5.0/base/security/crypto_framework/interfaces/innerkits/algorithm_parameter/ |
H A D | asy_key_params.h | 26 typedef struct HcfAsyKeyParamsSpec HcfAsyKeyParamsSpec; typedef 28 struct HcfAsyKeyParamsSpec { struct 37 void FreeAsyKeySpec(HcfAsyKeyParamsSpec *spec); argument
|
H A D | detailed_alg_25519_key_params.h | 27 HcfAsyKeyParamsSpec base; 32 HcfAsyKeyParamsSpec base; 37 HcfAsyKeyParamsSpec base;
|