#include <revolution/net.h>
void NETSHA1Update( NETSHA1Context *context, const void* input, u32 length );
| context | Pointer to the context structure used for SHA-1 generation. |
| input | Pointer to the input data. |
| length | Size of the input data. |
None.
This function updates the SHA-1 digest value based on the input data. The "context" argument must be initialized in advance by the NETSHA1Init function. Call this function as many times as needed, and then use the NETSHA1GetDigest function to obtain the hash value.
Any size and alignment position can be used for the input data.
For details, see the "SHA-1" section of the hash algorithm.
2007/02/15 Corrected incorrect links.
2006/09/01 Initial version.
CONFIDENTIAL