You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
245 B
19 lines
245 B
11 years ago
|
#pragma once
|
||
|
|
||
|
#include <stddef.h>
|
||
|
|
||
|
#if defined(__cplusplus)
|
||
|
#include <type_traits>
|
||
|
|
||
|
namespace crypto {
|
||
|
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
void init_random(void);
|
||
|
void generate_random_bytes(size_t n, void *result);
|
||
|
|
||
|
#if defined(__cplusplus)
|
||
|
}
|
||
|
}
|
||
|
#endif
|