Botan: src/entropy/rdrand/rdrand.h Source File

Botan 1.10.16

rdrand.h
Go to the documentation of this file.
1 /*
2 * Entropy Source Using Intel's rdrand instruction
3 * (C) 2012 Jack Lloyd
4 *
5 * Distributed under the terms of the Botan license
6 */
7
8 #ifndef BOTAN_ENTROPY_SRC_RDRAND_H__
9 #define BOTAN_ENTROPY_SRC_RDRAND_H__
10
11 #include <botan/entropy_src.h>
12
13 namespace Botan {
14
15 /**
16 * Entropy source using the rdrand instruction first introduced on
17 * Intel's Ivy Bridge architecture.
18 */
19 class Intel_Rdrand : public EntropySource
20 {
21 public:
22 std::string name() const { return "Intel Rdrand"; }
23 void poll(Entropy_Accumulator& accum);
24 };
25
26 }
27
28 #endif
Botan::EntropySource
Definition: entropy_src.h:122
Botan::Intel_Rdrand::poll
void poll(Entropy_Accumulator &accum)
Definition: rdrand.cpp:20
Botan::Intel_Rdrand
Definition: rdrand.h:19
Botan::Intel_Rdrand::name
std::string name() const
Definition: rdrand.h:22
Botan
Definition: algo_base.h:14
Botan::Entropy_Accumulator
Definition: entropy_src.h:19