]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/dsa/dsa_local.h
Modify DSA and DH keys to use a shared FFC_PARAMS struct
[thirdparty/openssl.git] / crypto / dsa / dsa_local.h
index f0ec73410bcf940641d10ca345dc2342c64f25db..49b36c5f7767a0cef920caf9e372f7cd9c1a52bc 100644 (file)
@@ -9,6 +9,7 @@
 
 #include <openssl/dsa.h>
 #include "internal/refcount.h"
+#include "internal/ffc.h"
 
 struct dsa_st {
     /*
@@ -17,9 +18,7 @@ struct dsa_st {
      */
     int pad;
     int32_t version;
-    BIGNUM *p;
-    BIGNUM *q;                  /* == 20 */
-    BIGNUM *g;
+    FFC_PARAMS params;
     BIGNUM *pub_key;            /* y public key */
     BIGNUM *priv_key;           /* x private key */
     int flags;