00001 /* 00002 * MCE, the real life implementation of McEliece encryption scheme. 00003 * Copyright Projet SECRET, INRIA, Rocquencourt and Bhaskar Biswas and 00004 * Nicolas Sendrier (Bhaskar.Biswas@inria.fr, Nicolas.Sendrier@inria.fr). 00005 * 00006 * This is free software; you can redistribute it and/or modify it 00007 * under the terms of the GNU Lesser General Public License as 00008 * published by the Free Software Foundation; either version 2.1 of 00009 * the License, or (at your option) any later version. 00010 * 00011 * This software is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 * Lesser General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU Lesser General Public 00017 * License along with this software; if not, write to the Free 00018 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 00019 * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 00020 */ 00021 void randomize(unsigned char * cleartext, unsigned char * message); 00022 int unrandomize(unsigned char * message, unsigned char * cleartext);