DLPInit
DLPInit
Initializes user-supplied memory as the
IppsDLPState
context for future use.Syntax
IppStatus ippsDLPInit(int
peBits
, int
reBits
, IppsDLPState*
pCtx
);
Include Files
ippcp.h
Parameters
- 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 theIppsDLPStatecontext being initialized.
Description
The function initializes the memory pointed by
pCtx
as the IppsDLPState
context.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 isNULL.
- ippStsSizeErr
- Indicates an error condition ifpeBits≤reBits.