Botan
1.11.15
|
00001 /* 00002 * Win32 EntropySource 00003 * (C) 1999-2009 Jack Lloyd 00004 * 00005 * Botan is released under the Simplified BSD License (see license.txt) 00006 */ 00007 00008 #ifndef BOTAN_ENTROPY_SRC_WIN32_H__ 00009 #define BOTAN_ENTROPY_SRC_WIN32_H__ 00010 00011 #include <botan/entropy_src.h> 00012 00013 namespace Botan { 00014 00015 /** 00016 * Win32 Entropy Source 00017 */ 00018 class Win32_EntropySource : public EntropySource 00019 { 00020 public: 00021 std::string name() const { return "Win32 Statistics"; } 00022 void poll(Entropy_Accumulator& accum); 00023 }; 00024 00025 } 00026 00027 #endif