Use a single set of FDs for all random plugin RNG instances
This commit is contained in:
@@ -39,4 +39,14 @@ struct random_plugin_t {
|
||||
plugin_t plugin;
|
||||
};
|
||||
|
||||
/**
|
||||
* Get the /dev/random file descriptor
|
||||
*/
|
||||
int random_plugin_get_dev_random();
|
||||
|
||||
/**
|
||||
* Get the /dev/urandom file descriptor
|
||||
*/
|
||||
int random_plugin_get_dev_urandom();
|
||||
|
||||
#endif /** RANDOM_PLUGIN_H_ @}*/
|
||||
|
||||
Reference in New Issue
Block a user