Struct desfire::random_oracle
Defined in File keys.hpp
Struct Documentation
-
struct random_oracle
Super light wrapper around a function pointer that fills a buffer of random bytes. This is a wrapper and not directly a function pointer to that the construction of e.g. key can be done without risk that
{}
will pass anullptr
to a random oracle, but it will instead select the default constructor of key_storage.Public Types
-
using fn_t = void (*)(void*, std::size_t)
Function pointer which takes a void pointer and a size.
-
using fn_t = void (*)(void*, std::size_t)