aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/stream/ofb/ofb.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-10-24 12:37:35 -0400
committerJack Lloyd <[email protected]>2016-10-24 12:37:35 -0400
commitc7e76399055c792b84071f22c490906576bd4027 (patch)
tree1e70ece726c42755573b876eae9b060337ef0e80 /src/lib/stream/ofb/ofb.cpp
parentde54f69aa74d98664fb13b0097f61e17322bca04 (diff)
parent331f7d28de21170e74febae53a7f49732ad40256 (diff)
Merge GH #668: Remove Algo_Registry and associated global locks
Diffstat (limited to 'src/lib/stream/ofb/ofb.cpp')
-rw-r--r--src/lib/stream/ofb/ofb.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/lib/stream/ofb/ofb.cpp b/src/lib/stream/ofb/ofb.cpp
index 3337a0c14..0c23188d5 100644
--- a/src/lib/stream/ofb/ofb.cpp
+++ b/src/lib/stream/ofb/ofb.cpp
@@ -9,16 +9,6 @@
namespace Botan {
-OFB* OFB::make(const Spec& spec)
- {
- if(spec.algo_name() == "OFB" && spec.arg_count() == 1)
- {
- if(auto c = BlockCipher::create(spec.arg(0)))
- return new OFB(c.release());
- }
- return nullptr;
- }
-
OFB::OFB(BlockCipher* cipher) :
m_cipher(cipher),
m_buffer(m_cipher->block_size()),