Verifies parameters of the elliptic curve over the GF(p^d) field.
IppStatus ippsGFPXECVerify(IppsGFPXECState *pEC, IppsECResult *result);
pEC |
Pointer to the context of the elliptic curve. |
result |
The result of the parameter verification. |
This function is declared in the ippcp.h file. The function verifies parameters of the elliptic curve from the input IppsGFPXECState context and returns the result in *result. The result of the verification may have the following values:
ippECValid |
Parameters are valid. |
ippECIsZeroDiscriminant |
4*A3+3*B2=0 mod g(t). |
ippECPointIsAtInfinity |
Base point G=(x,y) is the point at infinity. |
ippECPointIsNotValid |
Base point G=(x,y) is not on the curve. |
ippECInvalidOrder |
The order of the base point G=(x,y) is invalid. |
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.