Penance performed out of foolishness, with self-torture or to destroy or injure others, is said to be in the mode of ignorance.
of one's own self
for the sake of causing annihilation
in the mode of darkness
is said to be.