diff options
author | lloyd <[email protected]> | 2012-10-30 03:32:54 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-10-30 03:32:54 +0000 |
commit | 9151952c4174607678139f9ccb582aa3b886b519 (patch) | |
tree | 1c702abe9a8258c6dda3cc14d707c2a3d9579af0 | |
parent | 3b62f6729a930b81c3110962f31fb871a5691612 (diff) |
Doxygen
-rw-r--r-- | src/algo_base/buf_comp.h | 6 | ||||
-rw-r--r-- | src/block/block_cipher.h | 2 | ||||
-rw-r--r-- | src/hash/hash.h | 4 |
3 files changed, 9 insertions, 3 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()); diff --git a/src/block/block_cipher.h b/src/block/block_cipher.h index 4a07bb048..5cbd6bdae 100644 --- a/src/block/block_cipher.h +++ b/src/block/block_cipher.h @@ -136,7 +136,7 @@ class BOTAN_DLL BlockCipher : public SymmetricAlgorithm size_t blocks) const = 0; /** - * Get a new object representing the same algorithm as *this + * @return new object representing the same algorithm as *this */ virtual BlockCipher* clone() const = 0; }; diff --git a/src/hash/hash.h b/src/hash/hash.h index 8143e8e90..1e4b045e2 100644 --- a/src/hash/hash.h +++ b/src/hash/hash.h @@ -22,12 +22,12 @@ class BOTAN_DLL HashFunction : public Buffered_Computation, { public: /** - * Get a new object representing the same algorithm as *this + * @return new object representing the same algorithm as *this */ virtual HashFunction* clone() const = 0; /** - * The hash block size as defined for this algorithm + * @return hash block size as defined for this algorithm */ virtual size_t hash_block_size() const { return 0; } }; |