ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

crypt_des.c File Reference
#include <advapi32.h>

Go to the source code of this file.

Defines

#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 charCRYPT_DEShash (unsigned char *dst, const unsigned char *key, const unsigned char *src)
unsigned charCRYPT_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]

Generated on Sun May 27 2012 05:06:08 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.