Security Control Mechanism For Safety Critical Functions Operating On Automotive Controller Area Network