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

Method MaxPlainTextLength

src/cryptlib/cryptlib.cpp:150–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148}
149
150unsigned int PK_FixedLengthCryptoSystem::MaxPlainTextLength(unsigned int cipherTextLength) const
151{
152 if (cipherTextLength == CipherTextLength())
153 return MaxPlainTextLength();
154 else
155 return 0;
156}
157
158unsigned int PK_FixedLengthCryptoSystem::CipherTextLength(unsigned int plainTextLength) const
159{

Callers 2

ProcessBlockMethod · 0.45
GenerateKeysMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected