TatePairingDE3Init

Initializes the IppsTatePairingDE3State context of the pairing operation.

Syntax

IppStatus ippsTatePairingDE3Init(IppsTatePairingDE3State *pPairing, const IppsGFPECState *pECp, const IppsGFPXECState *pECpx, const IppsGFPXQState *pGFpxq);

Parameters

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).

Description

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.

Important Note iconImportant

While the *pPairing context exists, properly initialized contexts of the elliptic curves and the GF(p^d^2) field are required.

Return Values

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.

Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.