summaryrefslogtreecommitdiff
path: root/t/testv.h
blob: df6282ed0a8719c91999974a52b35a7bac2e43ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef TESTV_H
#define TESTV_H

#include <stddef.h>

#define NTESTS 8

typedef struct
{
    const char *sk;
    const char *pk;
    const char *sign;
    const unsigned char *msg;
    unsigned long long mlen;
} test_t;

extern const test_t tests[NTESTS];

void hex2bin(unsigned char *out, const char *in);

#endif