Initializes the IppsTatePairingDE3State context of the pairing operation.
IppStatus ippsTatePairingDE3Init(IppsTatePairingDE3State *pPairing, const IppsGFPECState *pECp, const IppsGFPXECState *pECpx, const IppsGFPXQState *pGFpxq);
pPairing |
Pointer to the context being initialized. |
pECp |
Pointer to the context of the elliptic curve over the GF(p) field. |
pECpx |
Pointer to the context of the elliptic curve over the GF(p^d) field. |
pGFpxq |
Pointer to the context of the finite field GF(p^d^2). |
This function is declared in the ippcp.h file. The function initializes the *pPairing buffer associated with the IppsTatePairingDE3State context, sets up and precomputes the parameters needed for the pairing operation.
While the *pPairing context exists, properly initialized contexts of the elliptic curves and the GF(p^d^2) field are required.
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.