GFPXQSetElementPowerX

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

Syntax

IppStatus ippsGFPXQSetElementPowerX(Ipp32u power, IppsGFPXQElement *pGFpxqElement, IppsGFPXQState *pGFpxq);

Parameters

power

The exponent.

pGFpxqElement

Pointer to the context of the GF(p^d^2) 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 sets (and converts if needed) the value of the given element of the GF(p^d^2) field to xpower.

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 IppsGFPXQState or IppsGFPXQElement context parameters does not match the operation.

Submit feedback on this help topic

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