Developer Reference for Intel® Integrated Performance Primitives Cryptography 2018
Extracts the sign and value of the integer big number from the input structure.
IppStatus ippsGet_BN(IppsBigNumSGN *sgn, int *length, Ipp32u *data, const IppsBigNumState *x);
ippcp.h
sgn |
Sign of IppsBigNumState *x. |
length |
Array length of the input data. |
data |
Data array. |
x |
Integer big number of the context IppsBigNumState. |
The function extracts the sign and value of the integer big number from the input structure.
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. |