• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/libcryptoxx-5.6.0/

Lines Matching +defs:source +defs:key

8 	This file contains helper classes/functions for implementing public key algorithms.
103 //! message encoding method for public key encryption
183 //! interface for message encoding method for public key signature schemes
429 KEY & AccessKey() {throw NotImplemented("TF_ObjectImplExtRef: cannot modify refererenced key");}
653 void AssignFrom(const NameValuePairs &source);
694 void AssignFrom(const NameValuePairs &source)
696 this->AccessAbstractGroupParameters().AssignFrom(source);
697 AssignFromHelper(this, source)
706 void DL_PublicKey<T>::AssignFrom(const NameValuePairs &source)
709 if (source.GetThisPointer(pPrivateKey))
713 this->AccessAbstractGroupParameters().AssignFrom(source);
714 AssignFromHelper(this, source)
774 void AssignFrom(const NameValuePairs &source)
776 AssignFromHelper<DL_PrivateKey<Element> >(this, source);
857 void AssignFrom(const NameValuePairs &source)
859 AssignFromHelper<DL_PublicKey<Element> >(this, source);
913 //! interface for DL key agreement algorithms
924 //! interface for key derivation algorithms used in DL cryptosystems
941 virtual void SymmetricEncrypt(RandomNumberGenerator &rng, const byte *key, const byte *plaintext, size_t plaintextLength, byte *ciphertext, const NameValuePairs &parameters) const =0;
942 virtual DecodingResult SymmetricDecrypt(const byte *key, const byte *ciphertext, size_t ciphertextLength, byte *plaintext, const NameValuePairs &parameters) const =0;
1002 const DL_PrivateKey<T> &key = this->GetKeyInterface();
1005 alg.Sign(params, key.GetPrivateExponent(), k, e, r, s);
1025 const DL_PrivateKey<T> &key = this->GetKeyInterface();
1043 alg.Sign(params, key.GetPrivateExponent(), k, e, r, s);
1051 alg.Sign(params, key.GetPrivateExponent(), ma.m_k, e, r, s);
1106 const DL_PublicKey<T> &key = this->GetKeyInterface();
1116 return alg.Verify(params, key, e, r, ma.m_s);
1126 const DL_PublicKey<T> &key = this->GetKeyInterface();
1139 alg.RecoverPresignature(params, key, r, ma.m_s).Encode(ma.m_presignature, ma.m_presignature.size());
1192 const DL_PrivateKey<T> &key = this->GetKeyInterface();
1199 Element z = agreeAlg.AgreeWithStaticPrivateKey(params, q, true, key.GetPrivateExponent());
1226 const DL_PublicKey<T> &key = this->GetKeyInterface();
1234 Element z = agreeAlg.AgreeWithEphemeralPrivateKey(params, key.GetPublicPrecomputation(), x);
1432 //! DH key agreement algorithm
1486 //! A template implementing constructors for public key algorithm classes
1493 PK_FinalTemplate(const CryptoMaterial &key)
1494 {this->AccessKey().AssignFrom(key);}
1596 //! Base class for public key encryption standard classes. These classes are used to select from variants of algorithms. Note that not all standards apply to all algorithms.
1599 //! Base class for public key signature standard classes. These classes are used to select from variants of algorithms. Note that not all standards apply to all algorithms.