2
* Darwin SecRandomCopyBytes EntropySource
3
* (C) 2015 Daniel Seither (Kullo GmbH)
5
* Botan is released under the Simplified BSD License (see license.txt)
8
#ifndef BOTAN_ENTROPY_SRC_DARWIN_SECRANDOM_H_
9
#define BOTAN_ENTROPY_SRC_DARWIN_SECRANDOM_H_
11
#include <botan/entropy_src.h>
16
* Entropy source using SecRandomCopyBytes from Darwin's Security.framework
18
class Darwin_SecRandom final : public Entropy_Source
21
std::string name() const override { return "darwin_secrandom"; }
23
size_t poll(RandomNumberGenerator& rng) override;