GFPXECPointInit

Initializes the IppsGFPXECPoint context of a point on the elliptic curve.

Syntax

IppStatus ippsGFPXECPointInit(IppsGFPXECPoint *pPoint, const IppsGFPXElement *pX, const IppsGFPXElement *pY, IppsGFPXECState *pEC);

Parameters

pPoint

Pointer to the IppsGFPXECPoint context being initialized.

pX, pY

Pointers to the X and Y coordinates of the point on the elliptic curve.

pEC

Pointer to the context of the elliptic curve.

Description

This function is declared in the ippcp.h file. The function initializes the IppsGFPXECPoint context and sets up the specific coordinates of the elliptic curve point.

Note iconNote

Setting the pX and pY pointers to NULL initializes the context for the point at infinity.

Return Values

ippStsNoErr

Indicates no error. Any other value indicates an error or warning.

ippStsNullPtrErr

Indicates an error condition if the pEC pointer is NULL.

ippStsContextMatchErr

Indicates an error condition if any of the context parameters does not match the operation.

Submit feedback on this help topic

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