GFPXECSetPoint

Sets up the coordinates of a point on the elliptic curve over the GF(p^d) field.

Syntax

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

Parameters

pX, pY

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

pPoint

Pointer to the context of the elliptic curve point.

pEC

Pointer to the context of the elliptic curve.

Description

This function is declared in the ippcp.h file. The function assigns the given values to the coordinates of the elliptic curve point in the IppsGFPXECPoint context.

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.