diff options
author | Matt Johnston <matt@ucc.asn.au> | 2017-06-16 22:35:18 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2017-06-16 22:35:18 +0800 |
commit | eb7ca203791f0b152227e8abb65f5109b7719f56 (patch) | |
tree | bf08460797eb04937c596a03ef0badbb92c51136 /dss.h | |
parent | af2caaab7279b14ea2ed92726086c9f8f2935e75 (diff) |
check p and q lengths
Diffstat (limited to 'dss.h')
-rw-r--r-- | dss.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -41,6 +41,9 @@ typedef struct { } dropbear_dss_key; +#define DSS_P_BITS 1024 +#define DSS_Q_BITS 160 + void buf_put_dss_sign(buffer* buf, dropbear_dss_key *key, buffer *data_buf); #if DROPBEAR_SIGNKEY_VERIFY int buf_dss_verify(buffer* buf, dropbear_dss_key *key, buffer *data_buf); |