Botan  2.4.0
Crypto and TLS for C++11
es_win32.h
Go to the documentation of this file.
1 /*
2 * Win32 EntropySource
3 * (C) 1999-2009 Jack Lloyd
4 *
5 * Botan is released under the Simplified BSD License (see license.txt)
6 */
7 
8 #ifndef BOTAN_ENTROPY_SRC_WIN32_H_
9 #define BOTAN_ENTROPY_SRC_WIN32_H_
10 
11 #include <botan/entropy_src.h>
12 
13 namespace Botan {
14 
15 /**
16 * Win32 Entropy Source
17 */
18 class Win32_EntropySource final : public Entropy_Source
19  {
20  public:
21  std::string name() const override { return "system_stats"; }
22  size_t poll(RandomNumberGenerator& rng) override;
23  };
24 
25 }
26 
27 #endif
std::string name() const override
Definition: es_win32.h:21
size_t poll(RandomNumberGenerator &rng) override
Definition: es_win32.cpp:20
Definition: alg_id.cpp:13