Searched refs:ctext_struct (Results 1 – 1 of 1) sorted by relevance
122 struct SM2_Ciphertext_st ctext_struct; in ossl_sm2_encrypt() local138 ctext_struct.C2 = NULL; in ossl_sm2_encrypt()139 ctext_struct.C3 = NULL; in ossl_sm2_encrypt()231 ctext_struct.C1x = x1; in ossl_sm2_encrypt()232 ctext_struct.C1y = y1; in ossl_sm2_encrypt()233 ctext_struct.C3 = ASN1_OCTET_STRING_new(); in ossl_sm2_encrypt()234 ctext_struct.C2 = ASN1_OCTET_STRING_new(); in ossl_sm2_encrypt()236 if (ctext_struct.C3 == NULL || ctext_struct.C2 == NULL) { in ossl_sm2_encrypt()240 if (!ASN1_OCTET_STRING_set(ctext_struct.C3, C3, C3_size) in ossl_sm2_encrypt()241 || !ASN1_OCTET_STRING_set(ctext_struct.C2, msg_mask, msg_len)) { in ossl_sm2_encrypt()[all …]