aboutsummaryrefslogtreecommitdiffstats
path: root/src/pubkey
diff options
context:
space:
mode:
Diffstat (limited to 'src/pubkey')
-rw-r--r--src/pubkey/dl_algo/dl_algo.h1
-rw-r--r--src/pubkey/if_algo/if_algo.h5
-rw-r--r--src/pubkey/rsa/rsa.h1
-rw-r--r--src/pubkey/rw/rw.h1
4 files changed, 3 insertions, 5 deletions
diff --git a/src/pubkey/dl_algo/dl_algo.h b/src/pubkey/dl_algo/dl_algo.h
index bb594a393..445f6c3f9 100644
--- a/src/pubkey/dl_algo/dl_algo.h
+++ b/src/pubkey/dl_algo/dl_algo.h
@@ -11,7 +11,6 @@
#include <botan/dl_group.h>
#include <botan/x509_key.h>
#include <botan/pkcs8.h>
-#include <botan/rng.h>
namespace Botan {
diff --git a/src/pubkey/if_algo/if_algo.h b/src/pubkey/if_algo/if_algo.h
index 65bb8aed4..764a99e13 100644
--- a/src/pubkey/if_algo/if_algo.h
+++ b/src/pubkey/if_algo/if_algo.h
@@ -11,7 +11,6 @@
#include <botan/bigint.h>
#include <botan/x509_key.h>
#include <botan/pkcs8.h>
-#include <botan/pk_ops.h>
namespace Botan {
@@ -35,13 +34,11 @@ class BOTAN_DLL IF_Scheme_PublicKey : public virtual Public_Key
MemoryVector<byte> x509_subject_public_key() const;
/**
- * Get n = p * q.
- * @return n
+ * @return the public modulus
*/
const BigInt& get_n() const { return n; }
/**
- * Get the public exponent used by the key.
* @return the public exponent
*/
const BigInt& get_e() const { return e; }
diff --git a/src/pubkey/rsa/rsa.h b/src/pubkey/rsa/rsa.h
index 7d517e986..e2da173f9 100644
--- a/src/pubkey/rsa/rsa.h
+++ b/src/pubkey/rsa/rsa.h
@@ -9,6 +9,7 @@
#define BOTAN_RSA_H__
#include <botan/if_algo.h>
+#include <botan/pk_ops.h>
#include <botan/reducer.h>
#include <botan/blinding.h>
diff --git a/src/pubkey/rw/rw.h b/src/pubkey/rw/rw.h
index 3ca9bb722..831c7a960 100644
--- a/src/pubkey/rw/rw.h
+++ b/src/pubkey/rw/rw.h
@@ -9,6 +9,7 @@
#define BOTAN_RW_H__
#include <botan/if_algo.h>
+#include <botan/pk_ops.h>
#include <botan/reducer.h>
#include <botan/blinding.h>