aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/debug.h')
-rw-r--r--src/utils/debug.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/utils/debug.h b/src/utils/debug.h
new file mode 100644
index 000000000..ee93d5ea0
--- /dev/null
+++ b/src/utils/debug.h
@@ -0,0 +1,29 @@
+/**
+* Internal-use debugging functions for Botan
+* (C) 2009 Jack Lloyd
+*
+* Distributed under the terms of the Botan license
+*/
+
+#ifndef BOTAN_DEBUG_H__
+#define BOTAN_DEBUG_H__
+
+#include <botan/secmem.h>
+
+namespace Botan {
+
+namespace Debug {
+
+void print_vec(const std::string& name,
+ const byte array[],
+ size_t array_len);
+
+void print_vec(const std::string& name,
+ const MemoryRegion<byte>& vec);
+
+
+}
+
+}
+
+#endif