PolyGFPrimitive

Tests a given polynomial for being primitive.

Syntax

IppStatus ippsPolyGFPrimitive_8u(const IppsPoly_GF8u* pPoly, IppBool isIrreducible, IppBool* pIsPrimitive);

Parameters

pPoly

Pointer to the polynomial to be tested.

isIrreducible

The apriory-knowledge flag. If isIrreducible==ippTrue then pPoly is definetely irreducible.

pIsPrimitive

Pointer to the result of the primitivity test

Description

This function is declared in the ippdi.h file. The function checks primitivity of the given polynomial. If isIrreducible==ippTrue, the function checks irreducibility of the polynomial first.

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 the specified context pPoly is not valid.

Submit feedback on this help topic

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