Moradi, Amir, et al. “Leakage Detection With the X2-Test”. IACR Transactions on Cryptographic Hardware and Embedded Systems, vol. 2018, no. 1, Feb. 2018, pp. 209-37, doi:10.13154/tches.v2018.i1.209-237.