* Renaming changes: * macro prefix "POLARSSL" -> "MBEDTLS" * functions now prefixed with "mbedtls_" * rename PolarSSL++ -> mbedTLS++ * rename polarssl submodule * Use mbedtls' AES-CFB8 implementation. * Add cSslConfig to wrap mbedtls_ssl_config * Update cTCPLink and cBlockingSslClientSocket to use cSslConfig * Use cSslConfig in cHTTPServer * Use cSslConfig for cMojangAPI::SecureRequest * CI Fixes * Set -fomit-frame-pointer on the right target
32 lines
336 B
C++
32 lines
336 B
C++
|
|
// EntropyContext.h
|
|
|
|
// Declares the cEntropyContext class representing a wrapper over entropy contexts in mbedTLS
|
|
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
#include "mbedtls/entropy.h"
|
|
|
|
|
|
|
|
|
|
|
|
class cEntropyContext
|
|
{
|
|
friend class cCtrDrbgContext;
|
|
public:
|
|
cEntropyContext(void);
|
|
~cEntropyContext();
|
|
|
|
protected:
|
|
mbedtls_entropy_context m_Entropy;
|
|
} ;
|
|
|
|
|
|
|
|
|