RFC Errata
RFC 4634, "US Secure Hash Algorithms (SHA and HMAC-SHA)", July 2006
Note: This RFC has been obsoleted by RFC 6234
Source of RFC: IETF - NON WORKING GROUPArea Assignment: sec
Errata ID: 2414
Status: Held for Document Update
Type: Technical
Publication Format(s) : TEXT
Reported By: Alfred Hoenes
Date Reported: 2006-08-13
Held for Document Update by: Sean Turner
Date Held: 2010-08-06
Section 8 says:
In the introductory text in Section 8, function prototype arguments
are inconsistently presented; all should be presented in ANSI-C style
consistently.
Also, the indentation of two lines breaks the otherwise consistent
layout.
On mid-page 16, the lines,
Functions:
| int SHA$$$Reset(SHA$$$Context *);
Reset the hash context state
| int SHA$$$Input(SHA$$$Context *, const uint8_t *octets,
unsigned int bytecount);
Incorporate bytecount octets into the hash.
should read:
Functions:
| int SHA$$$Reset(SHA$$$Context *context);
Reset the hash context state
| int SHA$$$Input(SHA$$$Context *context, const uint8_t *octets,
unsigned int bytecount);
Incorporate bytecount octets into the hash.
and on page 17, the lines,
Functions:
| int USHAReset(USHAContext *, SHAversion whichSha);
Reset the hash context state.
| int USHAInput(USHAContext *,
const uint8_t *bytes, unsigned int bytecount);
Incorporate bytecount octets into the hash.
| int USHAFinalBits(USHAContext *,
const uint8_t bits, unsigned int bitcount);
| Incorporate bitcount bits into the hash.
should read:
Functions:
| int USHAReset(USHAContext *context, SHAversion whichSha);
Reset the hash context state.
| int USHAInput(USHAContext *context,
const uint8_t *bytes, unsigned int bytecount);
Incorporate bytecount octets into the hash.
| int USHAFinalBits(USHAContext *context,
const uint8_t bits, unsigned int bitcount);
| Incorporate bitcount bits into the hash.
Notes:
inconsistent prototypes, unpleasant/inconsistent indentation
