B_DecodeFinal

 

 

B_DecodeFinal

 

 

 

int B_DecodeFinal (

 

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 */

);

 

 

 

 

 

Description

B_DecodeFinal finalizes the decoding process specified by algorithmObject, writing any remaining decoded 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. algorithmObject is reset to the state it was in after the call to B_DecodeInit, so that another decoding process may be performed. See B_DecodeInit.

Return value

Value

Description

0

Operation was successful.

non-zero

see Appendix A, “Crypto-C Error Types”

 

 

C h a p t e r 4 D e t a i l s o f C r y p t o - C F u n c t i o n s

297

Page 307
Image 307
RSA Security 5 manual Int BDecodeFinal