|
dxd - dynax driver framework 3.0.1f223
cross platform open source driver development framework
|
#include <Security/Security.h>#include <chrono>#include <cstdlib>#include <ctime>#include <iostream>#include <thread>Namespaces | |
| namespace | sec |
| sec - security namespace | |
Macros | |
| #define | __dx_pass_sec(fatal, test, ...) |
| #define | dx_pass_sec(test, ...) |
| #define | dx_pass_sec_fatal dx_pass_sec |
Functions | |
| void | sec::burn () noexcept |
| without enforcement a failed check reports and ends the operation, nothing else | |
| #define __dx_pass_sec | ( | fatal, | |
| test, | |||
| ... ) |
a failed security call throws, naming the call, its status and the system's own message; the fatal form lights the tamper response first - both spellings end the operation the same way, so a call site reads alike either way
| #define dx_pass_sec | ( | test, | |
| ... ) |
| #define dx_pass_sec_fatal dx_pass_sec |