Mercurial > dropbear
view gensignkey.h @ 1013:a1e79ffa5862
Tighten validation of DH values. Odds of x==0 being generated are
improbable, roughly 2**-1023
Regression in 0.49
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 10 Feb 2015 21:46:19 +0800 |
parents | b298bb438625 |
children | deed0571cacc |
line wrap: on
line source
#ifndef _GENSIGNKEY_H #define _GENSIGNKEY_H #include "signkey.h" int signkey_generate(enum signkey_type type, int bits, const char* filename); #endif