GFExpAlpha

Raises the primitive element of a finite field to a power.

Syntax

IppStatus ippsGFExpAlpha_8u(Ipp8u pow, Ipp8u* pR, const IppsGFSpec_8u* pGF);

Parameters

pow

The exponent.

pR

Pointer to the result of exponentiation.

pGF

Pointer to the context of the finite field.

Description

This function is declared in the ippdi.h file. The function raises the primitive element of the finite field to the power pow. The following pseudocode represents this function, provided gfeR is the result of the operation:

gfeR = (gf_primitive_element)pow.

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 the context pointed by pGF is not valid.

ippStsRangeErr

Indicates an error condition if pow is greater than or equal to the field order.

Submit feedback on this help topic

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