Developer Guide and Reference for Intel® Integrated Performance Primitives Cryptography
A newer version of this document is available. Customers should click here to go to the newest version.
BigNumGetSize
Gets the size of the IppsBigNumState context in bytes.
Syntax
IppStatus ippsBigNumGetSize(int length, int* psize);
Include Files
ippcp.h
Parameters
length |
The length of the integer big number in Ipp32u. |
pSize |
Pointer to the size, in bytes, of the buffer required for initialization. |
Description
The function specifies the buffer size required to define a structured working buffer of the context IppsBigNumState for the storage and operations on an integer big number in bytes.
Return Values
ippStsNoErr |
Indicates no error. Any other value indicates an error or warning. |
ippStsNullPtrErr |
Indicates an error condition if any of the specified pointers is NULL. |
ippStsLengthErr |
Indicates an error condition if length is less than or equal to 0 or greater than 512. |