#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "PC3.hh"
Go to the source code of this file.
Namespaces | |
namespace | PC3 |
Defines | |
#define | kMASKLAST (0x80000000) |
#define | kMASKFIRST (0x00000001) |
Functions | |
static unsigned int | PC3::rotl (unsigned int n, unsigned int nl) |
static unsigned long | PC3::stream (unsigned int &r1, unsigned long b1) |
static uchar | PC3::pc3stream (uchar byte, unsigned long *b1, unsigned int &r1, unsigned int key) |
unsigned int | PC3::pc3init (unsigned int lngkey, uchar *code, unsigned long *b1, unsigned int &key) |
static void | PC3::funA (uchar *x, uchar *y, int o) |
static void | PC3::funS (uchar *x, uchar *m) |
static void | PC3::funR (uchar *x) |
static void | PC3::funM (uchar *x, uchar *y, uchar *m) |
static int | PC3::createkey (uchar *rpwd, unsigned int lrpw, uchar *priv) |
int | PC3InitDiPuk (uchar *rpwd, unsigned int lrpw, uchar *pub, uchar *priv) |
int | PC3DiPukExp (uchar *pub, uchar *priv, uchar *key) |
Variables | |
const char * | PC3CVSID = "$Id: PC3.cc 30949 2009-11-02 16:37:58Z ganis $" |
#define kMASKFIRST (0x00000001) |
#define kMASKLAST (0x80000000) |
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().
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().
const char* PC3CVSID = "$Id: PC3.cc 30949 2009-11-02 16:37:58Z ganis $" |