Update README.SHA

This commit is contained in:
Carsten Larsen 2015-06-13 19:42:26 +02:00
parent f2f0db9ed6
commit c5cce42e5a
1 changed files with 1 additions and 30 deletions

View File

@ -1,5 +1,6 @@
shaX-asaddi (X = 1, 256, 384, 512)
==================================
Copyright (c) 2015 Carsten Larsen
Copyright (c) 2001-2003 Allan Saddi <allan@saddi.com>
All rights reserved.
@ -32,9 +33,6 @@ for SHA-1, SHA-256, SHA-384, and SHA-512 are available. All are
equally portable, assuming your compiler supports 64-bit integers
(which gcc does).
For more information on SHA (the algorithms), visit:
http://csrc.nist.gov/encryption/tkhash.html
The following documentation and examples will refer to the SHA-1
implementation. However, they equally apply to the SHA-256, SHA-384,
and SHA-512 implementations except where noted.
@ -82,16 +80,6 @@ void SHA1Final (SHA1Context *sc, uint8_t hash[SHA1_HASH_SIZE]);
Compile-Time Options
--------------------
HAVE_CONFIG_H
Define this if you want the code to include <config.h>. This is useful
if you use GNU configure.
HAVE_INTTYPES_H
HAVE_STDINT_H
Define one of these to 1 if you have the respective header file. If you
have neither, be sure to typedef/define uint8_t, uint32_t, and uint64_t
appropriately (perhaps in config.h above).
WORDS_BIGENDIAN
Define this if you're on a big-endian processor.
@ -204,20 +192,3 @@ Example
...
do something with hash
...
Platforms Tested
----------------
gcc was the compiler used on all tested platforms.
FreeBSD i386
Darwin powerpc
Linux i386
Linux alpha
Linux powerpc
Solaris sparc
Comments? Suggestions? Bugs?
----------------------------
Please let me know!
- Allan Saddi <allan@saddi.com>