< Table Of Contents

GFPECAddPoint

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

Syntax

IppStatus ippsGFPECAddPoint(const IppsGFPECPoint *pA, const IppsGFPECPoint *pB, IppsGFPECPoint *pR, IppsGFPECState *pEC);

Parameters

pA

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

pB

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

pR

Pointer to the context of the resulting 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 computes the coordinates of the elliptic curve point that equals the sum of the two given points. The following pseudocode represents this operation: R = A + B.

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.