Sets random coordinates of a point on the elliptic curve over the GF(p^d) field.
IppStatus ippsGFPXECSetPointRandom(IppsGFPXECPoint *pPoint, IppsGFPXECState *pEC, IppBitSupplier rndFunc, void* pRndParam);
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. |
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.
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. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.