SignUpdate

Synopsis

#include “fmciphobj.h”
int (*SignUpdate)(struct CipherObj * ctx,
const void * src, unsigned int length);  

Description

This function can be used to update a multi-part signing or MAC operation.

Parameters

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.