B_GetExtendedErrorInfo

 

 

B_GetExtendedErrorInfo

 

 

 

void B_GetExtendedErrorInfo (

 

B_ALGORITHM_OBJ algorithmObj,

/* algorithm object */

ITEM

*errorDataItem,

/* returns pointer to error data */

 

 

/* and length of data */

POINTER

*AM

/* Set to point at method table */

);

 

 

 

 

 

Description

B_GetExtendedErrorInfo sets errorDataItem->datato point at the error data, and errorDataItem->lento the length in bytes of the error data. AM is set to the address of the algorithm method that originated the error, if any.

Notes:

A NULL extended error is indicated by a length of zero. The error data may in reality be a data structure that includes pointers to allocated memory. These allocations are cleaned up using an error destruction routine assigned during the creation of the extended error data.

Return value

There is no return value.

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

321

Page 331
Image 331
RSA Security 5 manual Void BGetExtendedErrorInfo