GFDiv

Divides one element of a finite field by another.

Syntax

IppStatus ippsGFDiv_8u(Ipp8u gfeA, Ipp8u gfeB, Ipp8u* pR, const IppsGFSpec_8u* pGF);

Parameters

gfeA

The first (dividend) element of the finite field.

gfeB

The second (divisor) element of the finite field.

pR

Pointer to the result of division.

pGF

Pointer to context of the finite field.

Description

This function is declared in the ippdi.h file. The function performs division over the finite field. The following pseudocode represents this function, provided gfeR is the result of the operation:

gfeR = gfeA / gfeB, if gfeB ≠ 0.

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 pGF is not valid.

ippStsRangeErr

Indicates an error condition if gfeA and/or gfeB is (are) not valid element(s) of the finite field.

ippStsDivByZeroErr

Indicates an error condition if the divisor is zero.

Submit feedback on this help topic

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