GFPECGetPoint

Extracts coordinates of the point on the elliptic curve from the IppsGFPECPoint context.

Syntax

IppStatus ippsGFPECGetPoint(const IppsGFPECPoint *pPoint, IppsGFPElement *pX, IppsGFPElement *pY, IppsGFPECState *pEC);

Parameters

pPoint

Pointer to the context of the elliptic curve point.

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 exports the coordinates of the elliptic curve point from the IppsGFPECPoint context to the user-defined elements of the definition field. To turn off extraction of a particular coordinate, set the appropriate function parameter to NULL.

Return Values

ippStsNoErr

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

ippStsNullPtrErr

Indicates an error condition if any of the pEC or pPoint pointers 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.