TatePairingDE3Get

Extracts parameters of the pairing operation from the IppsTatePairingDE3State context.

Syntax

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

Parameters

pPairing

Pointer to the context of the pairing operation.

pECp

Address of the pointer to the context of the elliptic curve over the GF(p) field.

pECpx

Address of the pointer to the context of the elliptic curve over the GF(p^d) field.

pGFpxq

Address of the pointer to the context of the finite field GF(p^d^2).

Description

This function is declared in the ippcp.h file. The function extracts parameters of the pairing operation from the input IppsTatePairingDE3State context. You can get any combination of the following parameters: references to the IppsGFPECState and IppsGFPXECState contexts of the elliptic curves and a reference to the IppsGFPXQState context of the GF(p^d^2) field. To turn off extraction of a particular parameter of the pairing operation, set the appropriate function parameter to NULL.

Return Values

ippStsNoErr

Indicates no error. Any other value indicates an error or warning.

ippStsNullPtrErr

Indicates an error condition if the pPairing pointer is NULL.

ippStsContextMatchErr

Indicates an error condition if any of the IppsTatePairingDE3State context parameters does not match the operation.

Submit feedback on this help topic

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