Sets coordinates of a point on the elliptic curve defined over GF(2m).
IppStatus ippsECCBSetPoint(const IppsBigNumState* pX, const IppsBigNumState* pY, IppsECCBPoint* pPoint, IppsECCBState* pECC);
pX |
Pointer to the x-coordinate of the point on the elliptic curve. |
pY |
Pointer to the y-coordinate of the point on the elliptic curve. |
pPoint |
Pointer to the context of the elliptic curve point. |
pECC |
Pointer to the context of the elliptic cryptosystem. |
This function is declared in the ippcp.h file.
The function sets the coordinates of a point on the elliptic curve defined over a binary finite field GF(2m).
The context of the point on the elliptic curve must be already created by functions: ECCBPointGetSize and ECCBPointInit. The elliptic curve domain parameters must be hitherto defined by one of the functions: ECCBSet or ECCBSetStd.
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 pX, pY, pPoint, or pECC is not valid. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.