Botan  2.9.0
Crypto and TLS for C++11
Classes | Namespaces | Functions
os_utils.h File Reference
#include <botan/types.h>
#include <functional>
#include <string>

Go to the source code of this file.

Classes

class  Botan::OS::Echo_Suppression
 

Namespaces

 Botan
 
 Botan::OS
 

Functions

void * Botan::OS::allocate_locked_pages (size_t length)
 
void Botan::OS::free_locked_pages (void *ptr, size_t length)
 
uint64_t BOTAN_TEST_API Botan::OS::get_cpu_cycle_counter ()
 
uint64_t BOTAN_TEST_API Botan::OS::get_high_resolution_clock ()
 
size_t Botan::OS::get_memory_locking_limit ()
 
uint32_t BOTAN_TEST_API Botan::OS::get_process_id ()
 
uint64_t BOTAN_TEST_API Botan::OS::get_system_timestamp_ns ()
 
const char * Botan::OS::read_env_variable (const std::string &var_name)
 
int BOTAN_TEST_API Botan::OS::run_cpu_instruction_probe (std::function< int()> probe_fn)
 
bool Botan::OS::running_in_privileged_state ()
 
std::unique_ptr< Echo_Suppression > BOTAN_UNSTABLE_API Botan::OS::suppress_echo_on_terminal ()
 
size_t Botan::OS::system_page_size ()