Feature: clean shutdown

This commit is contained in:
Patrick Siegl
2019-03-27 00:23:54 +01:00
parent b5dce0e23b
commit 3cfcbd94d7
5 changed files with 43 additions and 1 deletions

View File

@@ -57,6 +57,15 @@ devlist_node listUSBDevices(char **message);
*/
bool initInfnoise(struct infnoise_context *context, char *serial, bool keccak, bool debug);
/*
* deinitialize the Infinite Noise TRNG
*
* parameters:
* - context: pointer to infnoise_context struct
*/
void deinitInfnoise(struct infnoise_context *context);
/*
* Reads some bytes from the TRNG and stores them in the "result" byte array.
* The array has to be of sufficient size. Please refer to the example programs.