aboutsummaryrefslogtreecommitdiffstats
path: root/modules/entropy/cryptoapi_rng/es_capi.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/entropy/cryptoapi_rng/es_capi.h')
-rw-r--r--modules/entropy/cryptoapi_rng/es_capi.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/modules/entropy/cryptoapi_rng/es_capi.h b/modules/entropy/cryptoapi_rng/es_capi.h
new file mode 100644
index 000000000..36b4acd8d
--- /dev/null
+++ b/modules/entropy/cryptoapi_rng/es_capi.h
@@ -0,0 +1,28 @@
+/*************************************************
+* Win32 CAPI EntropySource Header File *
+* (C) 1999-2007 Jack Lloyd *
+*************************************************/
+
+#ifndef BOTAN_EXT_ENTROPY_SRC_WIN32_CAPI_H__
+#define BOTAN_EXT_ENTROPY_SRC_WIN32_CAPI_H__
+
+#include <botan/rng.h>
+#include <vector>
+
+namespace Botan {
+
+/*************************************************
+* Win32 CAPI Entropy Source *
+*************************************************/
+class Win32_CAPI_EntropySource : public EntropySource
+ {
+ public:
+ u32bit slow_poll(byte[], u32bit);
+ Win32_CAPI_EntropySource(const std::string& = "");
+ private:
+ std::vector<u64bit> prov_types;
+ };
+
+}
+
+#endif