aboutsummaryrefslogtreecommitdiffstats
path: root/src/algo_factory/algo_factory.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-06-15 21:59:23 +0000
committerlloyd <[email protected]>2010-06-15 21:59:23 +0000
commit416695f7363c4e93eaeaea23427a1fed3ad73cab (patch)
treeff1482f22f176733305583ad56855dae997d0d6d /src/algo_factory/algo_factory.cpp
parent6565cf0df1ed88a818aecf6de7635531e05c0871 (diff)
Fix a few hundred Doxygen warnings
Diffstat (limited to 'src/algo_factory/algo_factory.cpp')
-rw-r--r--src/algo_factory/algo_factory.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/algo_factory/algo_factory.cpp b/src/algo_factory/algo_factory.cpp
index e8a2a0913..13e81e7f5 100644
--- a/src/algo_factory/algo_factory.cpp
+++ b/src/algo_factory/algo_factory.cpp
@@ -22,7 +22,7 @@ namespace Botan {
namespace {
-/**
+/*
* Template functions for the factory prototype/search algorithm
*/
template<typename T>
@@ -84,7 +84,7 @@ const T* factory_prototype(const std::string& algo_spec,
}
-/**
+/*
* Setup caches
*/
Algorithm_Factory::Algorithm_Factory(Mutex_Factory& mf)
@@ -95,7 +95,7 @@ Algorithm_Factory::Algorithm_Factory(Mutex_Factory& mf)
mac_cache = new Algorithm_Cache<MessageAuthenticationCode>(mf.make());
}
-/**
+/*
* Delete all engines
*/
Algorithm_Factory::~Algorithm_Factory()
@@ -113,7 +113,7 @@ void Algorithm_Factory::add_engine(Engine* engine)
engines.push_back(engine);
}
-/**
+/*
* Set the preferred provider for an algorithm
*/
void Algorithm_Factory::set_preferred_provider(const std::string& algo_spec,
@@ -129,7 +129,7 @@ void Algorithm_Factory::set_preferred_provider(const std::string& algo_spec,
mac_cache->set_preferred_provider(algo_spec, provider);
}
-/**
+/*
* Get an engine out of the list
*/
Engine* Algorithm_Factory::get_engine_n(u32bit n) const
@@ -139,7 +139,7 @@ Engine* Algorithm_Factory::get_engine_n(u32bit n) const
return engines[n];
}
-/**
+/*
* Return the possible providers of a request
* Note: assumes you don't have different types by the same name
*/
@@ -163,7 +163,7 @@ Algorithm_Factory::providers_of(const std::string& algo_spec)
return std::vector<std::string>();
}
-/**
+/*
* Return the prototypical block cipher corresponding to this request
*/
const BlockCipher*
@@ -174,7 +174,7 @@ Algorithm_Factory::prototype_block_cipher(const std::string& algo_spec,
*this, block_cipher_cache);
}
-/**
+/*
* Return the prototypical stream cipher corresponding to this request
*/
const StreamCipher*
@@ -185,7 +185,7 @@ Algorithm_Factory::prototype_stream_cipher(const std::string& algo_spec,
*this, stream_cipher_cache);
}
-/**
+/*
* Return the prototypical object corresponding to this request (if found)
*/
const HashFunction*
@@ -196,7 +196,7 @@ Algorithm_Factory::prototype_hash_function(const std::string& algo_spec,
*this, hash_cache);
}
-/**
+/*
* Return the prototypical object corresponding to this request
*/
const MessageAuthenticationCode*
@@ -208,7 +208,7 @@ Algorithm_Factory::prototype_mac(const std::string& algo_spec,
*this, mac_cache);
}
-/**
+/*
* Return a new block cipher corresponding to this request
*/
BlockCipher*
@@ -220,7 +220,7 @@ Algorithm_Factory::make_block_cipher(const std::string& algo_spec,
throw Algorithm_Not_Found(algo_spec);
}
-/**
+/*
* Return a new stream cipher corresponding to this request
*/
StreamCipher*
@@ -232,7 +232,7 @@ Algorithm_Factory::make_stream_cipher(const std::string& algo_spec,
throw Algorithm_Not_Found(algo_spec);
}
-/**
+/*
* Return a new object corresponding to this request
*/
HashFunction*
@@ -244,7 +244,7 @@ Algorithm_Factory::make_hash_function(const std::string& algo_spec,
throw Algorithm_Not_Found(algo_spec);
}
-/**
+/*
* Return a new object corresponding to this request
*/
MessageAuthenticationCode*
@@ -256,7 +256,7 @@ Algorithm_Factory::make_mac(const std::string& algo_spec,
throw Algorithm_Not_Found(algo_spec);
}
-/**
+/*
* Add a new block cipher
*/
void Algorithm_Factory::add_block_cipher(BlockCipher* block_cipher,
@@ -265,7 +265,7 @@ void Algorithm_Factory::add_block_cipher(BlockCipher* block_cipher,
block_cipher_cache->add(block_cipher, block_cipher->name(), provider);
}
-/**
+/*
* Add a new stream cipher
*/
void Algorithm_Factory::add_stream_cipher(StreamCipher* stream_cipher,
@@ -274,7 +274,7 @@ void Algorithm_Factory::add_stream_cipher(StreamCipher* stream_cipher,
stream_cipher_cache->add(stream_cipher, stream_cipher->name(), provider);
}
-/**
+/*
* Add a new hash
*/
void Algorithm_Factory::add_hash_function(HashFunction* hash,
@@ -283,7 +283,7 @@ void Algorithm_Factory::add_hash_function(HashFunction* hash,
hash_cache->add(hash, hash->name(), provider);
}
-/**
+/*
* Add a new mac
*/
void Algorithm_Factory::add_mac(MessageAuthenticationCode* mac,