PolyGFMod

Reduces a polynomial modulo another polynomial.

Syntax

IppStatus ippsPolyGFMod_8u(const IppsPoly_GF8u* pPolyA, const IppsPoly_GF8u* pPolyModulo, IppsPoly_GF8u* pDstR);

Parameters

pPolyA

Pointer to the polynomial to be reduced.

pPolyModulo

Pointer to the modulo polynomial.

pDstR

Pointer to the resulting polynomial.

Description

This function is declared in the ippdi.h file. The function performs reduction of the polynomial pPolyA modulo pPolyModulo.

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.

ippStsContextMatchErr

Indicates an error condition if any of the specified contexts is not valid.

ippStsOutOfRangeErr

Indicates an error condition if maxDegree(pDstR) < degree(pPolyModulo), where degree is the actual degree and maxDegree is the highest possible degree specified in the respective polynomial context.

Submit feedback on this help topic

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