diff dss.h @ 1413:79582b52a791 fuzz

check p and q lengths
author Matt Johnston <matt@ucc.asn.au>
date Fri, 16 Jun 2017 22:35:18 +0800
parents 750ec4ec4cbe
children 06d52bcb8094
line wrap: on
line diff
--- a/dss.h	Wed Jun 14 23:31:42 2017 +0800
+++ b/dss.h	Fri Jun 16 22:35:18 2017 +0800
@@ -41,6 +41,9 @@
 
 } 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);