/base/security/crypto_framework/common/src/ |
D | asy_key_params.c | 33 void FreeDsaCommParamsSpec(HcfDsaCommParamsSpec *spec) in FreeDsaCommParamsSpec() 48 static void DestroyDsaCommParamsSpec(HcfDsaCommParamsSpec *spec) in DestroyDsaCommParamsSpec() 54 void DestroyDsaPubKeySpec(HcfDsaPubKeyParamsSpec *spec) in DestroyDsaPubKeySpec() 65 void DestroyDsaKeyPairSpec(HcfDsaKeyPairParamsSpec *spec) in DestroyDsaKeyPairSpec() 97 void FreeEccCommParamsSpec(HcfEccCommParamsSpec *spec) in FreeEccCommParamsSpec() 115 static void DestroyEccCommParamsSpec(HcfEccCommParamsSpec *spec) in DestroyEccCommParamsSpec() 121 void DestroyEccPubKeySpec(HcfEccPubKeyParamsSpec *spec) in DestroyEccPubKeySpec() 131 void DestroyEccPriKeySpec(HcfEccPriKeyParamsSpec *spec) in DestroyEccPriKeySpec() 143 void DestroyEccKeyPairSpec(HcfEccKeyPairParamsSpec *spec) in DestroyEccKeyPairSpec() 156 void FreeRsaCommParamsSpec(HcfRsaCommParamsSpec *spec) in FreeRsaCommParamsSpec() [all …]
|
/base/security/certificate_manager/test/unittest/src/ |
D | cm_finish_test.cpp | 79 static void TestSign(const struct CmBlob *keyUri, const struct CmSignatureSpec *spec, in TestSign() 99 static void TestVerify(const struct CmBlob *keyUri, const struct CmSignatureSpec *spec, in TestVerify() 128 static void TestSignVerify(uint32_t alg, bool isValidSignature, struct CmSignatureSpec *spec) in TestSignVerify() 163 struct CmSignatureSpec spec = { CM_KEY_PURPOSE_SIGN, CM_PADDING_PSS, CM_DIGEST_SHA256 }; in ProducerSessionMaxTest() local 310 struct CmSignatureSpec spec = { CM_KEY_PURPOSE_SIGN, CM_PADDING_PSS, CM_DIGEST_SHA256 }; variable 322 struct CmSignatureSpec spec = { CM_KEY_PURPOSE_SIGN, 0, CM_DIGEST_SHA256 }; variable 334 struct CmSignatureSpec spec = { CM_KEY_PURPOSE_SIGN, CM_PADDING_PSS, CM_DIGEST_SHA256 }; variable 346 struct CmSignatureSpec spec = { CM_KEY_PURPOSE_SIGN, 0, CM_DIGEST_SHA256 }; variable 371 struct CmSignatureSpec spec = { CM_KEY_PURPOSE_SIGN, CM_PADDING_PSS, CM_DIGEST_SHA256 }; variable 385 struct CmSignatureSpec spec = { CM_KEY_PURPOSE_SIGN, CM_PADDING_PSS, CM_DIGEST_SHA256 }; variable [all …]
|
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 243 …struct CmSignatureSpec spec = { CM_KEY_PURPOSE_AGREE }; /* purpose is not CM_KEY_PURPOSE_SIGN/VERI… variable [all …]
|
/base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/ |
D | hks_crypto_hal_api_openssl.cpp | 70 HksKeySpec spec = { variable 88 HksKeySpec spec = { variable 108 HksKeySpec spec = { variable 151 HksUsageSpec spec = { .algType = 0xffff }; variable 186 HksUsageSpec spec = { .algType = 0xffff }; variable 221 HksUsageSpec spec = { .algType = HKS_ALG_AES, .mode = 0xffff }; variable 257 HksUsageSpec spec = { .algType = HKS_ALG_AES, .mode = 0xffff }; variable 285 … HksUsageSpec spec = { .algType = HKS_ALG_AES, .mode = HKS_MODE_CBC, .padding = HKS_PADDING_PSS }; variable 309 HksUsageSpec spec = { .algType = 0xffff }; variable 336 HksUsageSpec spec = { .algType = 0xffff }; variable [all …]
|
D | hks_crypto_hal_api_mbedtls.cpp | 69 HksKeySpec spec = { variable 88 HksKeySpec spec = { variable 109 HksKeySpec spec = { variable 131 HksUsageSpec spec = { .algType = 0xffff }; variable 166 HksUsageSpec spec = { .algType = 0xffff }; variable 201 HksUsageSpec spec = { .algType = HKS_ALG_AES, .mode = 0xffff }; variable 225 HksUsageSpec spec = { .algType = HKS_ALG_AES, .mode = 0xffff }; variable 248 … HksUsageSpec spec = { .algType = HKS_ALG_AES, .mode = HKS_MODE_CBC, .padding = HKS_PADDING_PSS }; variable 273 … HksUsageSpec spec = { .algType = HKS_ALG_AES, .mode = HKS_MODE_CBC, .padding = HKS_PADDING_NONE }; variable 295 … HksUsageSpec spec = { .algType = HKS_ALG_RSA, .mode = HKS_MODE_ECB, .padding = HKS_PADDING_NONE }; variable [all …]
|
D | hks_crypto_hal_dsa_key.cpp | 68 HksKeySpec spec = { variable 102 HksKeySpec spec = { variable
|
D | hks_crypto_hal_ecc_key.cpp | 33 HksKeySpec spec = {0}; member 182 HksKeySpec spec = { variable
|
D | hks_crypto_hal_rsa_key.cpp | 33 HksKeySpec spec = {0}; member 228 HksKeySpec spec = { variable
|
D | hks_crypto_hal_hmac_key.cpp | 68 HksKeySpec spec = { variable
|
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/ |
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()
|
D | hks_openssl_dh.c | 119 int32_t HksOpensslDhGenerateKey(const struct HksKeySpec *spec, struct HksBlob *key) in HksOpensslDhGenerateKey() 167 const struct HksKeySpec *spec, struct HksBlob *sharedKey) in HksOpensslDhAgreeKey()
|
D | hks_openssl_curve25519.c | 75 int32_t HksOpensslCurve25519GenerateKey(const struct HksKeySpec *spec, struct HksBlob *key) in HksOpensslCurve25519GenerateKey() 142 const struct HksKeySpec *spec, struct HksBlob *sharedKey) in HksOpensslX25519AgreeKey() 184 const struct HksKeySpec *spec, struct HksBlob *sharedKey) in HksOpensslEd25519AgreeKey()
|
D | hks_openssl_hmac.c | 51 static int32_t HmacGenKeyCheckParam(const struct HksKeySpec *spec) in HmacGenKeyCheckParam() 61 int32_t HksOpensslHmacGenerateKey(const struct HksKeySpec *spec, struct HksBlob *key) in HksOpensslHmacGenerateKey()
|
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/cipher/src/ |
D | cipher_aes_common.c | 28 HcfIvParamsSpec *spec = (HcfIvParamsSpec *)params; in GetIv() local 38 HcfCcmParamsSpec *spec = (HcfCcmParamsSpec *)params; in GetCcmTagLen() local 48 HcfCcmParamsSpec *spec = (HcfCcmParamsSpec *)params; in GetCcmTag() local
|
/base/security/crypto_framework/test/unittest/src/ |
D | crypto_common_cov_test.cpp | 492 HcfDsaCommParamsSpec *spec = nullptr; variable 499 HcfDsaPubKeyParamsSpec *spec = nullptr; variable 506 HcfDsaKeyPairParamsSpec *spec = nullptr; variable 513 HcfEccCommParamsSpec *spec = nullptr; variable 520 HcfEccPubKeyParamsSpec *spec = nullptr; variable 527 HcfEccPriKeyParamsSpec *spec = nullptr; variable 534 HcfEccKeyPairParamsSpec *spec = nullptr; variable 541 HcfRsaCommParamsSpec *spec = nullptr; variable 548 HcfRsaPubKeyParamsSpec *spec = nullptr; variable 555 HcfRsaKeyPairParamsSpec *spec = nullptr; variable
|
/base/security/huks/test/unittest/huks_standard_test/module_test/framework_test/crypto_engine_test/src/ |
D | hks_openssl_sm4_test.cpp | 167 HksKeySpec spec = { variable 220 HksUsageSpec spec = { variable 256 HksUsageSpec *spec = reinterpret_cast<HksUsageSpec *>(HksMalloc(sizeof(HksUsageSpec))); variable
|
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/test/ |
D | dlp_file_test.cpp | 51 struct DlpUsageSpec spec = { in initDlpFileCiper() local 82 struct DlpUsageSpec spec; variable 370 struct DlpUsageSpec spec; variable 389 struct DlpUsageSpec spec; variable 419 struct DlpUsageSpec spec; variable 449 struct DlpUsageSpec spec; variable 859 struct DlpUsageSpec spec; variable 889 struct DlpUsageSpec spec; variable 922 struct DlpUsageSpec spec; variable 1038 struct DlpUsageSpec spec = { variable [all …]
|
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/ |
D | hks_mbedtls_dsa.c | 26 int32_t HksMbedtlsDsaGenerateKey(const struct HksKeySpec *spec, struct HksBlob *key) in HksMbedtlsDsaGenerateKey()
|
D | hks_mbedtls_ecdh.c | 55 const struct HksBlob *pubKey, const struct HksKeySpec *spec, struct HksBlob *sharedKey) in HksMbedtlsEcdh()
|
/base/update/updater/services/ui/view/component/ |
D | text_label_adapter.cpp | 23 const UxLabelInfo &spec = std::get<UxLabelInfo>(info.specificInfo); in TextLabelAdapter() local
|
/base/time/time_service/services/timer/src/ |
D | timer_handler.cpp | 80 itimerspec spec {}; in Create() local 114 itimerspec spec {timespec {}, ts}; in Set() local
|
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
D | cert_manager_key_operation.c | 208 static void FillKeySpec(const struct HksParamSet *paramSet, struct CmKeyProperties *spec) in FillKeySpec() 224 static void TranslateToHuksProperties(const struct CmSignatureSpec *spec, struct CmKeyProperties *k… in TranslateToHuksProperties() 253 …tic int32_t AddParamsToParamSet(const struct CmBlob *commonUri, const struct CmSignatureSpec *spec, in AddParamsToParamSet() 308 …c int32_t ConstructInitParamSet(const struct CmBlob *commonUri, const struct CmSignatureSpec *spec, in ConstructInitParamSet() 384 …it(const struct CmContext *context, const struct CmBlob *alias, const struct CmSignatureSpec *spec, in CmKeyOpInit()
|
/base/security/crypto_framework/frameworks/js/napi/crypto/src/ |
D | napi_utils.cpp | 512 static bool InitDsaCommonAsyKeySpec(napi_env env, napi_value arg, HcfDsaCommParamsSpec *spec) in InitDsaCommonAsyKeySpec() 547 …HcfDsaCommParamsSpec *spec = reinterpret_cast<HcfDsaCommParamsSpec *>(HcfMalloc(sizeof(HcfDsaCommP… in GetDsaCommonAsyKeySpec() local 563 HcfDsaPubKeyParamsSpec *spec = reinterpret_cast<HcfDsaPubKeyParamsSpec *>( in GetDsaPubKeySpec() local 595 HcfDsaKeyPairParamsSpec *spec = reinterpret_cast<HcfDsaKeyPairParamsSpec *>( in GetDsaKeyPairAsyKeySpec() local 723 static bool InitEccDetailAsyKeySpec(napi_env env, napi_value arg, HcfEccCommParamsSpec *spec) in InitEccDetailAsyKeySpec() 752 static bool InitEccCommonAsyKeySpec(napi_env env, napi_value arg, HcfEccCommParamsSpec *spec) in InitEccCommonAsyKeySpec() 798 …HcfEccCommParamsSpec *spec = reinterpret_cast<HcfEccCommParamsSpec *>(HcfMalloc(sizeof(HcfEccCommP… in GetEccCommonAsyKeySpec() local 814 HcfEccPriKeyParamsSpec *spec = in GetEccPriKeySpec() local 848 HcfEccPubKeyParamsSpec *spec = in GetEccPubKeySpec() local 880 HcfEccKeyPairParamsSpec *spec = in GetEccKeyPairAsyKeySpec() local [all …]
|
/base/security/certificate_manager/test/fuzz_test/cminit_fuzzer/ |
D | cminit_fuzzer.cpp | 47 struct CmSignatureSpec spec; in DoSomethingInterestingWithMyAPI() local
|
/base/security/crypto_framework/frameworks/key/ |
D | asy_key_generator.c | 454 HcfDsaCommParamsSpec *spec = (HcfDsaCommParamsSpec *)HcfMalloc(sizeof(HcfDsaCommParamsSpec), 0); in CreateDsaCommonSpecImpl() local 471 …HcfDsaPubKeyParamsSpec *spec = (HcfDsaPubKeyParamsSpec *)HcfMalloc(sizeof(HcfDsaPubKeyParamsSpec),… in CreateDsaPubKeySpecImpl() local 496 …HcfDsaKeyPairParamsSpec *spec = (HcfDsaKeyPairParamsSpec *)HcfMalloc(sizeof(HcfDsaKeyPairParamsSpe… in CreateDsaKeyPairSpecImpl() local 532 HcfDsaCommParamsSpec *spec = NULL; in CreateDsaParamsSpecImpl() local 753 HcfEccCommParamsSpec *spec = NULL; in CreateEccParamsSpecImpl() local 795 …HcfRsaPubKeyParamsSpec *spec = (HcfRsaPubKeyParamsSpec *)HcfMalloc(sizeof(HcfRsaPubKeyParamsSpec),… in CreateRsaPubKeySpecImpl() local 819 …HcfRsaKeyPairParamsSpec *spec = (HcfRsaKeyPairParamsSpec *)HcfMalloc(sizeof(HcfRsaKeyPairParamsSpe… in CreateRsaKeyPairSpecImpl() local 855 HcfRsaCommParamsSpec *spec = NULL; in CreateRsaParamsSpecImpl() local
|