NETECCUpdate

C Specification

#include <revolution/net.h>

BOOL NETECCUpdate( NETECCContext *context, const void *src, u32 len );

Arguments

context Pointer to the ECC signature context structure.
src Plain text data from which the signature is generated.
len Length of the plain text.

Return Values

Returns TRUE if data is successfully entered into the context structure. Otherwise, returns FALSE.

Description

This functions enters the plain text data for a signature into the ECC signature context. The ECC signature context must be generated first by calling the NETECCCreate function.
The result obtained is the same whether the plain text is entered all at once or split into appropriate sizes, and then entered.
After plain text has been entered into the context, call NETECCGetSign if you want to get the signature, or NETECCVerifySign if you want to verify the signature.

See Also

NETECCCreate, NETECCGetSign, NETECCVerifySign, NETECCDelete

Revision History

2006/10/12 Initial version.


CONFIDENTIAL