2017-09-19 04:34:08 -04:00
|
|
|
|
2014-04-24 15:34:45 -04:00
|
|
|
// EntropyContext.h
|
|
|
|
|
2017-08-30 10:00:06 -04:00
|
|
|
// Declares the cEntropyContext class representing a wrapper over entropy contexts in mbedTLS
|
2014-04-24 15:34:45 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2017-08-30 10:00:06 -04:00
|
|
|
#include "mbedtls/entropy.h"
|
2014-04-24 15:34:45 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class cEntropyContext
|
|
|
|
{
|
|
|
|
friend class cCtrDrbgContext;
|
|
|
|
public:
|
|
|
|
cEntropyContext(void);
|
|
|
|
~cEntropyContext();
|
2016-02-05 16:45:45 -05:00
|
|
|
|
2014-04-24 15:34:45 -04:00
|
|
|
protected:
|
2017-08-30 10:00:06 -04:00
|
|
|
mbedtls_entropy_context m_Entropy;
|
2014-04-24 15:34:45 -04:00
|
|
|
} ;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|