GFPXQSetElementRandom

Assigns a random value to an element of the GF(p^d^2) field.

Syntax

IppStatus ippsGFPXQSetElementRandom(IppsGFPXQElement *pGFpxqElement, IppsGFPXQState *pGFpxq, IppBitSupplier rndFunc, void* pRndParam);

Parameters

pGFpxqElement

Pointer to the context of the GF(p^d^2) element.

pGFpxq

Pointer to the context of the GF(p^d^2) field.

rndFunc

Function that generates random sequences.

pRndParam

Pointer to the context of a random sequence generator.

Description

This function is declared in the ippcp.h file. The function assigns a random value to the given element of the GF(p^d^2) field.

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 IppsGFPXQState or IppsGFPXQElement context parameters does not match the operation.

See Also


Submit feedback on this help topic

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