From 7aa5107be73de3b214301dbf647b1a0c41ec65eb Mon Sep 17 00:00:00 2001 From: lloyd Date: Sun, 21 Mar 2010 22:16:47 +0000 Subject: Move where pk_ops is included, remove rng.h from dl_algo.h --- src/pubkey/dl_algo/dl_algo.h | 1 - src/pubkey/if_algo/if_algo.h | 5 +---- src/pubkey/rsa/rsa.h | 1 + src/pubkey/rw/rw.h | 1 + 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 #include #include -#include 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 #include #include -#include namespace Botan { @@ -35,13 +34,11 @@ class BOTAN_DLL IF_Scheme_PublicKey : public virtual Public_Key MemoryVector 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 +#include #include #include 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 +#include #include #include -- cgit v1.2.3