make unintentional private functions public
parent
86f5140826
commit
3bbbb93adb
4
pubkey.h
4
pubkey.h
|
|
@ -474,6 +474,7 @@ class TF_EncryptorImpl : public TF_PublicObjectImpl<TF_EncryptorBase, SCHEME_OPT
|
||||||
template <class SCHEME_OPTIONS>
|
template <class SCHEME_OPTIONS>
|
||||||
class TF_SignerImpl : public TF_PrivateObjectImpl<TF_SignerBase, SCHEME_OPTIONS>
|
class TF_SignerImpl : public TF_PrivateObjectImpl<TF_SignerBase, SCHEME_OPTIONS>
|
||||||
{
|
{
|
||||||
|
public:
|
||||||
PK_MessageAccumulator * NewSignatureAccumulator(RandomNumberGenerator &rng) const
|
PK_MessageAccumulator * NewSignatureAccumulator(RandomNumberGenerator &rng) const
|
||||||
{
|
{
|
||||||
return new PK_MessageAccumulatorImpl<CPP_TYPENAME SCHEME_OPTIONS::HashFunction>;
|
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>
|
template <class SCHEME_OPTIONS>
|
||||||
class TF_VerifierImpl : public TF_PublicObjectImpl<TF_VerifierBase, SCHEME_OPTIONS>
|
class TF_VerifierImpl : public TF_PublicObjectImpl<TF_VerifierBase, SCHEME_OPTIONS>
|
||||||
{
|
{
|
||||||
|
public:
|
||||||
PK_MessageAccumulator * NewVerificationAccumulator() const
|
PK_MessageAccumulator * NewVerificationAccumulator() const
|
||||||
{
|
{
|
||||||
return new PK_MessageAccumulatorImpl<CPP_TYPENAME SCHEME_OPTIONS::HashFunction>;
|
return new PK_MessageAccumulatorImpl<CPP_TYPENAME SCHEME_OPTIONS::HashFunction>;
|
||||||
|
|
@ -1366,6 +1368,7 @@ public:
|
||||||
template <class SCHEME_OPTIONS>
|
template <class SCHEME_OPTIONS>
|
||||||
class DL_SignerImpl : public DL_PrivateObjectImpl<DL_SignerBase<typename SCHEME_OPTIONS::Element>, SCHEME_OPTIONS>
|
class DL_SignerImpl : public DL_PrivateObjectImpl<DL_SignerBase<typename SCHEME_OPTIONS::Element>, SCHEME_OPTIONS>
|
||||||
{
|
{
|
||||||
|
public:
|
||||||
PK_MessageAccumulator * NewSignatureAccumulator(RandomNumberGenerator &rng) const
|
PK_MessageAccumulator * NewSignatureAccumulator(RandomNumberGenerator &rng) const
|
||||||
{
|
{
|
||||||
std::auto_ptr<PK_MessageAccumulatorBase> p(new PK_MessageAccumulatorImpl<CPP_TYPENAME SCHEME_OPTIONS::HashFunction>);
|
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>
|
template <class SCHEME_OPTIONS>
|
||||||
class DL_VerifierImpl : public DL_PublicObjectImpl<DL_VerifierBase<typename SCHEME_OPTIONS::Element>, SCHEME_OPTIONS>
|
class DL_VerifierImpl : public DL_PublicObjectImpl<DL_VerifierBase<typename SCHEME_OPTIONS::Element>, SCHEME_OPTIONS>
|
||||||
{
|
{
|
||||||
|
public:
|
||||||
PK_MessageAccumulator * NewVerificationAccumulator() const
|
PK_MessageAccumulator * NewVerificationAccumulator() const
|
||||||
{
|
{
|
||||||
return new PK_MessageAccumulatorImpl<CPP_TYPENAME SCHEME_OPTIONS::HashFunction>;
|
return new PK_MessageAccumulatorImpl<CPP_TYPENAME SCHEME_OPTIONS::HashFunction>;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue