Computes the additive inverse for an element of the GF(p^d) field.
IppStatus ippsGFPXNeg(const IppsGFPXElement *pGFpxElementA, IppsGFPXElement *pGFpxElementR, IppsGFPXState *pGFpx);
pGFpxElementA |
Pointer to the context of the given GF(p^d) element. |
pGFpxElementR |
Pointer to the context of the resulting GF(p^d) element. |
pGFpx |
Pointer to the context of the GF(p^d) field. |
This function is declared in the ippcp.h file. The function computes the additive inverse for a given element of the GF(p^d) field. The following pseudocode represents this operation: R = 0 - A.
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 IppsGFPXState or IppsGFPXElement context parameters does not match the operation. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.