B_DigestUpdate

 

 

B_DigestUpdate

 

 

 

int B_DigestUpdate (

 

B_ALGORITHM_OBJ algorithmObject,

/* algorithm object */

unsigned char

*partIn,

/* input data */

unsigned int

partInLen,

/* length of input data */

A_SURRENDER_CTX *surrenderContext

/* surrender context */

);

 

 

 

 

 

Description

B_DigestUpdate updates algorithmObject with partInLen bytes from partIn. The surrender context for processing and canceling during lengthy operations is surrenderContext; if its value is (A_SURRENDER_CTX *)NULL_PTR, Crypto-C does not use it. B_DigestUpdate may be called zero or more times to supply the data by parts.

See B_DigestInit.

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

307

Page 317
Image 317
RSA Security 5 manual Int BDigestUpdate