OKlibrary  0.2.1.6
ConstraintTranslation.mac
Go to the documentation of this file.
00001 /* Matthew Gwynne, 25.3.2011 (Swansea) */
00002 /* Copyright 2011, 2012 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/DataEncryptionStandard/ConstraintTranslation.mac")$
00022 oklib_include("OKlib/ComputerAlgebra/Cryptology/Lisp/Cryptanalysis/DataEncryptionStandard/tests/ConstraintTranslation.mac")$
00023 
00024 
00025 /* *******************
00026    * xor-Constraints *
00027    *******************
00028 */
00029 
00030 okltest_des_xor_desi(des_xor_desi);
00031 okltest_des_xor_desr(des_xor_desr);
00032 
00033 
00034 /* *********************
00035    * S-box constraints *
00036    *********************
00037 */
00038 
00039 okltest_des_sbox_desr(des_sbox_deso);
00040 
00041 
00042 /* ***********************
00043    * The complete system *
00044    ***********************
00045 */
00046 
00047 okltest_des_plain2fcl(des_plain2fcl);
00048 okltest_des_plain2pa(des_plain2pa);
00049 okltest_des_cipher2fcl(des_cipher2fcl);
00050 okltest_des_cipher2pa(des_cipher2pa);
00051 okltest_des_key2fcl(des_key2fcl);
00052 okltest_des_key2pa(des_key2pa);
00053