summaryrefslogblamecommitdiffstats
path: root/src/mbedTLS++/EntropyContext.cpp
blob: aea056f4e739c243f8a77968eb6d0ec43f05f678 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
   

                     
                                                                                               









                                      
                                         







                                   
                                         




 

// EntropyContext.cpp

// Implements the cEntropyContext class representing a wrapper over entropy contexts in mbedTLS

#include "Globals.h"
#include "EntropyContext.h"





cEntropyContext::cEntropyContext(void)
{
	mbedtls_entropy_init(&m_Entropy);
}





cEntropyContext::~cEntropyContext()
{
	mbedtls_entropy_free(&m_Entropy);
}