• 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 refs:RandomNumberGenerator

89 class RandomNumberGenerator;
414 virtual void GetNextIV(RandomNumberGenerator &rng, byte *IV);
680 class CRYPTOPP_DLL CRYPTOPP_NO_VTABLE RandomNumberGenerator : public Algorithm
684 virtual void IncorporateEntropy(const byte *input, size_t length) {throw NotImplemented("RandomNumberGenerator: IncorporateEntropy not implemented");}
725 CRYPTOPP_DLL RandomNumberGenerator & CRYPTOPP_API NullRNG();
1069 virtual bool Validate(RandomNumberGenerator &rng, unsigned int level) const =0;
1072 virtual void ThrowIfInvalid(RandomNumberGenerator &rng, unsigned int level) const
1120 virtual void GenerateRandom(RandomNumberGenerator &rng, const NameValuePairs &params = g_nullNameValuePairs)
1124 void GenerateRandomWithKeySize(RandomNumberGenerator &rng, unsigned int keySize);
1251 virtual void Encrypt(RandomNumberGenerator &rng,
1259 virtual BufferedTransformation * CreateEncryptionFilter(RandomNumberGenerator &rng,
1272 virtual DecodingResult Decrypt(RandomNumberGenerator &rng,
1279 virtual BufferedTransformation * CreateDecryptionFilter(RandomNumberGenerator &rng,
1283 DecodingResult FixedLengthDecrypt(RandomNumberGenerator &rng, const byte *ciphertext, byte *plaintext, const NameValuePairs &parameters = g_nullNameValuePairs) const
1330 /*! if this returns false, NullRNG() can be passed to functions that take RandomNumberGenerator & */
1364 virtual PK_MessageAccumulator * NewSignatureAccumulator(RandomNumberGenerator &rng) const =0;
1372 virtual size_t Sign(RandomNumberGenerator &rng, PK_MessageAccumulator *messageAccumulator, byte *signature) const;
1378 virtual size_t SignAndRestart(RandomNumberGenerator &rng, PK_MessageAccumulator &messageAccumulator, byte *signature, bool restart=true) const =0;
1384 virtual size_t SignMessage(RandomNumberGenerator &rng, const byte *message, size_t messageLen, byte *signature) const;
1390 virtual size_t SignMessageWithRecovery(RandomNumberGenerator &rng, const byte *recoverableMessage, size_t recoverableMessageLength,
1455 virtual void GeneratePrivateKey(RandomNumberGenerator &rng, byte *privateKey) const =0;
1458 virtual void GeneratePublicKey(RandomNumberGenerator &rng, const byte *privateKey, byte *publicKey) const =0;
1461 virtual void GenerateKeyPair(RandomNumberGenerator &rng, byte *privateKey, byte *publicKey) const;
1471 bool ValidateDomainParameters(RandomNumberGenerator &rng) const
1494 virtual void GenerateStaticPrivateKey(RandomNumberGenerator &rng, byte *privateKey) const =0;
1497 virtual void GenerateStaticPublicKey(RandomNumberGenerator &rng, const byte *privateKey, byte *publicKey) const =0;
1500 virtual void GenerateStaticKeyPair(RandomNumberGenerator &rng, byte *privateKey, byte *publicKey) const;
1508 virtual void GenerateEphemeralPrivateKey(RandomNumberGenerator &rng, byte *privateKey) const =0;
1511 virtual void GenerateEphemeralPublicKey(RandomNumberGenerator &rng, const byte *privateKey, byte *publicKey) const =0;
1514 virtual void GenerateEphemeralKeyPair(RandomNumberGenerator &rng, byte *privateKey, byte *publicKey) const;
1531 bool ValidateDomainParameters(RandomNumberGenerator &rng) const
1580 virtual void InitializeSession(RandomNumberGenerator &rng, const NameValuePairs &parameters) =0;
1599 RandomNumberGenerator *m_rng;
1615 void InitializePasswordAuthenticatedKeyAgreementSession(RandomNumberGenerator &rng,
1625 virtual bool ValidateDomainParameters(RandomNumberGenerator &rng) const
1629 virtual void GeneratePasswordVerifier(RandomNumberGenerator &rng, const byte *userId, unsigned int userIdLength, const byte *password, unsigned int passwordLength, byte *verifier) const =0;