Developer Reference

Contents

BigNumInit

Initializes context and partitions allocated buffer.

Syntax

IppStatus ippsBigNumInit(int
length
, IppsBigNumState*
pBN
);
Include Files
ippcp.h
Parameters
length
Size of the big number for the context initialization.
pBN
Pointer to the supplied buffer used to store the initialized context
IppsBigNumState
.
Description
The function initializes the context
IppsBigNumState
using the specified buffer space and partitions the given buffer to store and execute arithmetic operations on an integer big number of the
length
size.
For security reasons, the length of the big number is restricted to 16 kilobits.
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
.
ippStsLengthErr
Indicates an error condition if
length
is less than or equal to 0 or greater than 512.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.