1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-02 03:52:49 -05:00

Windows PuTTYgen: switch to CryptGenRandom.

We now only use the mouse-movement based entropy collection system if
the system CPRNG fails to provide us with as much entropy as we want.
This commit is contained in:
Simon Tatham
2018-06-03 14:41:31 +01:00
parent 025599ec99
commit 6142013abc
3 changed files with 119 additions and 73 deletions

View File

@ -607,6 +607,11 @@ void remove_session_from_jumplist(const char * const sessionname);
void clear_jumplist(void);
BOOL set_explicit_app_user_model_id();
/*
* Exports from winnoise.c.
*/
int win_read_random(void *buf, unsigned wanted); /* returns TRUE on success */
/*
* Extra functions in winstore.c over and above the interface in
* storage.h.