diff options
Diffstat (limited to 'src/algo_base/buf_comp.h')
-rw-r--r-- | src/algo_base/buf_comp.h | 6 |
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()); |