Merge branch 'master' into return_for_test_failed
commit
b0fa69bb88
2
makefile
2
makefile
|
@ -1,6 +1,6 @@
|
|||
CC=gcc
|
||||
CFLAGS=-Wall --std=c99
|
||||
SRC=siphash.c halfsiphash.c test.c
|
||||
SRC=siphash.c halfsiphash.c test.c testmain.c
|
||||
BIN=test debug vectors
|
||||
|
||||
ifneq ($(cROUNDS),)
|
||||
|
|
2
test.c
2
test.c
|
@ -44,7 +44,7 @@ const char *labels[4] = {
|
|||
|
||||
size_t lengths[4] = {8, 16, 4, 8};
|
||||
|
||||
int main() {
|
||||
int siphash_test() {
|
||||
uint8_t in[64], out[16], k[16];
|
||||
int i;
|
||||
bool any_failed;
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
int siphash_test();
|
||||
|
||||
int main(void) {
|
||||
return siphash_test();
|
||||
}
|
Loading…
Reference in New Issue