GFPGetElement

Extracts the element of the GF(p) field from an input IppsGFPELement context.

Syntax

IppStatus ippsGFPGetElement(const IppsGFPElement *pGFpElement, Ipp32u *pData, Ipp32u dataLen, const IppsGFPState *pGFp);

Parameters

pGFpElement

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

pData

Pointer to the data array to copy the GF(p) element from.

dataLen

Length of the data array.

pGFp

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

Description

This function is declared in the ippcp.h file. The function copies the element of the GF(p) field from the IppsGFPElement context to the user-defined *pData buffer.

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.

ippContextMatchErr

Indicates an error condition if any of the IppsGFPState or IppsGFPElement context parameters does not match the operation.

Submit feedback on this help topic

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