Developer Reference for Intel® Integrated Performance Primitives Cryptography
Gets the size of the IppsBigNumState context in bytes.
IppStatus ippsBigNumGetSize(int length, int* psize);
ippcp.h
length |
The length of the integer big number in Ipp32u. |
pSize |
Pointer to the size, in bytes, of the buffer required for initialization. |
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.
For security reasons, the length of the big number is restricted to 16 kilobits.
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. |