MCPcopy Create free account
hub / github.com/c3d/tao3D / ProcessLastBlock

Method ProcessLastBlock

libcryptopp/cryptopp/cryptlib.cpp:194–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192}
193
194void StreamTransformation::ProcessLastBlock(byte *outString, const byte *inString, size_t length)
195{
196 assert(MinLastBlockSize() == 0); // this function should be overriden otherwise
197
198 if (length == MandatoryBlockSize())
199 ProcessData(outString, inString, length);
200 else if (length != 0)
201 throw NotImplemented(AlgorithmName() + ": this object does't support a special last block");
202}
203
204void AuthenticatedSymmetricCipher::SpecifyDataLengths(lword headerLength, lword messageLength, lword footerLength)
205{

Callers

nothing calls this directly

Calls 3

MinLastBlockSizeFunction · 0.70
MandatoryBlockSizeFunction · 0.70
AlgorithmNameFunction · 0.70

Tested by

no test coverage detected