Ref_BN

Extracts the main characteristics of the integer big number from the input structure.

Syntax

IppStatus ippsRef_BN(IppsBigNumSGN *sgn, int *bitSize, const Ipp32u **pData, const IppsBigNumState *x);

Parameters

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.

Description

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.

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.

ippStsContextMatchErr

Indicates an error condition if the context parameter does not match the operation.

Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.