ECCPPointInit

Initializes the context for a point on the elliptic curve defined over GF(p).

Syntax

IppStatus ippsECCPPointInit(int feBitSize, IppsECCPPointState* pPoint);

Include Files

ippcp.h

Parameters

feBitSize

Size (in bits) of the field element.

pPoint

Pointer to the context of the elliptic curve point.

Description

The function initializes the context for a point on the elliptic curve defined over a finite field GF(p).

Context is a structure IppsECCPPointState intended for storing the information about a point on the elliptic curve defined over GF(p).

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.

ippStsSizeErr

Indicates an error condition if the value of the parameter feBitSize is less than 2.

Related Information

Data Security Considerations