xrootd
Functions
PC3 Namespace Reference

Functions

static unsigned int rotl (unsigned int n, unsigned int nl)
static unsigned long stream (unsigned int &r1, unsigned long b1)
static uchar pc3stream (uchar byte, unsigned long *b1, unsigned int &r1, unsigned int key)
unsigned int pc3init (unsigned int lngkey, uchar *code, unsigned long *b1, unsigned int &key)
static void funA (uchar *x, uchar *y, int o)
static void funS (uchar *x, uchar *m)
static void funR (uchar *x)
static void funM (uchar *x, uchar *y, uchar *m)
static int createkey (uchar *rpwd, unsigned int lrpw, uchar *priv)

Function Documentation

static int PC3::createkey ( uchar rpwd,
unsigned int  lrpw,
uchar priv 
) [static]
static void PC3::funA ( uchar x,
uchar y,
int  o 
) [static]

References kPC3SLEN.

Referenced by funM(), and funS().

static void PC3::funM ( uchar x,
uchar y,
uchar m 
) [static]

References funA(), funR(), funS(), and kPC3SLEN.

Referenced by PC3DiPukExp(), and PC3InitDiPuk().

static void PC3::funR ( uchar x) [static]

References kPC3SLEN.

Referenced by funM(), PC3DiPukExp(), and PC3InitDiPuk().

static void PC3::funS ( uchar x,
uchar m 
) [static]

References funA(), and kPC3SLEN.

Referenced by funM().

unsigned int PC3::pc3init ( unsigned int  lngkey,
uchar code,
unsigned long *  b1,
unsigned int &  key 
)

References kPC3MAXRPWLEN, pc3stream(), and stream().

Referenced by createkey().

static uchar PC3::pc3stream ( uchar  byte,
unsigned long *  b1,
unsigned int &  r1,
unsigned int  key 
) [static]

References stream().

Referenced by createkey(), and pc3init().

static unsigned int PC3::rotl ( unsigned int  n,
unsigned int  nl 
) [static]

References kMASKFIRST, and kMASKLAST.

Referenced by stream().

static unsigned long PC3::stream ( unsigned int &  r1,
unsigned long  b1 
) [static]

References rotl().

Referenced by pc3init(), pc3stream(), and XrdPosix_Fopen().