GFPXElementInit

Initializes the IppsGFPXELement context of a GF(p^d) element.

Syntax

IppStatus ippsGFPXElementInit(IppsGFPXElement *pGFpxElement, const Ipp32u *pData, Ipp32u dataLen, IppsGFPXState *pGFpx);

Parameters

pGFpxElement

Pointer to the context of the GF(p^d) element being initialized.

pData

Pointer to the data array storing the GF(p^d) element.

dataLen

Length of the element.

pGFpx

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

Description

This function is declared in the ippcp.h file. The function initializes the memory buffer *pGFpxElement associated with the IppsGFPXElement context and sets up the specific element of the GF(p^d) field. The initialized IppsGFPXElement context is used in all the operations with this element of 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 pGFpxElement or pGFpx pointers is NULL.

ippContextMatchErr

Indicates an error condition if the IppsGFPXState context parameters does not match the operation.

Submit feedback on this help topic

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