MCPcopy Create free account
hub / github.com/Tripwire/tripwire-open-source / CipherTextLength

Method CipherTextLength

src/cryptlib/cryptlib.cpp:158–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156}
157
158unsigned int PK_FixedLengthCryptoSystem::CipherTextLength(unsigned int plainTextLength) const
159{
160 if (plainTextLength <= MaxPlainTextLength())
161 return CipherTextLength();
162 else
163 return 0;
164}
165
166unsigned int PK_FixedLengthDecryptor::Decrypt(const byte *cipherText, unsigned int cipherTextLength, byte *plainText)
167{

Callers 2

ProcessBlockMethod · 0.45
GenerateKeysMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected