Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Decrypt.cc File Reference

#include <aconf.h>
#include "gmem.h"
#include "Decrypt.h"

Include dependency graph for Decrypt.cc:

Go to the source code of this file.

Functions

static void rc4InitKey (Guchar *key, int keyLen, Guchar *state)
static Guchar rc4DecryptByte (Guchar *state, Guchar *x, Guchar *y, Guchar c)
static void md5 (Guchar *msg, int msgLen, Guchar *digest)
static Gulong rotateLeft (Gulong x, int r)
static Gulong md5Round1 (Gulong a, Gulong b, Gulong c, Gulong d, Gulong Xk, Gulong s, Gulong Ti)
static Gulong md5Round2 (Gulong a, Gulong b, Gulong c, Gulong d, Gulong Xk, Gulong s, Gulong Ti)
static Gulong md5Round3 (Gulong a, Gulong b, Gulong c, Gulong d, Gulong Xk, Gulong s, Gulong Ti)
static Gulong md5Round4 (Gulong a, Gulong b, Gulong c, Gulong d, Gulong Xk, Gulong s, Gulong Ti)

Variables

static Guchar passwordPad [32]


Function Documentation

static void md5 Guchar msg,
int  msgLen,
Guchar digest
[static]
 

Definition at line 245 of file Decrypt.cc.

References d, i, md5Round1(), md5Round2(), md5Round3(), md5Round4(), and Opie::MM::x.

Referenced by Decrypt::Decrypt(), generate_random(), Decrypt::makeFileKey(), Decrypt::makeFileKey2(), sec_hash_16(), sec_hash_48(), sec_sign(), and sec_update().

static Gulong md5Round1 Gulong  a,
Gulong  b,
Gulong  c,
Gulong  d,
Gulong  Xk,
Gulong  s,
Gulong  Ti
[inline, static]
 

Definition at line 225 of file Decrypt.cc.

References rotateLeft().

Referenced by md5().

static Gulong md5Round2 Gulong  a,
Gulong  b,
Gulong  c,
Gulong  d,
Gulong  Xk,
Gulong  s,
Gulong  Ti
[inline, static]
 

Definition at line 230 of file Decrypt.cc.

References rotateLeft().

Referenced by md5().

static Gulong md5Round3 Gulong  a,
Gulong  b,
Gulong  c,
Gulong  d,
Gulong  Xk,
Gulong  s,
Gulong  Ti
[inline, static]
 

Definition at line 235 of file Decrypt.cc.

References rotateLeft().

Referenced by md5().

static Gulong md5Round4 Gulong  a,
Gulong  b,
Gulong  c,
Gulong  d,
Gulong  Xk,
Gulong  s,
Gulong  Ti
[inline, static]
 

Definition at line 240 of file Decrypt.cc.

References rotateLeft().

Referenced by md5().

static Guchar rc4DecryptByte Guchar state,
Guchar x,
Guchar y,
Guchar  c
[static]
 

Definition at line 203 of file Decrypt.cc.

Referenced by Decrypt::decryptByte(), Decrypt::makeFileKey(), and Decrypt::makeFileKey2().

static void rc4InitKey Guchar key,
int  keyLen,
Guchar state
[static]
 

Definition at line 186 of file Decrypt.cc.

References i, and t.

Referenced by Decrypt::Decrypt(), Decrypt::makeFileKey(), Decrypt::makeFileKey2(), and Decrypt::reset().

static Gulong rotateLeft Gulong  x,
int  r
[inline, static]
 

Definition at line 220 of file Decrypt.cc.

Referenced by FF(), GG(), HH(), II(), md5Round1(), md5Round2(), md5Round3(), and md5Round4().


Variable Documentation

Guchar passwordPad[32] [static]
 

Initial value:

 {
  0x28, 0xbf, 0x4e, 0x5e, 0x4e, 0x75, 0x8a, 0x41,
  0x64, 0x00, 0x4e, 0x56, 0xff, 0xfa, 0x01, 0x08, 
  0x2e, 0x2e, 0x00, 0xb6, 0xd0, 0x68, 0x3e, 0x80, 
  0x2f, 0x0c, 0xa9, 0xfe, 0x64, 0x53, 0x69, 0x7a
}

Definition at line 21 of file Decrypt.cc.

Referenced by Decrypt::makeFileKey(), and Decrypt::makeFileKey2().


Generated on Sat Nov 5 17:18:45 2005 for OPIE by  doxygen 1.4.2