TatePairingDE3GetSize

Gets the size of the IppsTatePairingDE3State context of the pairing operation.

Syntax

IppStatus ippsTatePairingDE3GetSize(const IppsGFPECState *pECp, const IppsGFPXECState *pECpx, Ipp32u *stateSizeInBytes);

Parameters

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.

stateSizeInBytes

Buffer size in bytes needed for the IppsTatePairingDE3State context.

Description

This function is declared in the ippcp.h file. The function returns the size of the buffer associated with the IppsTatePairingDE3State context, suitable for storing data and buffers for the pairing operation.

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.