From 2d4d778ffd14419c80fbb5626c24eafc789ff2f1 Mon Sep 17 00:00:00 2001 From: JP Aumasson Date: Sun, 23 Mar 2014 14:01:33 +0100 Subject: [PATCH] usage instructions --- README.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 482d0a3..6912c80 100644 --- a/README.md +++ b/README.md @@ -22,8 +22,20 @@ Running $ make ``` -will compile and run sanity checks (test vectors) for SipHash-2-4, the -default version of SipHash. +will build sanity checks (test vectors) for SipHash-2-4, the default +version of SipHash: + +```C + ./siphash24_test +``` + +verifies 64 test vectors, and + +```C + ./siphash24_test_debug +``` + +does the same and prints intermediate values. The code can be adapted to implement SipHash-*c*-*d*, the version of SipHash with *c* compression rounds and *d* finalization rounds, by tweaking the