- Call the functionDLPGetSizeto get the size required to configure theIppsDLPStatecontext.
- Ensure that the required memory space is properly allocated. With the allocated memory, call theDLPInitfunction to initialize the context of the DL-based cryptosystem.
- Clean up secret data stored in the context.
- Free the memory allocated for theIppsDLPStatecontext by calling the operating system memory free service function unless the context is no longer needed.