testutils.h 301 Bytes
Newer Older
Niels Möller's avatar
Niels Möller committed
1
2
3
#ifndef NETTLE_TESTUTILS_H_INCLUDED
#define NETTLE_TESTUTILS_H_INCLUDED

4
#include <inttypes.h>
Niels Möller's avatar
Niels Möller committed
5
6
7
8
9
10
11
12
13
14
15

/* Decodes a NUL-terminated hex string. */
int
decode_hex(uint8_t *dst, const char *hex);

/* Allocates space */
const uint8_t *
decode_hex_dup(const char *hex);


#endif /* NETTLE_TESTUTILS_H_INCLUDED */