SM2_ciphertext_size
int SM2_ciphertext_size(const EC_KEY *key, const EVP_MD *digest, size_t msg_len,
if (!SM2_ciphertext_size(ctx->pkey->pkey.ec, md, inlen, outlen))
if (!SM2_ciphertext_size(key, digest, msg_len, &ctext_len))