aboutsummaryrefslogtreecommitdiffstats
path: root/src/algo_factory/algo_factory.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-03-02 06:58:45 +0000
committerlloyd <[email protected]>2009-03-02 06:58:45 +0000
commit6a0d23c063d1b7d52fd0ff780d61f4b602faa26e (patch)
tree95fa78a8d17de089d72333b36b923a1e3f423ed1 /src/algo_factory/algo_factory.cpp
parent609339f6237affd7041084382c92320d9768f47f (diff)
Fix misspelled words in algo_factory.{cpp,h}, from Charles Brockman in bug 40
Diffstat (limited to 'src/algo_factory/algo_factory.cpp')
-rw-r--r--src/algo_factory/algo_factory.cpp19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/algo_factory/algo_factory.cpp b/src/algo_factory/algo_factory.cpp
index e966aee78..9a1152181 100644
--- a/src/algo_factory/algo_factory.cpp
+++ b/src/algo_factory/algo_factory.cpp
@@ -153,7 +153,7 @@ Algorithm_Factory::providers_of(const std::string& algo_spec)
}
/**
-* Return the prototypical block cipher cooresponding to this request
+* Return the prototypical block cipher corresponding to this request
*/
const BlockCipher*
Algorithm_Factory::prototype_block_cipher(const std::string& algo_spec,
@@ -164,7 +164,7 @@ Algorithm_Factory::prototype_block_cipher(const std::string& algo_spec,
}
/**
-* Return the prototypical stream cipher cooresponding to this request
+* Return the prototypical stream cipher corresponding to this request
*/
const StreamCipher*
Algorithm_Factory::prototype_stream_cipher(const std::string& algo_spec,
@@ -175,7 +175,7 @@ Algorithm_Factory::prototype_stream_cipher(const std::string& algo_spec,
}
/**
-* Return the prototypical object cooresponding to this request (if found)
+* Return the prototypical object corresponding to this request (if found)
*/
const HashFunction*
Algorithm_Factory::prototype_hash_function(const std::string& algo_spec,
@@ -186,18 +186,19 @@ Algorithm_Factory::prototype_hash_function(const std::string& algo_spec,
}
/**
-* Return the prototypical object cooresponding to this request
+* Return the prototypical object corresponding to this request
*/
const MessageAuthenticationCode*
Algorithm_Factory::prototype_mac(const std::string& algo_spec,
const std::string& provider)
{
- return factory_prototype<MessageAuthenticationCode>(algo_spec, provider, engines,
+ return factory_prototype<MessageAuthenticationCode>(algo_spec, provider,
+ engines,
*this, mac_cache);
}
/**
-* Return a new block cipher cooresponding to this request
+* Return a new block cipher corresponding to this request
*/
BlockCipher*
Algorithm_Factory::make_block_cipher(const std::string& algo_spec,
@@ -209,7 +210,7 @@ Algorithm_Factory::make_block_cipher(const std::string& algo_spec,
}
/**
-* Return a new stream cipher cooresponding to this request
+* Return a new stream cipher corresponding to this request
*/
StreamCipher*
Algorithm_Factory::make_stream_cipher(const std::string& algo_spec,
@@ -221,7 +222,7 @@ Algorithm_Factory::make_stream_cipher(const std::string& algo_spec,
}
/**
-* Return a new object cooresponding to this request
+* Return a new object corresponding to this request
*/
HashFunction*
Algorithm_Factory::make_hash_function(const std::string& algo_spec,
@@ -233,7 +234,7 @@ Algorithm_Factory::make_hash_function(const std::string& algo_spec,
}
/**
-* Return a new object cooresponding to this request
+* Return a new object corresponding to this request
*/
MessageAuthenticationCode*
Algorithm_Factory::make_mac(const std::string& algo_spec,