The unified diff between revisions [8a2b79c6..] and [44833339..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'include/dl_group.h'

#
#
# patch "include/dl_group.h"
#  from [63df1ce81409a4e8f89feef8fa0c314281f71dd2]
#    to [5c9bb309357d9ef7c1a2140496bbcdb535216919]
#
============================================================
--- include/dl_group.h	63df1ce81409a4e8f89feef8fa0c314281f71dd2
+++ include/dl_group.h	5c9bb309357d9ef7c1a2140496bbcdb535216919
@@ -31,15 +31,19 @@ class DL_Group
       void BER_decode(DataSource&, Format);
       void PEM_decode(DataSource&);

-      static BigInt make_dsa_generator(const BigInt&, const BigInt&);
-
       DL_Group();
       DL_Group(const std::string&);
-      DL_Group(u32bit, PrimeType = Strong);
+      DL_Group(PrimeType, u32bit, u32bit = 0);
       DL_Group(const MemoryRegion<byte>&, u32bit = 1024, u32bit = 0);
       DL_Group(const BigInt&, const BigInt&);
       DL_Group(const BigInt&, const BigInt&, const BigInt&);
    private:
+      static BigInt make_dsa_generator(const BigInt&, const BigInt&);
+      static SecureVector<byte> generate_dsa_primes(BigInt&, BigInt&,
+                                                    u32bit, u32bit);
+      static bool generate_dsa_primes(BigInt&, BigInt&, u32bit, u32bit,
+                                      const MemoryRegion<byte>&);
+
       void init_check() const;
       void initialize(const BigInt&, const BigInt&, const BigInt&);
       bool initialized;