Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

PC1.cc File Reference

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include "PC1.hh"

Include dependency graph for PC1.cc:

Include dependency graph

Namespaces

namespace  PC1

Typedefs

typedef unsigned short ushort

Functions

ushort code (ushort &ind, ushort &si, ushort &x1a2, ushort *x1a0)
void assemble (unsigned char *cle, ushort &inter, ushort &si, ushort &x1a2)
int PC1HashFun (const char *in, int lin, const char *sa, int lsa, int it, char *out)
int PC1Encrypt (const char *in, int lin, const char *key, int lkey, char *out)
int PC1Decrypt (const char *in, int lin, const char *key, int lkey, char *out)

Variables

const char * PC1CVSID = "$Id$"
unsigned char cleref [kPC1LENGTH]

Typedef Documentation

typedef unsigned short ushort
 


Function Documentation

void assemble unsigned char *  cle,
ushort inter,
ushort si,
ushort x1a2
[static]
 

ushort code ushort ind,
ushort si,
ushort x1a2,
ushort x1a0
[static]
 

int PC1Decrypt const char *  in,
int  lin,
const char *  key,
int  lkey,
char *  out
 

int PC1Encrypt const char *  in,
int  lin,
const char *  key,
int  lkey,
char *  out
 

int PC1HashFun const char *  in,
int  lin,
const char *  sa,
int  lsa,
int  it,
char *  out
 


Variable Documentation

unsigned char cleref[kPC1LENGTH] [static]
 

Initial value:

   {'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p',
    'q','r','s','t','u','v','w','x','y','z','0','1','2','3','4','5'}

const char* PC1CVSID = "$Id$"
 


Generated on Sun Nov 6 13:39:24 2011 for xrootd by  doxygen 1.3.9.1