ECCBAddPoint

Computes the addition of two elliptic curve points over GF(2m).

Syntax

IppStatus ippsECCBAddPoint(const IppsECCBPoint* pP, const IppsECCBPoint* pQ, IppsECCBPoint* pR, IppsECCBState* pECC);

Parameters

pP

Pointer to the elliptic curve point P.

pQ

Pointer to the elliptic curve point Q.

pR

Pointer to the elliptic curve point R.

pECC

Pointer to the context of the elliptic cryptosystem.

Description

This function is declared in the ippcp.h file.

The function calculates the addition of two elliptic curve points P and Q over a binary finite field GF(2m) with the result in a point R such that R=P+Q.

The elliptic curve domain parameters must be hitherto defined by one of the functions: ECCBSet or ECCBSetStd.

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 one of the contexts pointed by pP, pQ, pR, or pECC is not valid.

Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.