Extracts the main characteristics of the integer big number from the input structure.
IppStatus ippsRef_BN(IppsBigNumSGN *sgn, int *bitSize, const Ipp32u **pData, const IppsBigNumState *x);
sgn |
Sign of IppsBigNumState *x. |
bitSize |
Length of the integer big number in bits. |
pData |
Pointer to the data array. |
x |
Integer big number of the context IppsBigNumState. |
This function is declared in the ippcp.h file. The function extracts from the input structure the main characteristics of the integer big number: sign, length, and pointer to the data array. You can extract either the entire set or any subset of these characteristics. To turn off extraction of a particular characteristic, set the appropriate function parameter to NULL.
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. |
ippStsContextMatchErr |
Indicates an error condition if the context parameter does not match the operation. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.