GFPXECSetPointRandom

Sets random coordinates of a point on the elliptic curve over the GF(p^d) field.

Syntax

IppStatus ippsGFPXECSetPointRandom(IppsGFPXECPoint *pPoint, IppsGFPXECState *pEC, IppBitSupplier rndFunc, void* pRndParam);

Parameters

pPoint

Pointer to the context of the elliptic curve point.

pEC

Pointer to the context of the elliptic curve.

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 random values to the coordinates of the elliptic curve point in the IppsGFPXECPoint context.

Return Values

ippStsNoErr

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

ippStsNullPtrErr

Indicates an error condition if the pEC pointer is NULL.

ippStsContextMatchErr

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

See Also


Submit feedback on this help topic

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