#include <revolution/net.h>
BOOL NETECCUpdate( NETECCContext *context, const void *src, u32 len );
| context | Pointer to the ECC signature context structure. |
| src | Plain text data from which the signature is generated. |
| len | Length of the plain text. |
Returns TRUE if data is successfully entered into the context structure. Otherwise, returns FALSE.
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.
NETECCCreate, NETECCGetSign, NETECCVerifySign, NETECCDelete
2006/10/12 Initial version.
CONFIDENTIAL