Print this page
3882 remove xmod & friends

@@ -160,11 +160,10 @@
  * Do the CBC ourselves if needed.
  */
 int
 __des_crypt(char *buf, unsigned len, struct desparams *desp)
 {
-/* EXPORT DELETE START */
         short i;
         unsigned mode;
         unsigned dir;
         char nextiv[8];
         struct deskeydata softkey;

@@ -199,11 +198,10 @@
                         break;
                 }
                 buf += 8;
                 len -= 8;
         }
-/* EXPORT DELETE END */
         return (1);
 }
 
 
 /*

@@ -211,11 +209,10 @@
  * We build the 16 key entries here
  */
 static int
 __des_setkey(uchar_t userkey[8], struct deskeydata *kd, unsigned dir)
 {
-/* EXPORT DELETE START */
         int32_t C, D;
         short i;
 
         /*
          * First, generate C and D by permuting

@@ -291,11 +288,10 @@
                         }
                         bbit >>= 8;
                 }
 
         }
-/* EXPORT DELETE END */
         return (1);
 }
 
 
 

@@ -307,11 +303,10 @@
  * processor byte-order independence.
  */
 static int
 __des_encrypt(uchar_t *data, struct deskeydata *kd)
 {
-/* EXPORT DELETE START */
         chunk_t work1, work2;
 
         /*
          * Initial permutation
          * and byte to chunk conversion

@@ -474,8 +469,7 @@
         data[4] = work2.byte4;
         data[5] = work2.byte5;
         data[6] = work2.byte6;
         data[7] = work2.byte7;
 
-/* EXPORT DELETE END */
         return (1);
 }