[7969] in cryptography@c2.net mail archive

home help back first fref pref prev next nref lref last post

SHA-256/384/512 test vectors for BSD implementation

daemon@ATHENA.MIT.EDU (Aaron D. Gifford)
Sun Oct 15 20:35:24 2000

Date: 14 Oct 2000 23:40:33 -0600
To: <coderpunks@toad.com>, <cryptography@c2.net>
From: "Aaron D. Gifford" <me@aarongifford.com>
Message-Id: <20001016002524.B056721004@ns1.infowest.com>

Hello,

For the fun of it I whipped up my own implementation of SHA-256/384/512
in C and tested it on my x86 FreeBSD 4.1.1 box.  It checks against the
few vectors mentioned in the PDF document from NIST that describes the
algorithms.

That's just not much to test against.  So...  If anyone has some any
more test vectors or knows where I can find some, please let me know.

If anyone with a big endian box has some spare time to kill, I would
be interested in knowing if my implementation builds and runs at all.
It is available via the web page at:

  http://www.aarongifford.com/computers/sha.html

Likewise I would like hearing from anyone who bothers trying to compile
it on other various OSs (Solaris, AIX, etc.).

It's under a BSD style license, but at this point it's mostly untested
and inefficient as NO optimizations at all have been done.  I tried to
write it with portability in mind, but I just don't have access to
anything but FreeBSD and Linux on x86.

So if you have test vectors or time to waste, let me know.

Aaron out.



home help back first fref pref prev next nref lref last post