GFPXCmpElement

Compares two elements of the GF(p^d) field.

Syntax

IppStatus ippsGFPXCmpElement(const IppsGFPXElement *pGFpxElementA, const IppsGFPXElement *pGFpxElementB, IppsElementCmpResult *cmpResult, const IppsGFPXState *pGFpx);

Parameters

pGFpxElementA

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

pGFpxElementB

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

cmpResult

Result of the comparison. For details, see comparison functions.

pGFpx

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

Description

This function is declared in the ippcp.h file. The function compares two elements of the GF(p^d) field and returns the result in *cmpResult.

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

Submit feedback on this help topic

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