Visible to Intel only — GUID: GUID-63469DEA-2741-426A-B8AB-CC496A839256
Visible to Intel only — GUID: GUID-63469DEA-2741-426A-B8AB-CC496A839256
GFpECSetPointRandom
Sets the coordinates of a point on an elliptic curve to random values.
Syntax
IppStatus ippsGFpECSetPointRandom(IppsGFpECPoint* pPoint, IppsGFpECState* pEC, IppBitSupplier rndFunc, void* pRndParam, Ipp8u* pScratchBuffer);
Include Files
ippcp.h
Parameters
pPoint |
Pointer to the IppsGFpECPoint context. |
pEC |
Pointer to the context of the elliptic curve. |
rndFunc |
Pesudorandom number generator. |
pRndParam |
Pointer to the pseudorandom number generator context. |
pScratchBuffer |
Pointer to the scratch buffer. |
Description
This function assigns random values to the coordinates of an elliptic curve point in the IppsGFpECPoint context.
If the pointer to the scratch buffer is NULL, the function uses a short internal buffer for computations.
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. |
ippStsContextMatchErr |
Indicates an error condition if any of the context parameters does not match the operation. |
ippStsOutOfRangeErr |
Indicates an error if the specified point does not belong to the finite field over which the elliptic curve is initialized. |