Searched refs:FixedCiphertextLength (Results 1 - 4 of 4) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/libcryptoxx-5.6.0/
H A Delgamal.h81 size_t FixedMaxPlaintextLength() const {return this->MaxPlaintextLength(FixedCiphertextLength());}
82 size_t FixedCiphertextLength() const {return this->CiphertextLength(0);} function in class:ElGamalObjectImpl
87 {return Decrypt(rng, cipherText, FixedCiphertextLength(), plainText);}
H A Dpubkey.cpp138 Integer x = GetTrapdoorFunctionInterface().CalculateInverse(rng, Integer(ciphertext, FixedCiphertextLength()));
157 GetTrapdoorFunctionInterface().ApplyRandomizedFunction(rng, Integer(paddedBlock, paddedBlock.size())).Encode(ciphertext, FixedCiphertextLength());
H A Dpubkey.h143 {return ciphertextLength == FixedCiphertextLength() ? FixedMaxPlaintextLength() : 0;}
145 {return plaintextLength <= FixedMaxPlaintextLength() ? FixedCiphertextLength() : 0;}
148 virtual size_t FixedCiphertextLength() const =0;
158 size_t FixedCiphertextLength() const {return this->GetTrapdoorFunctionBounds().MaxImage().ByteCount();} function in class:TF_CryptoSystemBase
H A Dcryptlib.h1225 virtual size_t FixedCiphertextLength() const {return 0;} function in class:PK_CryptoSystem
1284 {return Decrypt(rng, ciphertext, FixedCiphertextLength(), plaintext, parameters);}

Completed in 60 milliseconds