diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2003-04-28 17:37:05 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2003-04-28 17:37:05 +0000 |
commit | 180a6796fd546fdb4a4d26b6a3a815bca4db5645 (patch) | |
tree | d926445f0602845936ace30e664470db49b7fa52 /pubkey.h | |
parent | fc7a635748fec6087d2459eab6acc862bd63036b (diff) | |
download | cryptopp-180a6796fd546fdb4a4d26b6a3a815bca4db5645.tar.gz |
make unintentional private functions public
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@66 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'pubkey.h')
-rw-r--r-- | pubkey.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -474,6 +474,7 @@ class TF_EncryptorImpl : public TF_PublicObjectImpl<TF_EncryptorBase, SCHEME_OPT template <class SCHEME_OPTIONS> class TF_SignerImpl : public TF_PrivateObjectImpl<TF_SignerBase, SCHEME_OPTIONS> { +public: PK_MessageAccumulator * NewSignatureAccumulator(RandomNumberGenerator &rng) const { return new PK_MessageAccumulatorImpl<CPP_TYPENAME SCHEME_OPTIONS::HashFunction>; @@ -484,6 +485,7 @@ class TF_SignerImpl : public TF_PrivateObjectImpl<TF_SignerBase, SCHEME_OPTIONS> template <class SCHEME_OPTIONS> class TF_VerifierImpl : public TF_PublicObjectImpl<TF_VerifierBase, SCHEME_OPTIONS> { +public: PK_MessageAccumulator * NewVerificationAccumulator() const { return new PK_MessageAccumulatorImpl<CPP_TYPENAME SCHEME_OPTIONS::HashFunction>; @@ -1366,6 +1368,7 @@ public: template <class SCHEME_OPTIONS> class DL_SignerImpl : public DL_PrivateObjectImpl<DL_SignerBase<typename SCHEME_OPTIONS::Element>, SCHEME_OPTIONS> { +public: PK_MessageAccumulator * NewSignatureAccumulator(RandomNumberGenerator &rng) const { std::auto_ptr<PK_MessageAccumulatorBase> p(new PK_MessageAccumulatorImpl<CPP_TYPENAME SCHEME_OPTIONS::HashFunction>); @@ -1378,6 +1381,7 @@ class DL_SignerImpl : public DL_PrivateObjectImpl<DL_SignerBase<typename SCHEME_ template <class SCHEME_OPTIONS> class DL_VerifierImpl : public DL_PublicObjectImpl<DL_VerifierBase<typename SCHEME_OPTIONS::Element>, SCHEME_OPTIONS> { +public: PK_MessageAccumulator * NewVerificationAccumulator() const { return new PK_MessageAccumulatorImpl<CPP_TYPENAME SCHEME_OPTIONS::HashFunction>; |