GFPECGetSize

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

Syntax

IppStatus ippsGFPECGetSize(const IppsGFPState *pGFp, Ipp32u *stateSizeInBytes);

Parameters

pGFp

Pointer to the IppsGFPState context of the finite field GF(p).

stateSizeInBytes

Buffer size in bytes needed for the IppsGFPECState context.

Description

This function is declared in the ippcp.h file. The function returns the size of the buffer associated with the IppsGFPECState context, suitable for storing data for the elliptic curve over the GF(p) 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.