Visible to Intel only — GUID: GUID-57B18DC3-0F1D-4E1E-82F7-0616947D65A2
Visible to Intel only — GUID: GUID-57B18DC3-0F1D-4E1E-82F7-0616947D65A2
DLPGetSize
Gets the size of the IppsDLPState context.
Syntax
IppStatus ippsDLPGetSize(int peBits, int reBits, int *pSize);
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). |
pSize |
Pointer to the IppsDLPState context size in bytes. |
Description
The function gets the IppsDLPState context size in bytes and stores in *pSize. DL-based cryptosystem over GF(p) assumes that r/p-1 where both p and r are primes.
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. |
ippStsSizeErr |
Indicates an error condition if peBits≤ reBits. |