From 4e3ed1be76906bcd3440dd3fbf78569a0d684dfc Mon Sep 17 00:00:00 2001 From: lloyd Date: Sun, 25 May 2008 21:57:32 +0000 Subject: Reindent --- include/elgamal.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'include/elgamal.h') diff --git a/include/elgamal.h b/include/elgamal.h index bf9199fac..90fd8c77a 100644 --- a/include/elgamal.h +++ b/include/elgamal.h @@ -15,16 +15,15 @@ namespace Botan { * ElGamal Public Key * *************************************************/ class BOTAN_DLL ElGamal_PublicKey : public PK_Encrypting_Key, - public virtual DL_Scheme_PublicKey + public virtual DL_Scheme_PublicKey { public: std::string algo_name() const { return "ElGamal"; } + DL_Group::Format group_format() const { return DL_Group::ANSI_X9_42; } SecureVector encrypt(const byte[], u32bit) const; u32bit max_input_bits() const; - DL_Group::Format group_format() const { return DL_Group::ANSI_X9_42; } - ElGamal_PublicKey() {} ElGamal_PublicKey(const DL_Group&, const BigInt&); protected: @@ -37,8 +36,8 @@ class BOTAN_DLL ElGamal_PublicKey : public PK_Encrypting_Key, * ElGamal Private Key * *************************************************/ class BOTAN_DLL ElGamal_PrivateKey : public ElGamal_PublicKey, - public PK_Decrypting_Key, - public virtual DL_Scheme_PrivateKey + public PK_Decrypting_Key, + public virtual DL_Scheme_PrivateKey { public: SecureVector decrypt(const byte[], u32bit) const; -- cgit v1.2.3