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

pubkey.h File Reference


Detailed Description

This file contains helper classes/functions for implementing public key algorithms.

The class hierachies in this .h file tend to look like this:

                  x1
                 / \
                y1  z1
                 |  |
            x2<y1>  x2<z1>
                 |  |
                y2  z2
                 |  |
            x3<y2>  x3<z2>
                 |  |
                y3  z3

The "TF_" prefix means an implementation using trapdoor functions on integers. The "DL_" prefix means an implementation using group operations (in groups where discrete log is hard).

Definition in file pubkey.h.

#include "modarith.h"
#include "filters.h"
#include "eprecomp.h"
#include "fips140.h"
#include "argnames.h"
#include <memory>

Go to the source code of this file.

Typedefs

typedef std::pair< const byte *,
unsigned int > 
HashIdentifier
typedef EnumToType< CofactorMultiplicationOption,
NO_COFACTOR_MULTIPLICTION > 
NoCofactorMultiplication
typedef EnumToType< CofactorMultiplicationOption,
COMPATIBLE_COFACTOR_MULTIPLICTION > 
CompatibleCofactorMultiplication
typedef EnumToType< CofactorMultiplicationOption,
INCOMPATIBLE_COFACTOR_MULTIPLICTION > 
IncompatibleCofactorMultiplication

Enumerations

enum  CofactorMultiplicationOption { NO_COFACTOR_MULTIPLICTION, COMPATIBLE_COFACTOR_MULTIPLICTION, INCOMPATIBLE_COFACTOR_MULTIPLICTION }

Functions

void P1363_MGF1KDF2_Common (HashTransformation &hash, byte *output, unsigned int outputLength, const byte *input, unsigned int inputLength, const byte *derivationParams, unsigned int derivationParamsLength, bool mask, unsigned int counterStart)


Generated on Sat Jan 22 09:44:39 2005 for Crypto++ by  doxygen 1.4.0