Home
last modified time | relevance | path

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

123

/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 …]
Dcm_abort_test.cpp124 struct CmSignatureSpec spec = { CM_KEY_PURPOSE_SIGN, CM_PADDING_PSS, CM_DIGEST_SHA256 }; variable
/base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/
Dhks_crypto_hal_api_openssl.cpp66 HksKeySpec spec = { variable
84 HksKeySpec spec = { variable
104 HksKeySpec spec = { variable
147 HksUsageSpec spec = { .algType = 0xffff }; variable
182 HksUsageSpec spec = { .algType = 0xffff }; variable
217 HksUsageSpec spec = { .algType = HKS_ALG_AES, .mode = 0xffff }; variable
253 HksUsageSpec spec = { .algType = HKS_ALG_AES, .mode = 0xffff }; variable
281 … HksUsageSpec spec = { .algType = HKS_ALG_AES, .mode = HKS_MODE_CBC, .padding = HKS_PADDING_PSS }; variable
305 HksUsageSpec spec = { .algType = 0xffff }; variable
332 HksUsageSpec spec = { .algType = 0xffff }; variable
[all …]
Dhks_crypto_hal_api_mbedtls.cpp66 HksKeySpec spec = { variable
85 HksKeySpec spec = { variable
106 HksKeySpec spec = { variable
128 HksUsageSpec spec = { .algType = 0xffff }; variable
163 HksUsageSpec spec = { .algType = 0xffff }; variable
198 HksUsageSpec spec = { .algType = HKS_ALG_AES, .mode = 0xffff }; variable
222 HksUsageSpec spec = { .algType = HKS_ALG_AES, .mode = 0xffff }; variable
245 … HksUsageSpec spec = { .algType = HKS_ALG_AES, .mode = HKS_MODE_CBC, .padding = HKS_PADDING_PSS }; variable
270 … HksUsageSpec spec = { .algType = HKS_ALG_AES, .mode = HKS_MODE_CBC, .padding = HKS_PADDING_NONE }; variable
292 … 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.cpp32 HksKeySpec spec = {0}; member
175 HksKeySpec spec = { variable
Dhks_crypto_hal_rsa_key.cpp32 HksKeySpec spec = {0}; member
221 HksKeySpec spec = { variable
Dhks_crypto_hal_hmac_key.cpp65 HksKeySpec spec = { variable
Dhks_crypto_hal_aes_key.cpp32 HksKeySpec spec = {0}; member
Dhks_crypto_hal_dh.cpp34 HksKeySpec spec = {0}; member
/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()
Dhks_openssl_hmac.c51 static int32_t HmacGenKeyCheckParam(const struct HksKeySpec *spec) in HmacGenKeyCheckParam()
61 int32_t HksOpensslHmacGenerateKey(const struct HksKeySpec *spec, struct HksBlob *key) in HksOpensslHmacGenerateKey()
Dhks_openssl_curve25519.c75 int32_t HksOpensslCurve25519GenerateKey(const struct HksKeySpec *spec, struct HksBlob *key) in HksOpensslCurve25519GenerateKey()
142 const struct HksKeySpec *spec, struct HksBlob *sharedKey) in HksOpensslX25519AgreeKey()
199 const struct HksKeySpec *spec, struct HksBlob *sharedKey) in HksOpensslEd25519AgreeKey()
Dhks_openssl_sm4.c38 static int32_t Sm4GenKeyCheckParam(const struct HksKeySpec *spec) in Sm4GenKeyCheckParam()
47 int32_t HksOpensslSm4GenerateKey(const struct HksKeySpec *spec, struct HksBlob *key) in HksOpensslSm4GenerateKey()
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/aes/src/
Dcipher_aes_common.c27 HcfIvParamsSpec *spec = (HcfIvParamsSpec *)params; in GetIv() local
37 HcfCcmParamsSpec *spec = (HcfCcmParamsSpec *)params; in GetCcmTagLen() local
47 HcfCcmParamsSpec *spec = (HcfCcmParamsSpec *)params; in GetCcmTag() local
/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()
Dhks_mbedtls_dh.c112 int32_t HksMbedtlsDhGenerateKey(const struct HksKeySpec *spec, struct HksBlob *key) in HksMbedtlsDhGenerateKey()
228 const struct HksKeySpec *spec, struct HksBlob *sharedKey) in HksMbedtlsDhAgreeKey()
/base/time/time_service/services/timer/src/
Dtimer_handler.cpp80 itimerspec spec {}; in Create() local
114 itimerspec spec {timespec {}, ts}; in Set() local
/base/update/updater/services/ui/view/component/
Dtext_label_adapter.cpp24 const UxLabelInfo &spec = std::get<UxLabelInfo>(info.specificInfo); in TextLabelAdapter() local
Dbox_progress_adapter.cpp25 const UxBoxProgressInfo &spec = std::get<UxBoxProgressInfo>(info.specificInfo); in BoxProgressAdapter() local
Dimg_view_adapter.cpp79 const UxImageInfo &spec = std::get<UxImageInfo>(info.specificInfo); in ImgViewAdapter() 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()
295 …c int32_t ConstructInitParamSet(const struct CmBlob *commonUri, const struct CmSignatureSpec *spec, in ConstructInitParamSet()
371 …it(const struct CmContext *context, const struct CmBlob *alias, const struct CmSignatureSpec *spec, in CmKeyOpInit()

123