OKlibrary  0.2.1.6
SboxAnalysis.mac
Go to the documentation of this file.
00001 /* Matthew Gwynne, 2.4.2008 (Swansea) */
00002 /* Copyright 2008, 2009, 2010, 2011 Oliver Kullmann
00003 This file is part of the OKlibrary. OKlibrary is free software; you can redistribute
00004 it and/or modify it under the terms of the GNU General Public License as published by
00005 the Free Software Foundation and included in this library; either version 3 of the
00006 License, or any later version. */
00007 
00021 oklib_include("OKlib/ComputerAlgebra/Cryptology/Lisp/Cryptanalysis/Rijndael/SboxAnalysis.mac")$
00022 oklib_include("OKlib/ComputerAlgebra/Cryptology/Lisp/Cryptanalysis/Rijndael/tests/SboxAnalysis.mac")$
00023 
00024 /* ******************************************
00025    * Sbox Analysis                          *
00026    ******************************************
00027 */
00028 
00029 okltest_rijnsbox_fulldnf_fcs(rijnsbox_fulldnf_fcs);
00030 okltest_rijnsbox_fullcnf_fcs(rijnsbox_fullcnf_fcs);
00031 
00032 okltest_rijnsbox_cnfp(rijnsbox_cnfp);
00033 
00034 /* ******************************************************
00035    * Small Scale Sbox Analysis                          *
00036    ******************************************************
00037 */
00038 
00039 okltest_ss_sbox_fulldnf_gen_fcl(ss_sbox_fulldnf_gen_fcl);
00040 
00041 okltest_ss_sbox_fullcnf_gen_fcs(ss_sbox_fullcnf_gen_fcs);
00042 okltest_ss_sbox_gen_cnfp(ss_sbox_gen_cnfp);
00043 
00044 /* *****************************************************************
00045    * Small Scale Sbox linear map Analysis                          *
00046    *****************************************************************
00047 */
00048 
00049 okltest_ss_sbox_linmap_fulldnf_fcl(ss_sbox_linmap_fulldnf_fcl);
00050 okltest_ss_sbox_linmap_fullcnf_fcs(ss_sbox_linmap_fullcnf_fcs);
00051 okltest_ss_matrix2str(ss_matrix2str);
00052 okltest_ss_sbox_linmap_cnfp(ss_sbox_linmap_cnfp);
00053 
00054 /* *****************************************************************
00055    * Small scale multiplication then Sbox linear map analysis      *
00056    *****************************************************************
00057 */
00058 
00059 okltest_ss_mul_w_sbox_linmap_fulldnf_fcl(ss_mul_w_sbox_linmap_fulldnf_fcl);
00060 okltest_ss_mul_w_sbox_linmap_fullcnf_fcs(ss_mul_w_sbox_linmap_fullcnf_fcs);
00061 okltest_ss_mul_w_sbox_linmap_cnfp(ss_mul_w_sbox_linmap_cnfp);
00062 
00063 /* ******************************************
00064    * Representations by hitting clause-sets *
00065    ******************************************
00066 */
00067 
00068 okltest_rijnsbox2hittingcnf_fcs(rijnsbox2hittingcnf_fcs);
00069 
00070