GFPXQExp

Raises an element of the GF(p^d^2) field to a non-negative power.

Syntax

IppStatus ippsGFPXQExp(const IppsGFPXQElement *pGFpxqElementA, const Ipp32u *pExp, Ipp32u expLen, IppsGFPXQElement *pGFpxqElementR, IppsGFPXQState *pGFpxq);

Parameters

pGFpxqElementA

Pointer to the context of the GF(p^d^2) element that represents the base of the exponentiation.

pExp

Pointer to the data array that stores the exponent.

expLen

Length of the exponent.

pGFpxqElementR

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

pGFpxq

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

Description

This function is declared in the ippcp.h file. The function raises the element of the GF(p^d^2) field to the given non-negative power. The following pseudocode represents this operation: R = AE.

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.