aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/debug.h
blob: ee93d5ea049954bdd69817a35baa91567737391d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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