VerifyUpdate
This function can be used to update a multi-part signature or MAC verification operation.
Synopsis
#include “fmciphobj.h”
int (*VerifyUpdate)(struct CipherObj * ctx,
const void * src, unsigned int length);
Parameter | Description |
---|---|
ctx
|
The address of a cipher object instance. |
src
|
Address of the buffer containing the input data. |
length
|
Number of bytes in the src buffer. |
Return Value
0: Operation completed successfully.
Otherwise: there was an error.
Comments
Usually, only block cipher algorithms implement this function.