Chapter 4 Details of Crypto-C Functions 311
B_EncodeUpdate
B_EncodeUpdate
Description
B_EncodeUpdate updates the encoding process specified by
algorithmObject
with
partInLen
bytes from
partIn
, writing the encoded output to
partOut,
which is a buffer
supplied by the caller of at least
maxPartOutLen
bytes, and setting
partOutLen
to the
number of bytes written to
partOut
. B_EncodeUpdate may be called zero or more times
to supply the data by parts. See B_EncodeInit.
Return value
int B_EncodeUpdate (
B_ALGORITHM_OBJ algorithmObject, /* algorithm object */
unsigned char *partOut, /* output data buffer */
unsigned int *partOutLen, /* length of output data */
unsigned int maxPartOutLen, /* size of output data buffer */
unsigned char *partIn, /* input data */
unsigned int partInLen /* length of input data */
);
Value Description
0 Operation was successful.
non-zero see Appendix A, ”Crypto-C Error Types”