GFPECMulPointScalar

Adds a point on the elliptic curve over the GF(p) field to itself multiple times.

Syntax

IppStatus ippsGFPECMulPointScalar(const IppsGFPECPoint *pA, const Ipp32u *pScalar, Ipp32u scalarLen, IppsGFPECPoint *pR, IppsGFPECState *pEC);

Parameters

pA

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

pScalar

Pointer to the data array that stores the scalar.

scalarLen

Length of the scalar.

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 product of the given point and the scalar. The following pseudocode represents this operation: R = scalar * A.

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.