PolyGFShlC

Shifts a polynomial left.

Syntax

IppStatus ippsPolyGFShlC_8u(const IppsPoly_GF8u* pSrc, int nShift, IppsPoly_GF8u* pDst);

Parameters

pSrc

Pointer to the polynomial to be shifted.

nShift

The shift value.

pDstR

Pointer to the resulting polynomial.

Description

This function is declared in the ippdi.h file. The function performs the polynomial operation of left shift or, in other words, multiplication by xnShift.

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(pDst) < degree(pSrc)+nShift, 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.