/ohos5.0/base/security/crypto_framework/common/src/ |
H A D | asy_key_params.c | 48 void FreeDsaCommParamsSpec(HcfDsaCommParamsSpec *spec) in FreeDsaCommParamsSpec() 63 void FreeDhCommParamsSpec(HcfDhCommParamsSpec *spec) in FreeDhCommParamsSpec() 82 void DestroyDsaPubKeySpec(HcfDsaPubKeyParamsSpec *spec) in DestroyDsaPubKeySpec() 115 void DestroyDhPubKeySpec(HcfDhPubKeyParamsSpec *spec) in DestroyDhPubKeySpec() 126 void DestroyDhPriKeySpec(HcfDhPriKeyParamsSpec *spec) in DestroyDhPriKeySpec() 140 void DestroyDhKeyPairSpec(HcfDhKeyPairParamsSpec *spec) in DestroyDhKeyPairSpec() 177 void FreeEccCommParamsSpec(HcfEccCommParamsSpec *spec) in FreeEccCommParamsSpec() 201 void DestroyEccPubKeySpec(HcfEccPubKeyParamsSpec *spec) in DestroyEccPubKeySpec() 211 void DestroyEccPriKeySpec(HcfEccPriKeyParamsSpec *spec) in DestroyEccPriKeySpec() 240 void FreeRsaCommParamsSpec(HcfRsaCommParamsSpec *spec) in FreeRsaCommParamsSpec() [all …]
|
/ohos5.0/base/security/crypto_framework/test/unittest/src/sm2/ |
H A D | crypto_sm2_util_test.cpp | 271 Sm2CipherTextSpec *spec = nullptr; variable 287 Sm2CipherTextSpec *spec = nullptr; variable 302 Sm2CipherTextSpec *spec = nullptr; variable 314 Sm2CipherTextSpec *spec = nullptr; variable 326 Sm2CipherTextSpec *spec = nullptr; variable 338 Sm2CipherTextSpec *spec = nullptr; variable 350 Sm2CipherTextSpec *spec = nullptr; variable 362 Sm2CipherTextSpec *spec = nullptr; variable 374 Sm2CipherTextSpec *spec = nullptr; variable 393 Sm2CipherTextSpec *spec = nullptr; variable [all …]
|
/ohos5.0/base/security/certificate_manager/test/unittest/src/ |
H A D | cm_finish_test.cpp | 79 static void TestSign(const struct CmBlob *keyUri, const struct CmSignatureSpec *spec, in TestSign() 318 struct CmSignatureSpec spec = { CM_KEY_PURPOSE_SIGN, 0, CM_DIGEST_SHA256 }; variable 342 struct CmSignatureSpec spec = { CM_KEY_PURPOSE_SIGN, 0, CM_DIGEST_SHA256 }; variable 532 struct CmSignatureSpec spec = { CM_KEY_PURPOSE_SIGN, 0, CM_DIGEST_SHA1 }; variable 544 struct CmSignatureSpec spec = { CM_KEY_PURPOSE_SIGN, 0, CM_DIGEST_SHA224 }; variable 557 struct CmSignatureSpec spec = { CM_KEY_PURPOSE_SIGN, 0, CM_DIGEST_SHA384 }; variable 569 struct CmSignatureSpec spec = { CM_KEY_PURPOSE_SIGN, 0, CM_DIGEST_SHA512 }; variable 632 struct CmSignatureSpec spec = { CM_KEY_PURPOSE_SIGN, 0, CM_DIGEST_SHA256 }; variable 645 struct CmSignatureSpec spec = { CM_KEY_PURPOSE_SIGN, 0, CM_DIGEST_SHA384 }; variable 657 struct CmSignatureSpec spec = { CM_KEY_PURPOSE_SIGN, 0, CM_DIGEST_SHA512 }; variable [all …]
|
H A D | cm_init_test.cpp | 85 struct CmSignatureSpec spec = { CM_KEY_PURPOSE_SIGN, CM_PADDING_PSS, CM_DIGEST_SHA256 }; variable 103 struct CmSignatureSpec spec = { CM_KEY_PURPOSE_SIGN, CM_PADDING_PSS, CM_DIGEST_SHA256 }; variable 121 struct CmSignatureSpec spec = { CM_KEY_PURPOSE_SIGN, CM_PADDING_PSS, CM_DIGEST_SHA256 }; variable 139 struct CmSignatureSpec spec = { CM_KEY_PURPOSE_SIGN, CM_PADDING_PSS, CM_DIGEST_SHA256 }; variable 157 struct CmSignatureSpec spec = { CM_KEY_PURPOSE_SIGN, CM_PADDING_PSS, CM_DIGEST_SHA256 }; variable 175 struct CmSignatureSpec spec = { CM_KEY_PURPOSE_SIGN, CM_PADDING_PSS, CM_DIGEST_SHA256 }; variable 193 struct CmSignatureSpec spec = { CM_KEY_PURPOSE_SIGN, CM_PADDING_PSS, CM_DIGEST_SHA256 }; variable 211 struct CmSignatureSpec spec = { CM_KEY_PURPOSE_SIGN, CM_PADDING_PSS, CM_DIGEST_SHA256 }; variable 227 struct CmSignatureSpec *spec = nullptr; /* spec is NULL */ variable 259 struct CmSignatureSpec spec = { CM_KEY_PURPOSE_SIGN, CM_PADDING_PSS, CM_DIGEST_SHA256 }; variable [all …]
|
/ohos5.0/base/security/crypto_framework/test/unittest/src/ecc/ |
H A D | ecc_asy_key_common.cpp | 35 HcfResult ConstructEcc192CommParamsSpec(HcfAsyKeyParamsSpec **spec) in ConstructEcc192CommParamsSpec() 63 HcfResult ConstructEcc224CommParamsSpec(HcfAsyKeyParamsSpec **spec) in ConstructEcc224CommParamsSpec() 91 HcfResult ConstructEcc224PubKeyParamsSpec(HcfAsyKeyParamsSpec **spec) in ConstructEcc224PubKeyParamsSpec() 123 HcfResult ConstructEcc224PriKeyParamsSpec(HcfAsyKeyParamsSpec **spec) in ConstructEcc224PriKeyParamsSpec() 153 HcfResult ConstructEcc224KeyPairParamsSpec(HcfAsyKeyParamsSpec **spec) in ConstructEcc224KeyPairParamsSpec() 187 HcfResult ConstructEcc256CommParamsSpec(HcfAsyKeyParamsSpec **spec) in ConstructEcc256CommParamsSpec() 215 HcfResult ConstructEcc256PubKeyParamsSpec(HcfAsyKeyParamsSpec **spec) in ConstructEcc256PubKeyParamsSpec() 247 HcfResult ConstructEcc256PriKeyParamsSpec(HcfAsyKeyParamsSpec **spec) in ConstructEcc256PriKeyParamsSpec() 311 HcfResult ConstructEcc384CommParamsSpec(HcfAsyKeyParamsSpec **spec) in ConstructEcc384CommParamsSpec() 339 HcfResult ConstructEcc384PubKeyParamsSpec(HcfAsyKeyParamsSpec **spec) in ConstructEcc384PubKeyParamsSpec() [all …]
|
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/ |
H A D | hks_crypto_hal_api_openssl.cpp | 68 HksKeySpec spec = { variable 86 HksKeySpec spec = { variable 106 HksKeySpec spec = { variable 149 HksUsageSpec spec = { .algType = 0xffff }; variable 184 HksUsageSpec spec = { .algType = 0xffff }; variable 307 HksUsageSpec spec = { .algType = 0xffff }; variable 334 HksUsageSpec spec = { .algType = 0xffff }; variable 360 HksKeySpec spec = { variable 407 HksKeySpec spec = { variable 466 HksKeySpec spec = { variable [all …]
|
H A D | hks_crypto_hal_api_mbedtls.cpp | 67 HksKeySpec spec = { variable 86 HksKeySpec spec = { variable 107 HksKeySpec spec = { variable 129 HksUsageSpec spec = { .algType = 0xffff }; variable 164 HksUsageSpec spec = { .algType = 0xffff }; variable 335 HksKeySpec spec = { variable 370 HksKeySpec spec = { variable 390 HksKeySpec spec = { variable 435 HksKeySpec spec = { variable 455 HksKeySpec spec = { variable [all …]
|
H A D | hks_crypto_hal_dsa_key.cpp | 66 HksKeySpec spec = { variable 100 HksKeySpec spec = { variable
|
/ohos5.0/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/cipher/src/ |
H A D | cipher_aes_common.c | 28 HcfIvParamsSpec *spec = (HcfIvParamsSpec *)params; in GetIv() local 38 HcfIvParamsSpec *spec = (HcfIvParamsSpec *)params; in GetIvLen() local 47 HcfCcmParamsSpec *spec = (HcfCcmParamsSpec *)params; in GetCcmTagLen() local 57 HcfCcmParamsSpec *spec = (HcfCcmParamsSpec *)params; in GetCcmTag() local
|
H A D | cipher_sm2_crypto_util_openssl.c | 26 static HcfResult BuildSm2Ciphertext(const Sm2CipherTextSpec *spec, struct Sm2CipherTextSt *sm2Text) in BuildSm2Ciphertext() 55 HcfResult HcfSm2SpecToAsn1(Sm2CipherTextSpec *spec, HcfBlob *output) in HcfSm2SpecToAsn1()
|
/ohos5.0/base/security/crypto_framework/test/fuzztest/crypto_operation/hcfsm2create_fuzzer/ |
H A D | hcfsm2create_fuzzer.cpp | 64 …HcfResult ConstructCorrectSm2CipherTextXSpec(Sm2CipherTextSpec **spec, const uint8_t* data, size_t… in ConstructCorrectSm2CipherTextXSpec() 82 …HcfResult ConstructCorrectSm2CipherTextYSpec(Sm2CipherTextSpec **spec, const uint8_t* data, size_t… in ConstructCorrectSm2CipherTextYSpec() 100 …HcfResult ConstructCorrectSm2CipherTextSpec(Sm2CipherTextSpec **spec, const uint8_t* data, size_t … in ConstructCorrectSm2CipherTextSpec() 125 Sm2CipherTextSpec *spec = nullptr; in TestHcfGenCipherTextBySpec() local 150 Sm2CipherTextSpec *spec = nullptr; in TestHcfGenCipherTextByXSpec() local 175 Sm2CipherTextSpec *spec = nullptr; in TestHcfGenCipherTextByYSpec() local 199 Sm2CipherTextSpec *spec = nullptr; in TestHcfGetCipherTextSpec() local 223 Sm2CipherTextSpec spec = {}; in HcfSm2CreateFuzzTest() local
|
/ohos5.0/drivers/peripheral/camera/test/ut/pipeline_core/ |
H A D | stream_pipeline_strategy_test.cpp | 61 std::shared_ptr<PipelineSpec> spec = s->GeneratePipelineSpec(0); variable 73 std::shared_ptr<PipelineSpec> spec = s->GeneratePipelineSpec(0); variable 88 std::shared_ptr<PipelineSpec> spec = s->GeneratePipelineSpec(0); variable 96 std::shared_ptr<PipelineSpec> spec = s->GeneratePipelineSpec(1); variable
|
/ohos5.0/base/security/crypto_framework/test/unittest/src/aes_cipher/ |
H A D | crypto_aes_gcm_cipher_test.cpp | 57 HcfGcmParamsSpec spec = {}; variable 111 HcfGcmParamsSpec spec = {}; variable 165 HcfGcmParamsSpec spec = {}; variable 219 HcfGcmParamsSpec spec = {}; variable 273 HcfGcmParamsSpec spec = {}; variable 327 HcfGcmParamsSpec spec = {}; variable 381 HcfGcmParamsSpec spec = {}; variable 434 HcfGcmParamsSpec spec = {}; variable 555 HcfGcmParamsSpec spec = {}; variable 599 HcfGcmParamsSpec spec = {}; variable [all …]
|
H A D | crypto_aes_ccm_cipher_test.cpp | 56 HcfCcmParamsSpec spec = {}; variable 109 HcfCcmParamsSpec spec = {}; variable 162 HcfCcmParamsSpec spec = {}; variable 215 HcfCcmParamsSpec spec = {}; variable 268 HcfCcmParamsSpec spec = {}; variable 322 HcfCcmParamsSpec spec = {}; variable 375 HcfCcmParamsSpec spec = {}; variable 427 HcfCcmParamsSpec spec = {}; variable 511 HcfCcmParamsSpec spec = {}; variable 553 HcfCcmParamsSpec spec = {}; variable [all …]
|
/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/ |
H A D | hks_openssl_sm3.c | 31 static int32_t Sm3GenKeyCheckParam(const struct HksKeySpec *spec) in Sm3GenKeyCheckParam() 40 int32_t HksOpensslSm3GenerateKey(const struct HksKeySpec *spec, struct HksBlob *key) in HksOpensslSm3GenerateKey()
|
/ohos5.0/base/security/crypto_framework/test/unittest/src/ |
H A D | crypto_sm4_gcm_cipher_test.cpp | 59 HcfGcmParamsSpec spec = {}; variable 113 HcfGcmParamsSpec spec = {}; variable 167 HcfGcmParamsSpec spec = {}; variable 221 HcfGcmParamsSpec spec = {}; variable 275 HcfGcmParamsSpec spec = {}; variable 329 HcfGcmParamsSpec spec = {}; variable 451 HcfGcmParamsSpec spec = {}; variable 495 HcfGcmParamsSpec spec = {}; variable 538 HcfGcmParamsSpec spec = {}; variable 580 HcfGcmParamsSpec spec = {}; variable [all …]
|
H A D | crypto_common_cov_test.cpp | 464 HcfDsaCommParamsSpec *spec = nullptr; variable 471 HcfDsaPubKeyParamsSpec *spec = nullptr; variable 478 HcfDsaKeyPairParamsSpec *spec = nullptr; variable 485 HcfEccCommParamsSpec *spec = nullptr; variable 492 HcfEccPubKeyParamsSpec *spec = nullptr; variable 499 HcfEccPriKeyParamsSpec *spec = nullptr; variable 506 HcfEccKeyPairParamsSpec *spec = nullptr; variable 513 HcfRsaCommParamsSpec *spec = nullptr; variable 520 HcfRsaPubKeyParamsSpec *spec = nullptr; variable 527 HcfRsaKeyPairParamsSpec *spec = nullptr; variable
|
H A D | ecc_common_param_spec.c | 26 HcfResult ConstructEccKeyPairCommParamsSpec(const char *algoName, HcfEccCommParamsSpec **spec) in ConstructEccKeyPairCommParamsSpec() 73 HcfAsyKeyParamsSpec **spec) in ConstructEccKeyPairParamsSpec() 143 HcfAsyKeyParamsSpec **spec) in ConstructEccPubKeyParamsSpec() 194 HcfAsyKeyParamsSpec **spec) in ConstructEccPriKeyParamsSpec()
|
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/module_test/framework_test/crypto_engine_test/src/ |
H A D | hks_openssl_sm4_test.cpp | 165 HksKeySpec spec = { variable 218 HksUsageSpec spec = { variable 254 HksUsageSpec *spec = reinterpret_cast<HksUsageSpec *>(HksMalloc(sizeof(HksUsageSpec))); variable
|
/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/ |
H A D | hks_mbedtls_dsa.c | 26 int32_t HksMbedtlsDsaGenerateKey(const struct HksKeySpec *spec, struct HksBlob *key) in HksMbedtlsDsaGenerateKey()
|
/ohos5.0/base/security/crypto_framework/frameworks/crypto_operation/ |
H A D | sm2_crypto_util.c | 64 static bool CheckSm2CipherTextSpec(Sm2CipherTextSpec *spec) in CheckSm2CipherTextSpec() 93 HcfResult HcfGenCipherTextBySpec(Sm2CipherTextSpec *spec, const char *mode, HcfBlob *output) in HcfGenCipherTextBySpec()
|
/ohos5.0/base/security/crypto_framework/frameworks/js/napi/crypto/src/ |
H A D | napi_sm2_crypto_util.cpp | 121 Sm2CipherTextSpec *spec = nullptr; in JsGenCipherTextBySpec() local 158 static bool CheckSm2CipherTextSpec(Sm2CipherTextSpec *spec) in CheckSm2CipherTextSpec() 194 static bool BuildSm2CipherTextSpecToNapiValue(napi_env env, Sm2CipherTextSpec *spec, napi_value *in… in BuildSm2CipherTextSpecToNapiValue() 215 static napi_value ConvertSm2CipherTextSpecToNapiValue(napi_env env, Sm2CipherTextSpec *spec) in ConvertSm2CipherTextSpecToNapiValue()
|
H A D | napi_utils.cpp | 632 HcfDsaPubKeyParamsSpec *spec = reinterpret_cast<HcfDsaPubKeyParamsSpec *>( in GetDsaPubKeySpec() local 884 HcfEccPriKeyParamsSpec *spec = in GetEccPriKeySpec() local 918 HcfEccPubKeyParamsSpec *spec = in GetEccPubKeySpec() local 951 HcfEccKeyPairParamsSpec *spec = in GetEccKeyPairAsyKeySpec() local 1048 HcfRsaPubKeyParamsSpec *spec = in GetRsaPubKeySpec() local 1080 HcfRsaKeyPairParamsSpec *spec = in GetRsaKeyPairAsyKeySpec() local 1162 HcfAlg25519PriKeyParamsSpec *spec = in GetAlg25519PriKeySpec() local 1188 HcfAlg25519PubKeyParamsSpec *spec = in GetAlg25519PubKeySpec() local 1214 HcfAlg25519KeyPairParamsSpec *spec = in GetAlg25519KeyPairAsyKeySpec() local 1334 HcfDhPubKeyParamsSpec *spec = reinterpret_cast<HcfDhPubKeyParamsSpec *>( in GetDhPubKeySpec() local [all …]
|
/ohos5.0/base/security/crypto_framework/frameworks/key/ |
H A D | asy_key_generator.c | 613 HcfDsaCommParamsSpec *spec = (HcfDsaCommParamsSpec *)HcfMalloc(sizeof(HcfDsaCommParamsSpec), 0); in CreateDsaCommonSpecImpl() local 630 …HcfDsaPubKeyParamsSpec *spec = (HcfDsaPubKeyParamsSpec *)HcfMalloc(sizeof(HcfDsaPubKeyParamsSpec),… in CreateDsaPubKeySpecImpl() local 655 …HcfDsaKeyPairParamsSpec *spec = (HcfDsaKeyPairParamsSpec *)HcfMalloc(sizeof(HcfDsaKeyPairParamsSpe… in CreateDsaKeyPairSpecImpl() local 691 HcfDsaCommParamsSpec *spec = NULL; in CreateDsaParamsSpecImpl() local 714 …HcfDhPubKeyParamsSpec *spec = (HcfDhPubKeyParamsSpec *)HcfMalloc(sizeof(HcfDhPubKeyParamsSpec), 0); in CreateDhPubKeySpecImpl() local 739 …HcfDhPriKeyParamsSpec *spec = (HcfDhPriKeyParamsSpec *)HcfMalloc(sizeof(HcfDhPriKeyParamsSpec), 0); in CreateDhPriKeySpecImpl() local 765 …HcfDhKeyPairParamsSpec *spec = (HcfDhKeyPairParamsSpec *)HcfMalloc(sizeof(HcfDhKeyPairParamsSpec),… in CreateDhKeyPairSpecImpl() local 802 HcfDhCommParamsSpec *spec = NULL; in CreateDhParamsSpecImpl() local 912 HcfEccCommParamsSpec *spec = NULL; in CreateEccParamsSpecImpl() local 954 …HcfRsaPubKeyParamsSpec *spec = (HcfRsaPubKeyParamsSpec *)HcfMalloc(sizeof(HcfRsaPubKeyParamsSpec),… in CreateRsaPubKeySpecImpl() local [all …]
|
/ohos5.0/base/update/updater/services/ui/view/component/ |
H A D | text_label_adapter.cpp | 23 const UxLabelInfo &spec = std::get<UxLabelInfo>(info.specificInfo); in TextLabelAdapter() local
|