BigNumInit

Initializes context and partitions allocated buffer.

Syntax

IppStatus ippsBigNumInit(int length, IppsBigNumState *b);

Parameters

length

Size of the big number for the context initialization.

b

Pointer to the supplied buffer used to store the initialized context IppsBigNumState.

Description

This function is declared in the ippcp.h file. 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.

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.

Submit feedback on this help topic

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