ECCPPointGetSize

Gets the size of the IppsECCPPoint context in bytes for a point on the elliptic curve point defined over GF(p).

Syntax

IppStatus ippsECCPPointGetSize(int feBitSize, int* pSize);

Include Files

ippcp.h

Parameters

feBitSize

Size (in bits) of the field element.

pSize

Pointer to the context size.

Description

The function computes the context size in bytes for a point on the elliptic curve defined over a prime finite field GF(p).

Context is a structure IppsECCPPoint 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.