PolyGFGetRef

Gets references to the polynomial parameters.

Syntax

IppStatus ippsPolyGFGetRef_8u(Ipp8u** const ppCoeff, int* pDegree, IppsGFSpec_8u** const ppGF, const IppsPoly_GF8u* pPoly);

Parameters

ppCoeffs

Pointer to the Ipps8u* variable containing the address of the array of polynomial coefficients.

pDegree

Pointer to the actual degree of the polynomial.

ppGF

Pointer to the IppsFDSpec_8u* variable containing the address of the finite field context used for the polynomial definition.

pPoly

Pointer to the polynomial parameters are retrieved from.

Description

This function is declared in the ippdi.h file. The function extracts pointers to the polynomial characteristics: degree, coefficients, and context of the finite field. If any of the target pointers is NULL, the appropriate reference is not extracted.

Return Values

ippStsNoErr

Indicates no error. Any other value indicates an error or warning.

ippStsNullPtrErr

Indicates an error condition if the pointer to the polynomial context is NULL.

ippStsContextMatchErr

Indicates an error condition if the context pointed by pPoly is not valid.

Submit feedback on this help topic

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