#include <revolution/net.h>
void NETSHA256Update( NETSHA256Context *context, const void* input, u32 length );
| context | Pointer to the context structure used for SHA-256 generation. |
| input | Pointer to the input data. |
| length | Size of the input data. |
None.
This function updates the SHA-256 digest value based on the input data. The context argument must be initialized in advance with the NETSHA256Init function.
Call this function as many times as needed, and then use the NETSHA256GetDigest function to obtain the digest value.
Any size and alignment position can be used for the input data.
For details, see the "SHA-256" section of the hash algorithm.
NETSHA256Init
NETSHA256GetDigest
2008/05/07 Initial version.
CONFIDENTIAL