Advanced linear cryptanalysis of block and stream ciphers (IOS Press, 2011)