aboutsummaryrefslogtreecommitdiffstats
path: root/src/algo_base
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-10-30 03:32:54 +0000
committerlloyd <[email protected]>2012-10-30 03:32:54 +0000
commit9151952c4174607678139f9ccb582aa3b886b519 (patch)
tree1c702abe9a8258c6dda3cc14d707c2a3d9579af0 /src/algo_base
parent3b62f6729a930b81c3110962f31fb871a5691612 (diff)
Doxygen
Diffstat (limited to 'src/algo_base')
-rw-r--r--src/algo_base/buf_comp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/algo_base/buf_comp.h b/src/algo_base/buf_comp.h
index 1dd8be992..f25af3b92 100644
--- a/src/algo_base/buf_comp.h
+++ b/src/algo_base/buf_comp.h
@@ -126,6 +126,12 @@ class BOTAN_DLL Buffered_Computation
return final();
}
+ /**
+ * Update and finalize computation. Does the same as calling update()
+ * and final() consecutively.
+ * @param in the input to process
+ * @result the result of the call to final()
+ */
secure_vector<byte> process(const std::vector<byte>& in)
{
add_data(&in[0], in.size());