GFPGet

Extracts parameters of the finite field GF(p) from the input structure.

Syntax

IppStatus ippsGFPGet(const IppsGFPState *pGFp, const Ipp32u **ppPrime, Ipp32u *elementLen);

Parameters

pGFp

Pointer to the context of the GF(p) field.

ppPrime

Address of the pointer to the data array storing the GF(p) modulus.

elementLen

Length of a GF(p) element.

Description

This function is declared in the ippcp.h file. The function extracts parameters of the GF(p) field from the input IppsGFPState context. You can get the following parameters of the finite field or any of them: a reference to the modulus and the element length. To turn off extraction of a particular field parameter, set the appropriate function parameter to NULL.

Return Values

ippStsNoErr

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

ippStsNullPtrErr

Indicates an error condition if the pGFp pointer is NULL.

Submit feedback on this help topic

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