GFPXECGetSize

Gets the size of the IppsGFPXECState context of the elliptic curve over the GF(p) field.

Syntax

IppStatus ippsGFPXECGetSize(const IppsGFPXState *pGFpx, Ipp32u *stateSizeInBytes);

Parameters

pGFpx

Pointer to the IppsGFPXState context of the finite field GF(p^d).

stateSizeInBytes

Buffer size in bytes needed for the IppsGFPXECState context.

Description

This function is declared in the ippcp.h file. The function returns the size of the buffer associated with the IppsGFPXECState context, suitable for storing data for the elliptic curve over the GF(p^d) field.

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.