aboutsummaryrefslogtreecommitdiffstats
path: root/modules/es_egd/es_egd.h
blob: 70135a8cf6597ff7d02af756db9b2a6365f6a503 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*************************************************
* EGD EntropySource Header File                  *
* (C) 1999-2008 The Botan Project                *
*************************************************/

#ifndef BOTAN_EXT_ENTROPY_SRC_EGD_H__
#define BOTAN_EXT_ENTROPY_SRC_EGD_H__

#include <botan/base.h>
#include <string>
#include <vector>

namespace Botan {

/*************************************************
* EGD Entropy Source                             *
*************************************************/
class EGD_EntropySource : public EntropySource
   {
   public:
      u32bit slow_poll(byte[], u32bit);
      EGD_EntropySource(const std::string& = "");
   private:
      u32bit do_poll(byte[], u32bit, const std::string&) const;
      std::vector<std::string> paths;
   };

}

#endif