Enhancing broadcast authentication in sensor networks