Changeset 21916 for trunk/src/advapi32/crypt_des.cpp
- Timestamp:
- Dec 18, 2011, 10:28:22 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 1 bin 2 Makefile.inc 1 env.cmd 2 LocalConfig.kmk
-
-
Property svn:mergeinfo
set to
/branches/gcc-kmk merged eligible
- Property svn:ignore
-
trunk/src/advapi32/crypt_des.cpp
r21326 r21916 245 245 } 246 246 247 static void xor( unsigned char *dst, const unsigned char *a, const unsigned char *b, const int count )247 static void Xor( unsigned char *dst, const unsigned char *a, const unsigned char *b, const int count ) 248 248 { 249 249 int i; … … 302 302 303 303 Permute( Rexp, R, DataExpansion, 6 ); 304 xor( Rexp, Rexp, SubK, 6 );304 Xor( Rexp, Rexp, SubK, 6 ); 305 305 306 306 sbox( Rn, Rexp ); 307 307 Permute( Rexp, Rn, PBox, 4 ); 308 xor( Rn, L, Rexp, 4 );308 Xor( Rn, L, Rexp, 4 ); 309 309 310 310 for (j = 0; j < 4; j++) … … 341 341 342 342 Permute( Rexp, R, DataExpansion, 6 ); 343 xor( Rexp, Rexp, SubK, 6 );343 Xor( Rexp, Rexp, SubK, 6 ); 344 344 345 345 sbox( Rn, Rexp ); 346 346 Permute( Rexp, Rn, PBox, 4 ); 347 xor( Rn, L, Rexp, 4 );347 Xor( Rn, L, Rexp, 4 ); 348 348 349 349 for (j = 0; j < 4; j++)
Note:
See TracChangeset
for help on using the changeset viewer.