Algorithm Class Reference

#include <cryptlib.h>

Inheritance diagram for Algorithm:

Clonable AsymmetricAlgorithm BlockTransformation BufferedTransformation HashTransformation RandomNumberGenerator StreamTransformation KeyAgreementAlgorithm PrivateKeyAlgorithm PublicKeyAlgorithm BlockCipher AutoSignaling< BufferedTransformation > Bufferless< BufferedTransformation > Filter InputRejecting< BufferedTransformation > Sink Adler32 CRC32 IteratedHashBase< T_HashWordType, HashTransformation > IteratedHashBase< word32, HashTransformation > IteratedHashBase< word64, HashTransformation > MessageAuthenticationCode NullHash PK_MessageAccumulator TruncatedHashTemplate< T > Weak1::MD2 AutoSeededX917RNG< BLOCK_CIPHER > BlockingRng ClassNullRNG FixedRNG KDF2_RNG LC_RNG NonblockingRng PublicBlumBlumShub RandomPool Weak1::ARC4_Base X917RNG PublicBlumBlumShub SymmetricCipher List of all members.

Detailed Description

interface for all crypto algorithms

Definition at line 341 of file cryptlib.h.

Public Member Functions

 Algorithm (bool checkSelfTestStatus=true)
virtual std::string AlgorithmName () const
 returns name of this algorithm, not universally implemented yet
virtual ClonableClone () const
 this is not implemented by most classes yet


Constructor & Destructor Documentation

Algorithm::Algorithm ( bool  checkSelfTestStatus = true  ) 

When FIPS 140-2 compliance is enabled and checkSelfTestStatus == true, this constructor throws SelfTestFailure if the self test hasn't been run or fails.

Definition at line 40 of file cryptlib.cpp.

References POWER_UP_SELF_TEST_FAILED, and POWER_UP_SELF_TEST_NOT_DONE.


The documentation for this class was generated from the following files:
Generated on Fri Jun 1 11:11:28 2007 for Crypto++ by  doxygen 1.5.2