summaryrefslogtreecommitdiffstats
path: root/src/mbedTLS++/EntropyContext.h
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2017-08-30 16:42:58 +0200
committerLogicParrot <LogicParrot@users.noreply.github.com>2017-08-30 16:42:58 +0200
commitf0d14229706eca615198c888bd8d3b95b663cfb4 (patch)
treedfcb7fb092091b69a80b3b362adf862f80ba1ba0 /src/mbedTLS++/EntropyContext.h
parentInitial zombies (diff)
parentMerge pull request #3969 from peterbell10/cuboid (diff)
downloadcuberite-f0d14229706eca615198c888bd8d3b95b663cfb4.tar
cuberite-f0d14229706eca615198c888bd8d3b95b663cfb4.tar.gz
cuberite-f0d14229706eca615198c888bd8d3b95b663cfb4.tar.bz2
cuberite-f0d14229706eca615198c888bd8d3b95b663cfb4.tar.lz
cuberite-f0d14229706eca615198c888bd8d3b95b663cfb4.tar.xz
cuberite-f0d14229706eca615198c888bd8d3b95b663cfb4.tar.zst
cuberite-f0d14229706eca615198c888bd8d3b95b663cfb4.zip
Diffstat (limited to 'src/mbedTLS++/EntropyContext.h')
-rw-r--r--src/mbedTLS++/EntropyContext.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/mbedTLS++/EntropyContext.h b/src/mbedTLS++/EntropyContext.h
new file mode 100644
index 000000000..37b6f120e
--- /dev/null
+++ b/src/mbedTLS++/EntropyContext.h
@@ -0,0 +1,31 @@
+
+// EntropyContext.h
+
+// Declares the cEntropyContext class representing a wrapper over entropy contexts in mbedTLS
+
+
+
+
+
+#pragma once
+
+#include "mbedtls/entropy.h"
+
+
+
+
+
+class cEntropyContext
+{
+ friend class cCtrDrbgContext;
+public:
+ cEntropyContext(void);
+ ~cEntropyContext();
+
+protected:
+ mbedtls_entropy_context m_Entropy;
+} ;
+
+
+
+