Home
last modified time | relevance | path

Searched refs:Sm2CipherTextSpec (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/base/security/crypto_framework/test/unittest/src/sm2/
H A Dcrypto_sm2_util_test.cpp86Sm2CipherTextSpec *tempSpec = static_cast<Sm2CipherTextSpec *>(HcfMalloc(sizeof(Sm2CipherTextSpec)… in ConstructCorrectSm2CipherTextSpec()
104Sm2CipherTextSpec *tempSpec = static_cast<Sm2CipherTextSpec *>(HcfMalloc(sizeof(Sm2CipherTextSpec)… in ConstructMissYErrorSm2CipherTextSpec()
120Sm2CipherTextSpec *tempSpec = static_cast<Sm2CipherTextSpec *>(HcfMalloc(sizeof(Sm2CipherTextSpec)… in ConstructMissXErrorSm2CipherTextSpec()
136Sm2CipherTextSpec *tempSpec = static_cast<Sm2CipherTextSpec *>(HcfMalloc(sizeof(Sm2CipherTextSpec)… in ConstructMissHashDataErrorSm2CipherTextSpec()
152Sm2CipherTextSpec *tempSpec = static_cast<Sm2CipherTextSpec *>(HcfMalloc(sizeof(Sm2CipherTextSpec)… in ConstructMissCipherDataErrorSm2CipherTextSpec()
169Sm2CipherTextSpec *tempSpec = static_cast<Sm2CipherTextSpec *>(HcfMalloc(sizeof(Sm2CipherTextSpec)… in ConstructLenErrorSm2CipherTextSpec()
187Sm2CipherTextSpec *tempSpec = static_cast<Sm2CipherTextSpec *>(HcfMalloc(sizeof(Sm2CipherTextSpec)… in ConstructLenZeroXSm2CipherTextSpec()
205Sm2CipherTextSpec *tempSpec = static_cast<Sm2CipherTextSpec *>(HcfMalloc(sizeof(Sm2CipherTextSpec)… in ConstructLenZeroYSm2CipherTextSpec()
223Sm2CipherTextSpec *tempSpec = static_cast<Sm2CipherTextSpec *>(HcfMalloc(sizeof(Sm2CipherTextSpec)… in ConstructLenZeroCipherDataSm2CipherTextSpec()
241Sm2CipherTextSpec *tempSpec = static_cast<Sm2CipherTextSpec *>(HcfMalloc(sizeof(Sm2CipherTextSpec)… in ConstructLenZeroHashDataSm2CipherTextSpec()
[all …]
/ohos5.0/base/security/crypto_framework/test/fuzztest/crypto_operation/hcfsm2create_fuzzer/
H A Dhcfsm2create_fuzzer.cpp64 …HcfResult ConstructCorrectSm2CipherTextXSpec(Sm2CipherTextSpec **spec, const uint8_t* data, size_t… in ConstructCorrectSm2CipherTextXSpec()
66Sm2CipherTextSpec *tempSpec = static_cast<Sm2CipherTextSpec *>(HcfMalloc(sizeof(Sm2CipherTextSpec)… in ConstructCorrectSm2CipherTextXSpec()
82 …HcfResult ConstructCorrectSm2CipherTextYSpec(Sm2CipherTextSpec **spec, const uint8_t* data, size_t… in ConstructCorrectSm2CipherTextYSpec()
84Sm2CipherTextSpec *tempSpec = static_cast<Sm2CipherTextSpec *>(HcfMalloc(sizeof(Sm2CipherTextSpec)… in ConstructCorrectSm2CipherTextYSpec()
100 …HcfResult ConstructCorrectSm2CipherTextSpec(Sm2CipherTextSpec **spec, const uint8_t* data, size_t … in ConstructCorrectSm2CipherTextSpec()
102Sm2CipherTextSpec *tempSpec = static_cast<Sm2CipherTextSpec *>(HcfMalloc(sizeof(Sm2CipherTextSpec)… in ConstructCorrectSm2CipherTextSpec()
125 Sm2CipherTextSpec *spec = nullptr; in TestHcfGenCipherTextBySpec()
150 Sm2CipherTextSpec *spec = nullptr; in TestHcfGenCipherTextByXSpec()
175 Sm2CipherTextSpec *spec = nullptr; in TestHcfGenCipherTextByYSpec()
199 Sm2CipherTextSpec *spec = nullptr; in TestHcfGetCipherTextSpec()
[all …]
/ohos5.0/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/cipher/src/
H A Dcipher_sm2_crypto_util_openssl.c26 static HcfResult BuildSm2Ciphertext(const Sm2CipherTextSpec *spec, struct Sm2CipherTextSt *sm2Text) in BuildSm2Ciphertext()
55 HcfResult HcfSm2SpecToAsn1(Sm2CipherTextSpec *spec, HcfBlob *output) in HcfSm2SpecToAsn1()
82 static HcfResult BuildSm2CiphertextSpec(struct Sm2CipherTextSt *sm2Text, Sm2CipherTextSpec *tempSpe… in BuildSm2CiphertextSpec()
122 HcfResult HcfAsn1ToSm2Spec(HcfBlob *input, Sm2CipherTextSpec **returnSpec) in HcfAsn1ToSm2Spec()
129 Sm2CipherTextSpec *tempSpec = (Sm2CipherTextSpec *)(HcfMalloc(sizeof(Sm2CipherTextSpec), 0)); in HcfAsn1ToSm2Spec()
/ohos5.0/base/security/crypto_framework/frameworks/js/napi/crypto/src/
H A Dnapi_sm2_crypto_util.cpp44 static bool GetSm2CipherTextSpecFromNapiValue(napi_env env, napi_value arg, Sm2CipherTextSpec **ret… in GetSm2CipherTextSpecFromNapiValue()
50Sm2CipherTextSpec *tempSpec = static_cast<Sm2CipherTextSpec *>(HcfMalloc(sizeof(Sm2CipherTextSpec)… in GetSm2CipherTextSpecFromNapiValue()
121 Sm2CipherTextSpec *spec = nullptr; in JsGenCipherTextBySpec()
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()
265 Sm2CipherTextSpec *returnSpec = nullptr; in JsGetCipherTextSpec()
/ohos5.0/base/security/crypto_framework/interfaces/innerkits/algorithm_parameter/
H A Dsm2_crypto_params.h22 typedef struct Sm2CipherTextSpec { struct
27 } Sm2CipherTextSpec; argument
33 void DestroySm2CipherTextSpec(Sm2CipherTextSpec *spec);
/ohos5.0/base/security/crypto_framework/frameworks/cj/src/
H A Dsm2_crypto_util_impl.cpp24 HcfBlob Sm2CryptoUtilImpl::GenCipherTextBySpec(Sm2CipherTextSpec spec, char *mode, int32_t *errCode) in GenCipherTextBySpec()
31 Sm2CipherTextSpec *Sm2CryptoUtilImpl::GetCipherTextSpec(HcfBlob input, char *mode, int32_t *errCode) in GetCipherTextSpec()
33 Sm2CipherTextSpec *returnSpec = nullptr; in GetCipherTextSpec()
H A Dcrypto_ffi.cpp1806 …HcfBlob FFiOHOSSm2CryptoUtilGenCipherTextBySpec(Sm2CipherTextSpec spec, char *mode, int32_t *errCo… in FFiOHOSSm2CryptoUtilGenCipherTextBySpec()
1811Sm2CipherTextSpec *FFiOHOSSm2CryptoUtilGetCipherTextSpec(HcfBlob input, char *mode, int32_t *errCo… in FFiOHOSSm2CryptoUtilGetCipherTextSpec()
/ohos5.0/base/security/crypto_framework/frameworks/crypto_operation/
H A Dsm2_crypto_util.c25 typedef HcfResult (*HcfSm2SpecToASN1CreateFunc)(Sm2CipherTextSpec *spec, HcfBlob *output);
64 static bool CheckSm2CipherTextSpec(Sm2CipherTextSpec *spec) in CheckSm2CipherTextSpec()
93 HcfResult HcfGenCipherTextBySpec(Sm2CipherTextSpec *spec, const char *mode, HcfBlob *output) in HcfGenCipherTextBySpec()
115 HcfResult HcfGetCipherTextSpec(HcfBlob *input, const char *mode, Sm2CipherTextSpec **returnSpc) in HcfGetCipherTextSpec()
/ohos5.0/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/cipher/inc/
H A Dcipher_sm2_crypto_util_openssl.h26 HcfResult HcfSm2SpecToAsn1(Sm2CipherTextSpec *spec, HcfBlob *output);
27 HcfResult HcfAsn1ToSm2Spec(HcfBlob *input, Sm2CipherTextSpec **returnSpec);
/ohos5.0/base/security/crypto_framework/interfaces/innerkits/crypto_operation/
H A Dsm2_crypto_util.h36 HcfResult HcfGenCipherTextBySpec(Sm2CipherTextSpec *spec, const char *mode, HcfBlob *output);
47 HcfResult HcfGetCipherTextSpec(HcfBlob *input, const char *mode, Sm2CipherTextSpec **returnSpc);
/ohos5.0/base/security/crypto_framework/frameworks/cj/include/
H A Dsm2_crypto_util_impl.h26 static HcfBlob GenCipherTextBySpec(Sm2CipherTextSpec spec, char *mode, int32_t *errCode);
27 static Sm2CipherTextSpec *GetCipherTextSpec(HcfBlob input, char *mode, int32_t *errCode);
H A Dcrypto_ffi.h190 …FFI_EXPORT HcfBlob FFiOHOSSm2CryptoUtilGenCipherTextBySpec(Sm2CipherTextSpec spec, char *mode, int…
191 …FFI_EXPORT Sm2CipherTextSpec *FFiOHOSSm2CryptoUtilGetCipherTextSpec(HcfBlob input, char *mode, int…
/ohos5.0/base/security/crypto_framework/common/src/
H A Dasy_key_params.c471 void DestroySm2CipherTextSpec(Sm2CipherTextSpec *spec) in DestroySm2CipherTextSpec()