diff options
author | lloyd <[email protected]> | 2008-11-04 04:05:59 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-11-04 04:05:59 +0000 |
commit | 074597d6f18925bd5adc46978c811080a53e1053 (patch) | |
tree | 2037e6da65eb0e8ecb68f976d605365a2188abe8 /src/entropy/cryptoapi_rng/es_capi.cpp | |
parent | 0098d58419b99e522834404bcc6cdf4516902dfd (diff) |
Add fast_poll implementation
Diffstat (limited to 'src/entropy/cryptoapi_rng/es_capi.cpp')
-rw-r--r-- | src/entropy/cryptoapi_rng/es_capi.cpp | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/entropy/cryptoapi_rng/es_capi.cpp b/src/entropy/cryptoapi_rng/es_capi.cpp index 7d1e0e753..ca0e1b95e 100644 --- a/src/entropy/cryptoapi_rng/es_capi.cpp +++ b/src/entropy/cryptoapi_rng/es_capi.cpp @@ -10,12 +10,19 @@ namespace Botan { -/************************************************* -* Gather Entropy from Win32 CAPI * -*************************************************/ +/** +* Gather Entropy from Win32 CAPI +*/ u32bit Win32_CAPI_EntropySource::slow_poll(byte output[], u32bit length) { + return fast_poll(output, length); + } +/** +* Gather Entropy from Win32 CAPI +*/ +u32bit Win32_CAPI_EntropySource::fast_poll(byte output[], u32bit length) + { class CSP_Handle { public: |