Home
last modified time | relevance | path

Searched refs:Sm2CipherTextSt (Results 1 – 3 of 3) sorted by relevance

/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()
57 struct Sm2CipherTextSt *sm2Text = OpensslSm2CipherTextNew(); in HcfSm2SpecToAsn1()
82 static HcfResult BuildSm2CiphertextSpec(struct Sm2CipherTextSt *sm2Text, Sm2CipherTextSpec *tempSpe… in BuildSm2CiphertextSpec()
124 struct Sm2CipherTextSt *sm2Text = OpensslD2iSm2CipherText(input->data, input->len); in HcfAsn1ToSm2Spec()
/ohos5.0/base/security/crypto_framework/plugin/openssl_plugin/common/inc/
H A Dopenssl_adapter.h342 typedef struct Sm2CipherTextSt Sm2CipherText;
345 struct Sm2CipherTextSt { struct
352 void OpensslSm2CipherTextFree(struct Sm2CipherTextSt *sm2Text); argument
353 struct Sm2CipherTextSt *OpensslD2iSm2CipherText(const uint8_t *ciphertext, size_t cipherTextLen);
357 struct Sm2CipherTextSt *OpensslSm2CipherTextNew(void);
358 int OpensslI2dSm2CipherText(struct Sm2CipherTextSt *sm2Text, unsigned char **returnData);
/ohos5.0/base/security/crypto_framework/plugin/openssl_plugin/common/src/
H A Dopenssl_adapter.c1311 struct Sm2CipherTextSt *OpensslD2iSm2CipherText(const uint8_t *ciphertext, size_t ciphertextLen) in OpensslD2iSm2CipherText()
1316 void OpensslSm2CipherTextFree(struct Sm2CipherTextSt *sm2Text) in OpensslSm2CipherTextFree()
1336 struct Sm2CipherTextSt *OpensslSm2CipherTextNew(void) in OpensslSm2CipherTextNew()
1341 int OpensslI2dSm2CipherText(struct Sm2CipherTextSt *sm2Text, unsigned char **returnData) in OpensslI2dSm2CipherText()