Searched refs:Sm2CipherTextSt (Results 1 – 3 of 3) sorted by relevance
26 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()
342 typedef struct Sm2CipherTextSt Sm2CipherText;345 struct Sm2CipherTextSt { struct352 void OpensslSm2CipherTextFree(struct Sm2CipherTextSt *sm2Text); argument353 struct Sm2CipherTextSt *OpensslD2iSm2CipherText(const uint8_t *ciphertext, size_t cipherTextLen);357 struct Sm2CipherTextSt *OpensslSm2CipherTextNew(void);358 int OpensslI2dSm2CipherText(struct Sm2CipherTextSt *sm2Text, unsigned char **returnData);
1311 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()