Initial C++ SSL classes.
This commit is contained in:
29
src/PolarSSL++/EntropyContext.cpp
Normal file
29
src/PolarSSL++/EntropyContext.cpp
Normal file
@@ -0,0 +1,29 @@
|
||||
|
||||
// EntropyContext.cpp
|
||||
|
||||
// Implements the cEntropyContext class representing a wrapper over entropy contexts in PolarSSL
|
||||
|
||||
#include "Globals.h"
|
||||
#include "EntropyContext.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
cEntropyContext::cEntropyContext(void)
|
||||
{
|
||||
entropy_init(&m_Entropy);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
cEntropyContext::~cEntropyContext()
|
||||
{
|
||||
entropy_free(&m_Entropy);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user