It can't be extralegal if she wasn't prosecuted for it. I think she is just a very tiny cog in a very big machine, a figurehead to throw under the bus if something goes wrong.
She is no more responsible for torture than a janitor who may have also been present.