Lines Matching defs:SM2_Ciphertext
31 typedef struct SM2_Ciphertext_st SM2_Ciphertext;
33 SM2_Ciphertext *SM2_Ciphertext_new(void);
34 void SM2_Ciphertext_free(SM2_Ciphertext *a);
35 SM2_Ciphertext *d2i_SM2_Ciphertext(SM2_Ciphertext **a, const unsigned char **in,
37 int i2d_SM2_Ciphertext(SM2_Ciphertext *a, unsigned char **out);
50 .offset = offsetof(SM2_Ciphertext, C1x),
57 .offset = offsetof(SM2_Ciphertext, C1y),
64 .offset = offsetof(SM2_Ciphertext, C3),
71 .offset = offsetof(SM2_Ciphertext, C2),
83 .size = sizeof(SM2_Ciphertext),
84 .sname = "SM2_Ciphertext",
87 SM2_Ciphertext *
88 d2i_SM2_Ciphertext(SM2_Ciphertext **a, const unsigned char **in, long len)
90 return (SM2_Ciphertext *) ASN1_item_d2i((ASN1_VALUE **)a, in, len,
95 i2d_SM2_Ciphertext(SM2_Ciphertext *a, unsigned char **out)
100 SM2_Ciphertext *
103 return (SM2_Ciphertext *)ASN1_item_new(&SM2_Ciphertext_it);
107 SM2_Ciphertext_free(SM2_Ciphertext *a)
250 SM2_Ciphertext ctext_struct;
467 SM2_Ciphertext *sm2_ctext = NULL;