Initializes user-supplied memory as the IppsDLPState context for future use.
IppsStatus IppsDLPInit(int peBits, int reBits, IppsDLPState* pCtx);
peBits |
Bitsize of the GF(p) element (that is, the length of the DL-based cryptosystem in bits) |
reBits |
Bitsize of the multiplicative subgroup GF(r). |
pCtx |
Pointer to the IppsDLPState context being initialized. |
This function is declared in the ippcp.h file. The function initializes the memory pointed by pCtx as the IppsDLPState context.
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. |
ippStsSizeErr |
Indicates an error condition if peBits ≤ reBits. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.