PolyGFSetDegree

Sets up the polynomial degree.

Syntax

IppStatus ippsPolyGFSetDegree_8u(int degree, IppsPoly_GF8u* pPoly);

Parameters

degree

The value of the polynomial degree to set.

pPoly

Pointer to the ippsPoly_GF8u context to be updated with the specified degree.

Description

This function is declared in the ippdi.h file. The function assigns the value of degree to the polynomial degree in the context pointed by pPoly.

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 context pointed by pPoly is not valid.

ippStsBadArgErr

Indicates an error condition if the value of the parameter degree is less than 0 or greater than the highest possible value specified in the context.

Submit feedback on this help topic

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