summaryrefslogtreecommitdiff
path: root/nacl/tests/hash3.c
diff options
context:
space:
mode:
Diffstat (limited to 'nacl/tests/hash3.c')
-rw-r--r--nacl/tests/hash3.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/nacl/tests/hash3.c b/nacl/tests/hash3.c
deleted file mode 100644
index 10b89b90..00000000
--- a/nacl/tests/hash3.c
+++ /dev/null
@@ -1,14 +0,0 @@
1#include <stdio.h>
2#include "crypto_hash_sha512.h"
3
4unsigned char x[8] = "testing\n";
5unsigned char h[crypto_hash_sha512_BYTES];
6
7int main()
8{
9 int i;
10 crypto_hash_sha512(h,x,sizeof x);
11 for (i = 0;i < crypto_hash_sha512_BYTES;++i) printf("%02x",(unsigned int) h[i]);
12 printf("\n");
13 return 0;
14}