I really want to learn how to calculate the number of active s _boxes for block cipher cryptographic algorithms. I want to do that manually after running each round of an algorithm such as LED algorithm, what should I notice or compare in order to calculate the number of active s_boxes ? I read that definition ".You run the algorithm with two different plaintexts (whose difference is usually small – just a few bits, everything else being equal).
Wherever these plaintexts lead to different inputs to an S-box (in any layer/round of the algorithm), we call this S-Box “active” (since the other S-boxes produce the same result for both plaintexts, they are called “passive” and are not considered further)"", and want to learn how to calculate the number of differential active s_boxes?