Sets up domain parameters of the DL-based cryptosystem over GF(p).
IppStatus ippsDLPSet(const IppsBigNumState* pP, const IppBigNumState* pQ, const IppsBigNumState* pG, IppsDLPState* pCtx);
pP |
Pointer to the characteristic p of the prime finite field GF(p). |
pQ |
Pointer to the characteristic q of the multiplicative subgroup GF(q). |
pG |
Pointer to the generator G of the multiplicative subgroup GF(r). |
pCtx |
Pointer to the cryptosystem context. |
This function is declared in the ippcp.h file. The function sets up DL-based cryptosystem domain parameters into the cryptosystem 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. |
ippStsContextMatchErr |
Indicates an error condition if the context parameter does not match the operation. |
ippStsRangeErr |
Indicates an error condition if any of the Big Numbers specified by pP, pR, and pG is too big to be stored in the IppsDLPState context. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.