Home
last modified time | relevance | path

Searched defs:spec (Results 1 – 25 of 88) sorted by relevance

1234

/base/security/crypto_framework/common/src/
Dasy_key_params.c47 void FreeDsaCommParamsSpec(HcfDsaCommParamsSpec *spec) in FreeDsaCommParamsSpec()
62 void FreeDhCommParamsSpec(HcfDhCommParamsSpec *spec) in FreeDhCommParamsSpec()
75 static void DestroyDsaCommParamsSpec(HcfDsaCommParamsSpec *spec) in DestroyDsaCommParamsSpec()
81 void DestroyDsaPubKeySpec(HcfDsaPubKeyParamsSpec *spec) in DestroyDsaPubKeySpec()
92 void DestroyDsaKeyPairSpec(HcfDsaKeyPairParamsSpec *spec) in DestroyDsaKeyPairSpec()
108 static void DestroyDhCommParamsSpec(HcfDhCommParamsSpec *spec) in DestroyDhCommParamsSpec()
114 void DestroyDhPubKeySpec(HcfDhPubKeyParamsSpec *spec) in DestroyDhPubKeySpec()
125 void DestroyDhPriKeySpec(HcfDhPriKeyParamsSpec *spec) in DestroyDhPriKeySpec()
139 void DestroyDhKeyPairSpec(HcfDhKeyPairParamsSpec *spec) in DestroyDhKeyPairSpec()
173 void FreeEccCommParamsSpec(HcfEccCommParamsSpec *spec) in FreeEccCommParamsSpec()
[all …]
/base/security/certificate_manager/test/unittest/src/
Dcm_finish_test.cpp79 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 …]
Dcm_init_test.cpp85 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/crypto_framework/test/unittest/src/ecc/
Decc_asy_key_common.cpp36 HcfResult ConstructEcc192CommParamsSpec(HcfAsyKeyParamsSpec **spec) in ConstructEcc192CommParamsSpec()
64 HcfResult ConstructEcc224CommParamsSpec(HcfAsyKeyParamsSpec **spec) in ConstructEcc224CommParamsSpec()
92 HcfResult ConstructEcc224PubKeyParamsSpec(HcfAsyKeyParamsSpec **spec) in ConstructEcc224PubKeyParamsSpec()
124 HcfResult ConstructEcc224PriKeyParamsSpec(HcfAsyKeyParamsSpec **spec) in ConstructEcc224PriKeyParamsSpec()
154 HcfResult ConstructEcc224KeyPairParamsSpec(HcfAsyKeyParamsSpec **spec) in ConstructEcc224KeyPairParamsSpec()
188 HcfResult ConstructEcc256CommParamsSpec(HcfAsyKeyParamsSpec **spec) in ConstructEcc256CommParamsSpec()
216 HcfResult ConstructEcc256PubKeyParamsSpec(HcfAsyKeyParamsSpec **spec) in ConstructEcc256PubKeyParamsSpec()
248 HcfResult ConstructEcc256PriKeyParamsSpec(HcfAsyKeyParamsSpec **spec) in ConstructEcc256PriKeyParamsSpec()
278 HcfResult ConstructEcc256KeyPairParamsSpec(HcfAsyKeyParamsSpec **spec) in ConstructEcc256KeyPairParamsSpec()
312 HcfResult ConstructEcc384CommParamsSpec(HcfAsyKeyParamsSpec **spec) in ConstructEcc384CommParamsSpec()
[all …]
/base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/
Dhks_crypto_hal_api_openssl.cpp68 HksKeySpec spec = { variable
86 HksKeySpec spec = { variable
106 HksKeySpec spec = { variable
149 HksUsageSpec spec = { .algType = 0xffff }; variable
184 HksUsageSpec spec = { .algType = 0xffff }; variable
219 HksUsageSpec spec = { .algType = HKS_ALG_AES, .mode = 0xffff }; variable
255 HksUsageSpec spec = { .algType = HKS_ALG_AES, .mode = 0xffff }; variable
283 … HksUsageSpec spec = { .algType = HKS_ALG_AES, .mode = HKS_MODE_CBC, .padding = HKS_PADDING_PSS }; variable
307 HksUsageSpec spec = { .algType = 0xffff }; variable
334 HksUsageSpec spec = { .algType = 0xffff }; variable
[all …]
Dhks_crypto_hal_api_mbedtls.cpp67 HksKeySpec spec = { variable
86 HksKeySpec spec = { variable
107 HksKeySpec spec = { variable
129 HksUsageSpec spec = { .algType = 0xffff }; variable
164 HksUsageSpec spec = { .algType = 0xffff }; variable
199 HksUsageSpec spec = { .algType = HKS_ALG_AES, .mode = 0xffff }; variable
223 HksUsageSpec spec = { .algType = HKS_ALG_AES, .mode = 0xffff }; variable
246 … HksUsageSpec spec = { .algType = HKS_ALG_AES, .mode = HKS_MODE_CBC, .padding = HKS_PADDING_PSS }; variable
271 … HksUsageSpec spec = { .algType = HKS_ALG_AES, .mode = HKS_MODE_CBC, .padding = HKS_PADDING_NONE }; variable
293 … HksUsageSpec spec = { .algType = HKS_ALG_RSA, .mode = HKS_MODE_ECB, .padding = HKS_PADDING_NONE }; variable
[all …]
Dhks_crypto_hal_dsa_key.cpp66 HksKeySpec spec = { variable
100 HksKeySpec spec = { variable
Dhks_crypto_hal_ecc_key.cpp33 HksKeySpec spec = {0}; member
180 HksKeySpec spec = { variable
Dhks_crypto_hal_rsa_key.cpp33 HksKeySpec spec = {0}; member
226 HksKeySpec spec = { variable
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/cipher/src/
Dcipher_aes_common.c28 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
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
Dhks_openssl_sm3.c31 static int32_t Sm3GenKeyCheckParam(const struct HksKeySpec *spec) in Sm3GenKeyCheckParam()
40 int32_t HksOpensslSm3GenerateKey(const struct HksKeySpec *spec, struct HksBlob *key) in HksOpensslSm3GenerateKey()
Dhks_openssl_dh.c119 int32_t HksOpensslDhGenerateKey(const struct HksKeySpec *spec, struct HksBlob *key) in HksOpensslDhGenerateKey()
167 const struct HksKeySpec *spec, struct HksBlob *sharedKey) in HksOpensslDhAgreeKey()
/base/security/crypto_framework/test/unittest/src/aes_cipher/
Dcrypto_aes_gcm_cipher_test.cpp57 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 …]
Dcrypto_aes_ccm_cipher_test.cpp56 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 …]
/base/security/crypto_framework/test/unittest/src/
Dcrypto_common_cov_test.cpp492 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
Decc_common_param_spec.c26 HcfResult ConstructEccKeyPairCommParamsSpec(const char *algoName, HcfEccCommParamsSpec **spec) in ConstructEccKeyPairCommParamsSpec()
73 HcfAsyKeyParamsSpec **spec) in ConstructEccKeyPairParamsSpec()
143 HcfAsyKeyParamsSpec **spec) in ConstructEccPubKeyParamsSpec()
194 HcfAsyKeyParamsSpec **spec) in ConstructEccPriKeyParamsSpec()
/base/security/huks/test/unittest/huks_standard_test/module_test/framework_test/crypto_engine_test/src/
Dhks_openssl_sm4_test.cpp165 HksKeySpec spec = { variable
218 HksUsageSpec spec = { variable
254 HksUsageSpec *spec = reinterpret_cast<HksUsageSpec *>(HksMalloc(sizeof(HksUsageSpec))); variable
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
Dhks_mbedtls_dsa.c26 int32_t HksMbedtlsDsaGenerateKey(const struct HksKeySpec *spec, struct HksBlob *key) in HksMbedtlsDsaGenerateKey()
Dhks_mbedtls_ecdh.c55 const struct HksBlob *pubKey, const struct HksKeySpec *spec, struct HksBlob *sharedKey) in HksMbedtlsEcdh()
/base/security/crypto_framework/frameworks/key/
Dasy_key_generator.c612 HcfDsaCommParamsSpec *spec = (HcfDsaCommParamsSpec *)HcfMalloc(sizeof(HcfDsaCommParamsSpec), 0); in CreateDsaCommonSpecImpl() local
629 …HcfDsaPubKeyParamsSpec *spec = (HcfDsaPubKeyParamsSpec *)HcfMalloc(sizeof(HcfDsaPubKeyParamsSpec),… in CreateDsaPubKeySpecImpl() local
654 …HcfDsaKeyPairParamsSpec *spec = (HcfDsaKeyPairParamsSpec *)HcfMalloc(sizeof(HcfDsaKeyPairParamsSpe… in CreateDsaKeyPairSpecImpl() local
690 HcfDsaCommParamsSpec *spec = NULL; in CreateDsaParamsSpecImpl() local
713 …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 …]
/base/update/updater/services/ui/view/component/
Dtext_label_adapter.cpp23 const UxLabelInfo &spec = std::get<UxLabelInfo>(info.specificInfo); in TextLabelAdapter() local
/base/security/crypto_framework/frameworks/js/napi/crypto/src/
Dnapi_utils.cpp544 static bool InitDsaCommonAsyKeySpec(napi_env env, napi_value arg, HcfDsaCommParamsSpec *spec) in InitDsaCommonAsyKeySpec()
579 …HcfDsaCommParamsSpec *spec = reinterpret_cast<HcfDsaCommParamsSpec *>(HcfMalloc(sizeof(HcfDsaCommP… in GetDsaCommonAsyKeySpec() local
595 HcfDsaPubKeyParamsSpec *spec = reinterpret_cast<HcfDsaPubKeyParamsSpec *>( in GetDsaPubKeySpec() local
627 HcfDsaKeyPairParamsSpec *spec = reinterpret_cast<HcfDsaKeyPairParamsSpec *>( in GetDsaKeyPairAsyKeySpec() local
755 static bool InitEccDetailAsyKeySpec(napi_env env, napi_value arg, HcfEccCommParamsSpec *spec) in InitEccDetailAsyKeySpec()
784 static bool InitEccCommonAsyKeySpec(napi_env env, napi_value arg, HcfEccCommParamsSpec *spec, const… in InitEccCommonAsyKeySpec()
831 …HcfEccCommParamsSpec *spec = reinterpret_cast<HcfEccCommParamsSpec *>(HcfMalloc(sizeof(HcfEccCommP… in GetEccCommonAsyKeySpec() local
847 HcfEccPriKeyParamsSpec *spec = in GetEccPriKeySpec() local
881 HcfEccPubKeyParamsSpec *spec = in GetEccPubKeySpec() local
914 HcfEccKeyPairParamsSpec *spec = in GetEccKeyPairAsyKeySpec() local
[all …]
/base/time/time_service/services/timer/src/
Dtimer_handler.cpp76 itimerspec spec {}; in Create() local
112 itimerspec spec {timespec {}, ts}; in Set() local
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
Dcert_manager_key_operation.c208 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/test/fuzztest/key/asykeygenerator_fuzzer/
Dasykeygenerator_fuzzer.cpp498 static HcfResult ConstructEcc224CommParamsSpec(HcfAsyKeyParamsSpec **spec) in ConstructEcc224CommParamsSpec()
526 static HcfResult ConstructEcc224PubKeyParamsSpec(HcfAsyKeyParamsSpec **spec) in ConstructEcc224PubKeyParamsSpec()
558 static HcfResult ConstructEcc224PriKeyParamsSpec(HcfAsyKeyParamsSpec **spec) in ConstructEcc224PriKeyParamsSpec()
588 static HcfResult ConstructEcc224KeyPairParamsSpec(HcfAsyKeyParamsSpec **spec) in ConstructEcc224KeyPairParamsSpec()
622 …c HcfResult ConstructSm2256CommParamsSpec(const std::string &algoName, HcfEccCommParamsSpec **spec) in ConstructSm2256CommParamsSpec()
657 HcfAsyKeyParamsSpec **spec) in ConstructSm2256PubKeyParamsSpec()
706 HcfAsyKeyParamsSpec **spec) in ConstructSm2256PriKeyParamsSpec()
792 HcfEccCommParamsSpec *eccCommSpec, HcfAsyKeyParamsSpec **spec) in ConstructSm2256KeyPairParamsSpec()
869 HcfAsyKeyParamsSpec **spec) in ConstructAlg25519KeyPairParamsSpec()
951 HcfAsyKeyParamsSpec **spec) in ConstructAlg25519PubKeyParamsSpec()
[all …]

1234