OKlibrary  0.2.1.6
GeneralisedConstraintTranslation.mac
Go to the documentation of this file.
00001 /* Matthew Gwynne, 22.5.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/GeneralisedConstraintTranslation.mac")$
00022 oklib_include("OKlib/ComputerAlgebra/Cryptology/Lisp/Cryptanalysis/DataEncryptionStandard/tests/ConstraintTranslation.mac")$
00023 oklib_include("OKlib/ComputerAlgebra/Cryptology/Lisp/Cryptanalysis/DataEncryptionStandard/tests/GeneralisedConstraintTranslation.mac")$
00024 
00025 
00026 /* ***********************
00027    * The complete system *
00028    ***********************
00029 */
00030 
00031 okltest_des_sbox_output2inputs(des_sbox_output2inputs);
00032 okltest_des_sbox_outputs2inputs(des_sbox_outputs2inputs);
00033 
00034 
00035 /* **************************************************************
00036    * Assignments to plaintext, key and ciphertext variables     *
00037    **************************************************************
00038 */
00039 
00040 okltest_des_plain2pa(des_plain2pa_gen);
00041 okltest_des_plain2fcl(des_plain2fcl_gen);
00042 okltest_des_cipher2pa_gen(des_cipher2pa_gen);
00043 okltest_des_cipher2fcl_gen(des_cipher2fcl_gen);
00044 okltest_des_key2pa(des_key2pa_gen);
00045 okltest_des_key2fcl(des_key2fcl_gen);
00046 
00047 okltest_des_random_pkctriple(des_random_pkctriple);
00048 okltest_des_random_pkctriple_pa(des_random_pkctriple_pa);
00049 okltest_des_random_pkctriple_pa_std(des_random_pkctriple_pa_std);
00050 okltest_des_random_pcpair_pa(des_random_pcpair_pa);
00051 okltest_des_random_pcpair_pa_std(des_random_pcpair_pa_std);
00052 okltest_des_random_pkpair_pa(des_random_pkpair_pa);
00053 okltest_des_random_pkpair_pa_std(des_random_pkpair_pa_std);
00054 okltest_des_random_kcpair_pa(des_random_kcpair_pa);
00055 okltest_des_random_kcpair_pa_std(des_random_kcpair_pa_std);
00056