Adds a point on the elliptic curve over the GF(p^d) field to itself multiple times.
IppStatus ippsGFPXECMulPointScalar(const IppsGFPXECPoint *pA, const Ipp32u *pScalar, Ipp32u scalarLen, IppsGFPXECPoint *pR, IppsGFPXECState *pEC);
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. |
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.
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. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.