summaryrefslogtreecommitdiffstats
path: root/src/mbedTLS++/EntropyContext.cpp
blob: a5cdcb89e36a04ccec2e376fcbc84884699c73be (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

// 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);
}