Computes the multiplicative inverse for an element of a finite field.
IppStatus ippsGFInv_8u(Ipp8u gfeA, Ipp8u* pR, const IppsGFSpec_8u* pGF);
gfeA |
The element of the finite field to be inverted. |
pR |
Pointer to the result of the multiplicative inversion. |
pGF |
Pointer to the context of the finite field. |
This function is declared in the ippdi.h file. The function performs the multiplicative inversion over the finite field. The following pseudocode represents this function, provided gfeR is the result of the operation:
gfeR = 1/gfeA, so that 1 = gfeA*gfeR, if gfeA ≠ 0.
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 gfeA is not a valid element of the finite field. |
ippStsDivByZeroErr |
Indicates an error condition if gfeA is zero. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.