aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/buf_comp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-10-13 02:24:24 +0000
committerlloyd <[email protected]>2010-10-13 02:24:24 +0000
commit879d062c2b93e32362e338d1c6f9b1eda0f88493 (patch)
treef51c8194a4827f0aeea2244658ffb5dc6ebda1fc /src/utils/buf_comp
parentc00da53d958ef8c266012ae9425337143f14f46e (diff)
Add accessors for block size and output length
Diffstat (limited to 'src/utils/buf_comp')
-rw-r--r--src/utils/buf_comp/buf_comp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/utils/buf_comp/buf_comp.h b/src/utils/buf_comp/buf_comp.h
index 0904941d6..c1c2583c3 100644
--- a/src/utils/buf_comp/buf_comp.h
+++ b/src/utils/buf_comp/buf_comp.h
@@ -28,6 +28,11 @@ class BOTAN_DLL BufferedComputation
const size_t OUTPUT_LENGTH;
/**
+ * @return length of the output of this function in bytes
+ */
+ size_t output_length() const { return OUTPUT_LENGTH; }
+
+ /**
* Add new input to process.
* @param in the input to process as a byte array
* @param length of param in in bytes