NETSHA256Update

Syntax

#include <revolution/net.h>

void NETSHA256Update( NETSHA256Context *context, const void* input, u32 length );

Arguments

context Pointer to the context structure used for SHA-256 generation.
input Pointer to the input data.
length Size of the input data.

Return Values

None.

Description

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.

See Also

NETSHA256Init
NETSHA256GetDigest

Revision History

2008/05/07 Initial version.


CONFIDENTIAL