GFPXSub_GFP

Subtracts an element of the GF(p) field from an element of the GF(p^d) field.

Syntax

IppStatus ippsGFPXSub_GFP(const IppsGFPXElement *pGFpxElementA, const IppsGFPElement *pGFpElementB, IppsGFPXElement *pGFpxElementR, IppsGFPXState *pGFpx);

Parameters

pGFpxElementA

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

pGFpElementB

Pointer to the context of the subtrahend element of the GF(p) field.

pGFpxElementR

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

pGFpx

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

Description

This function is declared in the ippcp.h file. The function computes the difference of the elements of the GF(p^d) and GF(p) fields. The following pseudocode represents this operation: R = A - B.

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 IppsGFPXState, IppsGFPXElement, or IppsGFPElement context parameters does not match the operation.

Submit feedback on this help topic

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