/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 …]
|
D | cm_abort_test.cpp | 124 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/ |
D | hks_crypto_hal_api_openssl.cpp | 66 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 …]
|
D | hks_crypto_hal_api_mbedtls.cpp | 66 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 …]
|
D | hks_crypto_hal_dsa_key.cpp | 66 HksKeySpec spec = { variable 100 HksKeySpec spec = { variable
|
D | hks_crypto_hal_ecc_key.cpp | 32 HksKeySpec spec = {0}; member 175 HksKeySpec spec = { variable
|
D | hks_crypto_hal_rsa_key.cpp | 32 HksKeySpec spec = {0}; member 221 HksKeySpec spec = { variable
|
D | hks_crypto_hal_hmac_key.cpp | 65 HksKeySpec spec = { variable
|
D | hks_crypto_hal_aes_key.cpp | 32 HksKeySpec spec = {0}; member
|
D | hks_crypto_hal_dh.cpp | 34 HksKeySpec spec = {0}; member
|
/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_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()
|
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() 199 const struct HksKeySpec *spec, struct HksBlob *sharedKey) in HksOpensslEd25519AgreeKey()
|
D | hks_openssl_sm4.c | 38 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/ |
D | cipher_aes_common.c | 27 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/ |
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()
|
D | hks_mbedtls_dh.c | 112 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/ |
D | timer_handler.cpp | 80 itimerspec spec {}; in Create() local 114 itimerspec spec {timespec {}, ts}; in Set() local
|
/base/update/updater/services/ui/view/component/ |
D | text_label_adapter.cpp | 24 const UxLabelInfo &spec = std::get<UxLabelInfo>(info.specificInfo); in TextLabelAdapter() local
|
D | box_progress_adapter.cpp | 25 const UxBoxProgressInfo &spec = std::get<UxBoxProgressInfo>(info.specificInfo); in BoxProgressAdapter() local
|
D | img_view_adapter.cpp | 79 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/ |
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() 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()
|