#include <revolution/net.h>
void NETSHA256Init( NETSHA256Context *context );
| context | Pointer to the context structure to initialize. This structure is used for SHA-256 generation. |
None.
This function initializes a context structure of type NETSHA256Context to use for the calculation of SHA-256. Make sure that this function is called before using the NETSHA256Update or NETSHA256GetDigest function.
You can re-apply this function to a context structure that is already initialized. In this case, it will return the context structure to its initial state.
For details, see the "SHA-256" section of the hash algorithm.
NETSHA256Update
NETSHA256GetDigest
2008/05/07 Initial version.
CONFIDENTIAL