Abstract
Linearity becomes a crucial criterion for cryptographic function in an S-box in a block cipher. The linearity issues have drawn attention for researchers to improve the quality of S-box. A linearity test framework is needed to test the linearity components in S-box to facilitate researchers develop their S-box effectively. Without proper guidelines of linearity test will make researchers create or alter any S-box based on their own perceptions and knowledge.