Use Util.check_length to verify signature lengths