GFPXQElementInit

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

Syntax

IppStatus ippsGFPXQElementInit(IppsGFPXQElement *pGFpxqElement, const Ipp32u *pData, Ipp32u dataLen, IppsGFPXQState *pGFpxq);

Parameters

pGFpxqElement

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

pData

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

dataLen

Length of the element.

pGFpxq

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

Description

This function is declared in the ippcp.h file. The function initializes the memory buffer *pGFpxqElement associated with the IppsGFPXQElement context and sets up the specific element of the GF(p^d^2) field. The initialized IppsGFPXQElement context is used in all the operations with this element of the GF(p^d^2) field.

Return Values

ippStsNoErr

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

ippStsNullPtrErr

Indicates an error condition if any of the pGFpxqElement or pGFpxq pointers is NULL.

ippContextMatchErr

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

Submit feedback on this help topic

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