Cryptography for Intel(R) Integrated Performance Primitives Developer Reference

ID 768738
Date 12/16/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of 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.

NOTE:

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.

Did you find the information on this page useful?

Characters remaining:

Feedback Message