Mercurial > dropbear
view gensignkey.h @ 1698:f966834f0f9c
Use Linux getrandom() to ensure random device is initialised
Remove old code warning about random device being not ready,
/dev/random isn't used by default anyway.
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 28 May 2020 22:50:41 +0800 |
parents | 4f8eb331174f |
children |
line wrap: on
line source
#ifndef DROPBEAR_GENSIGNKEY_H #define DROPBEAR_GENSIGNKEY_H #include "signkey.h" int signkey_generate(enum signkey_type type, int bits, const char* filename, int skip_exist); int signkey_generate_get_bits(enum signkey_type keytype, int bits); #endif