SM2_MAX_ID_LEN
#define Z_INPUT_MAX_LEN (2 + SM2_MAX_ID_LEN + (6 * BYTECEIL(CURVES_MAX_P_BIT_LEN)))
MUST_HAVE((id_len <= SM2_MAX_ID_LEN), ret, err);