GFPXSetElement

Assigns a value to an element of the GF(p^d) field.

Syntax

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

Parameters

pData

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

dataLen

Length of the GF(p^d) element.

pGFpxElement

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

pGFpx

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

Description

This function is declared in the ippcp.h file. The function copies (and converts if needed) the value from the user-defined *pData buffer to the IppsGFPXElement context of the GF(p^d) element.

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.

ippContextMatchErr

Indicates an error condition if any of the IppsGFPXState or IppsGFPXElement context parameters does not match the operation.

Submit feedback on this help topic

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