[BACK]Return to rijndael.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/rijndael.c between version 1.1 and 1.2

version 1.1, 2000/10/13 18:59:14 version 1.2, 2000/10/15 14:14:01
Line 306 
Line 306 
         }          }
   
         tab_gen = 1;          tab_gen = 1;
 };  }
   
 #define star_x(x) (((x) & 0x7f7f7f7f) << 1) ^ ((((x) & 0x80808080) >> 7) * 0x1b)  #define star_x(x) (((x) & 0x7f7f7f7f) << 1) ^ ((((x) & 0x80808080) >> 7) * 0x1b)
   
Line 399 
Line 399 
         }          }
   
         return ctx;          return ctx;
 };  }
   
 /* encrypt a block of text  */  /* encrypt a block of text  */
   
Line 444 
Line 444 
   
         out_blk[0] = b0[0]; out_blk[1] = b0[1];          out_blk[0] = b0[0]; out_blk[1] = b0[1];
         out_blk[2] = b0[2]; out_blk[3] = b0[3];          out_blk[2] = b0[2]; out_blk[3] = b0[3];
 };  }
   
 /* decrypt a block of text  */  /* decrypt a block of text  */
   
Line 490 
Line 490 
   
         out_blk[0] = b0[0]; out_blk[1] = b0[1];          out_blk[0] = b0[0]; out_blk[1] = b0[1];
         out_blk[2] = b0[2]; out_blk[3] = b0[3];          out_blk[2] = b0[2]; out_blk[3] = b0[3];
 };  }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2