GFPXQInv

Computes the multiplicative inverse for an element of the GF(p^d^2) field.

Syntax

IppStatus ippsGFPXQInv(const IppsGFPXQElement *pGFpxqElementA, IppsGFPXQElement *pGFpxqElementR, IppsGFPXQState *pGFpxq);

Parameters

pGFpxqElementA

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

pGFpxqElementR

Pointer to the context of the resulting 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 computes the multiplicative inverse for a given element of the GF(p^d^2) field. The following pseudocode represents this operation: R = A(-1).

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.

ippStsDivByZeroErr

Indicates an error condition if the zero element is attempted.

Submit feedback on this help topic

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