PolyGFGetSize

Gets the size of the ippsPolyGF_8u context in bytes.

Syntax

IppStatus ippsPolyGFGetSize_8u(int maxDegree, int* pSize);

Parameters

maxDegree

The highest possible value of the polynomial degree.

pSize

Pointer to the size of the context (in bytes).

Description

This function is declared in the ippdi.h file. The function specifies the size (in bytes) that is required to define a structuralized working buffer of the IppsPoly_GF8u context to be used for operations on polynomials.

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.

ippStsbadArgErr

Indicates an error condition if the value of the parameter maxDegree is less than 0.

Submit feedback on this help topic

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