diff options
Diffstat (limited to 'src/lib/base/sym_algo.h')
-rw-r--r-- | src/lib/base/sym_algo.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/base/sym_algo.h b/src/lib/base/sym_algo.h index ee6eb5f4a..c8c93ba34 100644 --- a/src/lib/base/sym_algo.h +++ b/src/lib/base/sym_algo.h @@ -23,6 +23,9 @@ class BOTAN_DLL SymmetricAlgorithm public: virtual ~SymmetricAlgorithm() {} + /** + * Reset the state. + */ virtual void clear() = 0; /** @@ -39,7 +42,7 @@ class BOTAN_DLL SymmetricAlgorithm } /** - * @return maxmium allowed key length + * @return maximum allowed key length */ size_t minimum_keylength() const { @@ -83,6 +86,9 @@ class BOTAN_DLL SymmetricAlgorithm key_schedule(key, length); } + /* + * @return the algorithm name + */ virtual std::string name() const = 0; private: |