8#ifndef BOTAN_ENTROPY_SRC_PROC_WALK_H_
9#define BOTAN_ENTROPY_SRC_PROC_WALK_H_
11#include <botan/entropy_src.h>
12#include <botan/mutex.h>
29 std::string
name()
const override {
return "proc_walk"; }
34 m_path(root_dir), m_dir(nullptr) {}
37 const std::string m_path;
39 std::unique_ptr<File_Descriptor_Source> m_dir;
virtual ~File_Descriptor_Source()=default
size_t poll(RandomNumberGenerator &rng) override
std::string name() const override
ProcWalking_EntropySource(const std::string &root_dir)
int(* final)(unsigned char *, CTX *)
std::vector< T, secure_allocator< T > > secure_vector