Mixed-signal hardware security thwarts powerful electromagnetic attacks