PC3.hh File Reference

Go to the source code of this file.

Defines

#define kPC3SLEN   33
#define kPC3MAXRPWLEN   256
#define kPC3MINBITS   128
#define kPC3KEYLEN   32

Typedefs

typedef unsigned char uchar

Functions

int PC3InitDiPuk (uchar *rpwd, unsigned int lrpw, uchar *pub, uchar *priv)
int PC3DiPukExp (uchar *pub, uchar *priv, uchar *key)


Define Documentation

#define kPC3KEYLEN   32

Definition at line 34 of file PC3.hh.

Referenced by XrdCryptolocalCipher::Finalize(), PC3DiPukExp(), and XrdCryptolocalCipher::XrdCryptolocalCipher().

#define kPC3MAXRPWLEN   256

Definition at line 32 of file PC3.hh.

Referenced by PC3::createkey(), and PC3::pc3init().

#define kPC3MINBITS   128

Definition at line 33 of file PC3.hh.

Referenced by XrdCryptolocalCipher::XrdCryptolocalCipher().

#define kPC3SLEN   33

Definition at line 31 of file PC3.hh.

Referenced by XrdCryptolocalCipher::AsBucket(), PC3::createkey(), XrdCryptolocalCipher::Finalize(), PC3::funA(), PC3::funM(), PC3::funR(), PC3::funS(), PC3DiPukExp(), PC3InitDiPuk(), XrdCryptolocalCipher::Public(), and XrdCryptolocalCipher::XrdCryptolocalCipher().


Typedef Documentation

typedef unsigned char uchar

Definition at line 29 of file PC3.hh.


Function Documentation

int PC3DiPukExp ( uchar pub,
uchar priv,
uchar key 
)

Definition at line 353 of file PC3.cc.

References b, PC3::funM(), PC3::funR(), g, kPC3KEYLEN, kPC3SLEN, m, n, pr(), and x1.

Referenced by XrdCryptolocalCipher::Finalize(), and XrdCryptolocalCipher::XrdCryptolocalCipher().

int PC3InitDiPuk ( uchar rpwd,
unsigned int  lrpw,
uchar pub,
uchar priv 
)

Definition at line 283 of file PC3.cc.

References b, PC3::createkey(), PC3::funM(), PC3::funR(), g, kPC3SLEN, m, n, pr(), and x1.

Referenced by XrdCryptolocalCipher::XrdCryptolocalCipher().


Generated on Tue Jul 5 16:08:05 2011 for ROOT_528-00b_version by  doxygen 1.5.1