Attack resilient algorithms and testbed federation for wide-area protection and control in smart grid