int main(int argc, char **argv) {
        log_set_max_level(LOG_DEBUG);
        log_parse_environment();
        log_open();

        test_acquire_random_bytes(false);
        test_acquire_random_bytes(true);

        test_pseudorandom_bytes();

        return 0;
}
示例#2
0
int main(int argc, char **argv) {
        test_setup_logging(LOG_DEBUG);

        test_acquire_random_bytes(false);
        test_acquire_random_bytes(true);

        test_pseudorandom_bytes();

        test_rdrand64();

        return 0;
}