Get_BN

Extracts the sign and value of the integer big number from the input structure.

Syntax

IppStatus ippsGet_BN(IppsBigNumSGN *sgn, int *length, Ipp32u *data, const IppsBigNumState *x);

Parameters

sgn

Sign of IppsBigNumState *x.

length

Array length of the input data.

data

Data array.

x

Integer big number of the context IppsBigNumState.

Description

This function is declared in the ippcp.h file. The function extracts the sign and value of the integer big number from the input structure.

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.