Visible to Intel only — GUID: GUID-A46A02E8-8C36-4D56-BDFB-F8FF0C4E3080
Visible to Intel only — GUID: GUID-A46A02E8-8C36-4D56-BDFB-F8FF0C4E3080
GFpECSetSubgroup
Sets up the parameters defining an elliptic curve points subgroup.
IppStatus ippsGFpECSetSubGroup(const IppsGFpElement* pX, const IppsGFpElement* pY, const IppsBigNumState* pOrder, const IppsBigNumState* pCofactor, IppsGFpECState* pEC);
ippcp.h
pX, pY |
Pointers to the X and Y coordinates of the base point of the elliptic curve. |
pOrder |
Pointer to the big number context storing the order of the base point. |
pCofactor |
Pointer to the big number context storing the cofactor. |
pEC |
Pointer to the context of the elliptic curve. |
This function sets up an elliptic curve as the subgroup generated by the base point over the finite field.
Only the pEC parameter is required. You can omit the other parameters by setting their values to NULL or zero.
ippStsNoErr |
Indicates no error. Any other value indicates an error or warning. |
ippStsNullPtrErr |
Indicates an error condition if pEC is NULL. |
ippStsContextMatchErr |
Indicates an error condition in the following cases:
|
ippStsBadArgErr |
Indicates an error condition if any of the specified IppsBigNumState contexts defines zero or a negative number. |
ippStsOutOfRangeErr |
Indicates an error if the base point coordinates (pX, pY) do not belong to the finite field over which the elliptic curve is initialized. |
ippStsRangeErr |
Indicates an error condition in the following cases:
|
Did you find the information on this page useful?
Feedback Message
Characters remaining: