- Main Page
- Namespaces
- Classes
- Files

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# Algorithm Class Reference

`#include <cryptlib.h>`

Inheritance diagram for Algorithm:

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 Clonable * | Clone () 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:

- cryptlib.h
- cryptlib.cpp