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

CODEX_Ciphers Namespace Reference

This namespace holds all of the class definitions for the cryptosystems employed by CODEX. More...


Classes

class  ExceptionBase
 Base class for all exceptions thrown by classes in CODEX_Ciphers. More...
class  Credentials
 This class is used to demonstrate access rights. More...
class  ElGamalCipherText
 Serializable encapsulation of an ElGamal ciphertext. More...
class  ElGamalSchnorrCipherText
 Serializable encapsulation of an ElGamal ciphertext with a Schnorr signature to prove plaintext knowledge. More...
class  ElGamalSignature
 Serializable encapsulation of an ElGamal signature. More...
class  ElGamalPublicKey
 Serializable encapsulation of an ElGamal public key. More...
class  ElGamalPrivateKey
 Serializable encapsulation of an ElGamal private key. More...
class  ElGamalKeyPairGenerator
 Helper object to create an ElGamal public/private key pair. More...
class  HashFunction
 This is the base class for functional objects that compute hashes. More...
class  PolCredBase
 This is the base class for access policies and credentials. More...
class  Policy
 This class is used to express an access policy. More...
class  RSACipherText
 Serializable encapsulation of an RSA ciphertext. More...
class  RSASignature
 Serializable encapsulation of an RSA signature. More...
class  RSAPublicKey
 Serializable encapsulation of an RSA public key. More...
class  RSAPrivateKey
 Serializable encapsulation of an RSA private key. More...
class  RSAKeyPairGenerator
 Helper object to create an RSA public/private key pair. More...
class  RSAPlaintextPK
 RSA proof of plaintext knowledge. More...
class  SHA1HashFunction
 This implements the SHA1 hash function. More...
class  TranslationCertificate
 This class holds a proof that two ElGamalCipherText%s decrypt to the same plaintext. More...
class  VarRSACipherText
 Serializable encapsulation of an RSA variant ciphertext. More...
class  VarRSABlindCipherText
 Serializable representation of an RSA variant blinded ciphertext. More...
class  VarRSABlindPlainText
 Serializable representation of a blinded plaintext for the RSA variant. More...
class  VarRSAPublicKey
 The RSA variant public key, which wraps the regular RSA public key. More...
class  VarRSAPrivateKey
 The RSA variant private key, which wraps the regular RSA private key. More...

Typedefs

typedef RSASignature VarRSASignature

Functions

BIGNUM * BIGNUM_xor (BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
 This functions computes the XOR of two BIGNUM%s.
BIGNUM * jacobi (const BIGNUM *a, const BIGNUM *n)
 This function returns the Jacobi symbol (a|n).


Detailed Description

This namespace holds all of the class definitions for the cryptosystems employed by CODEX.

Function Documentation

BIGNUM * CODEX_Ciphers::BIGNUM_xor BIGNUM *  r,
const BIGNUM *  a,
const BIGNUM *  b
 

This functions computes the XOR of two BIGNUM%s.

Parameters:
r The return value, if non-0.
a The first operand.
b The second operand.
Returns:
The XOR of a and b. If r is 0, a new pointer is returned.
Note:
The code was lifted from bn_gf2m.c in a later release of OpenSSL than was available during development of this package. This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org/)

Definition at line 24 of file BIGNUM_xor.cc.

Referenced by CODEX_Ciphers::VarRSAPrivateKey::decrypt(), CODEX_Ciphers::VarRSAPublicKey::encrypt(), and CODEX_Ciphers::VarRSABlindPlainText::unblind().

BIGNUM * CODEX_Ciphers::jacobi const BIGNUM *  a,
const BIGNUM *  n
 

This function returns the Jacobi symbol (a|n).

Returns:
A new BIGNUM containing the result

Definition at line 24 of file jacobi.cc.

Referenced by CODEX_Ciphers::ElGamalPublicKey::encryptVals().


Generated on Fri May 6 17:41:49 2005 for COrnell Data EXchange (CODEX) by  doxygen 1.4.1