monotone

monotone Mtn Source Tree

Root/botan/eng_def.h

1/*************************************************
2* Default Engine Header File *
3* (C) 1999-2007 The Botan Project *
4*************************************************/
5
6#ifndef BOTAN_DEFAULT_ENGINE_H__
7#define BOTAN_DEFAULT_ENGINE_H__
8
9#include <botan/engine.h>
10
11namespace Botan {
12
13/*************************************************
14* Default Engine *
15*************************************************/
16class Default_Engine : public Engine
17 {
18 public:
19 IF_Operation* if_op(const BigInt&, const BigInt&, const BigInt&,
20 const BigInt&, const BigInt&, const BigInt&,
21 const BigInt&, const BigInt&) const;
22 DSA_Operation* dsa_op(const DL_Group&, const BigInt&,
23 const BigInt&) const;
24 NR_Operation* nr_op(const DL_Group&, const BigInt&, const BigInt&) const;
25 ELG_Operation* elg_op(const DL_Group&, const BigInt&,
26 const BigInt&) const;
27 DH_Operation* dh_op(const DL_Group&, const BigInt&) const;
28
29 Modular_Exponentiator* mod_exp(const BigInt&,
30 Power_Mod::Usage_Hints) const;
31
32 Keyed_Filter* get_cipher(const std::string&, Cipher_Dir);
33 private:
34 BlockCipher* find_block_cipher(const std::string&) const;
35 StreamCipher* find_stream_cipher(const std::string&) const;
36 HashFunction* find_hash(const std::string&) const;
37 MessageAuthenticationCode* find_mac(const std::string&) const;
38
39 class S2K* find_s2k(const std::string&) const;
40 class BlockCipherModePaddingMethod*
41 find_bc_pad(const std::string&) const;
42 };
43
44}
45
46#endif

Archive Download this file

Branches

Tags

Quick Links:     www.monotone.ca    -     Downloads    -     Documentation    -     Wiki    -     Code Forge    -     Build Status