NETSHA256Init

Syntax

#include <revolution/net.h>

void NETSHA256Init( NETSHA256Context *context );

Arguments

context Pointer to the context structure to initialize. This structure is used for SHA-256 generation.

Return Values

None.

Description

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.

See Also

NETSHA256Update
NETSHA256GetDigest

Revision History

2008/05/07 Initial version.


CONFIDENTIAL