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