GFPECVerifyPoint

Verifies whether the point belongs to the elliptic curve over the GF(p) field.

Syntax

IppStatus ippsGFPECVerifyPoint(const IppsGFPECPoint *pPoint, IppsECResult *result, IppsGFPECState *pEC);

Parameters

pPoint

Pointer to the context of the elliptic curve point.

result

The result of the verification.

pEC

Pointer to the context of the elliptic curve.

Description

This function is declared in the ippcp.h file. The function verifies whether the given point belongs to the elliptic curve over the GF(p) field. The result of the verification is returned in *result and may have the following values:

ippECValid

The point belongs to the curve.

ippECPointIsNotValid

The point does not belong to the curve.

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.