| 192 | } |
| 193 | |
| 194 | void 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 | |
| 204 | void AuthenticatedSymmetricCipher::SpecifyDataLengths(lword headerLength, lword messageLength, lword footerLength) |
| 205 | { |
nothing calls this directly
no test coverage detected