DLPGet
DLPGet
Retrieves domain parameters of the DL-based cryptosystem over GF(p).
Syntax
IppStatus ippsDLPGet(IppsBigNumState*
pP
, IppsBigNumState*
pQ
, IppsBigNumState*
pG
, IppsDLPState*
pCtx
);
Include Files
ippcp.h
Parameters
- pP
- Pointer to the characteristicpof the prime finite field GF(p).
- pQ
- Pointer to the characteristicqof the multiplicative subgroup GF(q).
- pG
- Pointer to the generatorGof the multiplicative subgroup GF(r).
- pCtx
- Pointer to the cryptosystem context.
Description
The function retrieves DL-based cryptosystem domain parameters into the cryptosystem 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.
- ippStsContextMatchErr
- Indicates an error condition if the context parameter does not match the operation.
- ippStsIncompleteContextErr
- Indicates an error condition if the cryptosystem context has not been properly set up.
- ippStsRangeErr
- Indicates an error condition if any of the Big Numbers specified bypP,pR, andpGis too small for the DL parameter.