GFPCmpElement

Compares two elements of the GF(p) field.

Syntax

IppStatus ippsGFPCmpElement(const IppsGFPElement *pGFpElementA, const IppsGFPElement *pGFpElementB, IppsElementCmpResult *cmpResult, const IppsGFPState *pGFp);

Parameters

pGFpElementA

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

pGFpElementB

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

cmpResult

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

pGFp

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

Description

This function is declared in the ippcp.h file. The function compares two elements of the GF(p) 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 IppsGFPState or IppsGFPElement context parameters does not match the operation.

Submit feedback on this help topic

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