Fix PR10: Gcm_input may loose its input message