|
ReactOS 0.4.16-dev-1946-g52006dd
|

Go to the source code of this file.
Macros | |
| #define | CLRBIT(STR, IDX) ( (STR)[(IDX)/8] &= ~(0x01 << (7 - ((IDX)%8))) ) |
| #define | SETBIT(STR, IDX) ( (STR)[(IDX)/8] |= (0x01 << (7 - ((IDX)%8))) ) |
| #define | GETBIT(STR, IDX) (( ((STR)[(IDX)/8]) >> (7 - ((IDX)%8)) ) & 0x01) |
Functions | |
| static void | Permute (unsigned char *dst, const unsigned char *src, const unsigned char *map, const int mapsize) |
| static void | KeyShiftLeft (unsigned char *key, const int numbits) |
| static void | KeyShiftRight (unsigned char *key, const int numbits) |
| static void | sbox (unsigned char *dst, const unsigned char *src) |
| static void | xor (unsigned char *dst, const unsigned char *a, const unsigned char *b, const int count) |
| unsigned char * | CRYPT_DEShash (unsigned char *dst, const unsigned char *key, const unsigned char *src) |
| unsigned char * | CRYPT_DESunhash (unsigned char *dst, const unsigned char *key, const unsigned char *src) |
Variables | |
| static const unsigned char | InitialPermuteMap [64] |
| static const unsigned char | KeyPermuteMap [56] |
| static const unsigned char | KeyRotation [16] |
| static const unsigned char | KeyCompression [48] |
| static const unsigned char | DataExpansion [48] |
| static const unsigned char | SBox [8][64] |
| static const unsigned char | PBox [32] |
| static const unsigned char | FinalPermuteMap [64] |
Definition at line 149 of file crypt_des.c.
Definition at line 151 of file crypt_des.c.
Definition at line 150 of file crypt_des.c.
| unsigned char * CRYPT_DEShash | ( | unsigned char * | dst, |
| const unsigned char * | key, | ||
| const unsigned char * | src | ||
| ) |
Definition at line 259 of file crypt_des.c.
Referenced by CRYPT_LMhash(), SystemFunction001(), SystemFunction003(), SystemFunction004(), SystemFunction008(), SystemFunction012(), and SystemFunction024().
| unsigned char * CRYPT_DESunhash | ( | unsigned char * | dst, |
| const unsigned char * | key, | ||
| const unsigned char * | src | ||
| ) |
Definition at line 299 of file crypt_des.c.
Referenced by SystemFunction002(), SystemFunction005(), SystemFunction013(), and SystemFunction025().
Definition at line 169 of file crypt_des.c.
Referenced by CRYPT_DEShash().
Definition at line 198 of file crypt_des.c.
Referenced by CRYPT_DESunhash().
|
static |
Definition at line 153 of file crypt_des.c.
Referenced by CRYPT_DEShash(), and CRYPT_DESunhash().
Definition at line 227 of file crypt_des.c.
Referenced by CRYPT_DEShash(), and CRYPT_DESunhash().
|
static |
Definition at line 251 of file crypt_des.c.
Referenced by crc32(), CRYPT_DEShash(), CRYPT_DESunhash(), MyAppendUnicodeToString_(), MyInitUnicodeString(), RtlAppendUnicodeToString(), UDFCheckZeroBuf(), UDFCrc(), UDFDissectName(), UDFGetExtentLength(), UDFGetMappingLength(), UDFIsIllegalChar(), UDFPhysLbaToPart(), UDFUnicodeCksum(), UDFUnicodeCksum150(), and WCacheGetSortedListIndex().
Definition at line 67 of file crypt_des.c.
Referenced by CRYPT_DEShash(), and CRYPT_DESunhash().
Definition at line 137 of file crypt_des.c.
Referenced by CRYPT_DEShash(), and CRYPT_DESunhash().
Definition at line 31 of file crypt_des.c.
Referenced by CRYPT_DEShash(), and CRYPT_DESunhash().
Definition at line 57 of file crypt_des.c.
Referenced by CRYPT_DEShash(), and CRYPT_DESunhash().
Definition at line 43 of file crypt_des.c.
Referenced by CRYPT_DEShash(), and CRYPT_DESunhash().
Definition at line 54 of file crypt_des.c.
Referenced by CRYPT_DEShash(), and CRYPT_DESunhash().
Definition at line 129 of file crypt_des.c.
Referenced by CRYPT_DEShash(), and CRYPT_DESunhash().