9#ifndef BOTAN_P11_RNG_H_
10#define BOTAN_P11_RNG_H_
12#include <botan/entropy_src.h>
13#include <botan/p11_types.h>
29 std::string
name()
const override {
return "PKCS11_RNG"; }
46 void fill_bytes_with_input(std::span<uint8_t> output, std::span<const uint8_t> input)
override;
49 const std::reference_wrapper<Session> m_session;
A random generator that only fetches random from the PKCS#11 RNG.
bool accepts_input() const override
std::string name() const override
size_t reseed(Entropy_Sources &, size_t, std::chrono::milliseconds) override
No operation - always returns 0.
bool is_seeded() const override
Always returns true.
Represents a PKCS#11 session.
int(* final)(unsigned char *, CTX *)
#define BOTAN_PUBLIC_API(maj, min)