GFPECCmpPoint

Compares two points on the elliptic curve over the GF(p) field.

Syntax

IppStatus ippsGFPECCmpPoint(const IppsGFPECPoint *pA, const IppsGFPECPoint *pB, IppsElementCmpResult *result, IppsGFPECState *pEC);

Parameters

pA

Pointer to the context of the first point on the elliptic curve.

pB

Pointer to the context of the second point on the elliptic curve.

result

The result of the parameter verification.

pEC

Pointer to the context of the elliptic curve.

Description

This function is declared in the ippcp.h file. The function compares coordinates of two points on the elliptic curve over the GF(p) field and returns the result in *result. The result of the comparison may have the following values:

ippElementEQ

The points are equal.

ippElementNE

The points are not equal.

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.

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.