pike.git / src / crypt.c

version» Context lines:

pike.git/src/crypt.c:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: crypt.c,v 1.7 2003/11/10 14:15:56 nilsson Exp $ + || $Id: crypt.c,v 1.8 2003/11/11 13:47:26 grubba Exp $   */      /*    * From Andy Tanenbaum's book "Computer Networks",    * rewritten in C    */      struct block {    unsigned char b_data[64];   };
pike.git/src/crypt.c:176:    xb = s_boxes[k][r];       *q++ = (char) (xb >> 3) & 1;    *q++ = (char) (xb>>2) & 1;    *q++ = (char) (xb>>1) & 1;    *q++ = (char) (xb & 1);    }    transpose(x, &ptr, 32);   }    - static inline void definekey(char *k) + static void definekey(char *k)   {       key = *((struct block *) k);    transpose(&key, &KeyTr1, 56);   }      static void encrypt(char *blck, int edflag)   {    register struct block *p = (struct block *) blck;    register int i;