aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstate/engine
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-11-10 02:24:29 +0000
committerlloyd <[email protected]>2008-11-10 02:24:29 +0000
commit72a829e04030906bd7dbc90437980cc9adbe5620 (patch)
tree8c1871137b68ea2a7769c4b019c2f154a93ba61e /src/libstate/engine
parenta4be9296531e66b3d40b5ff195bfd9ba9b9c070f (diff)
Remove find_bc_pad from lookup_stream.cpp
Diffstat (limited to 'src/libstate/engine')
-rw-r--r--src/libstate/engine/def_engine/lookup_stream.cpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/libstate/engine/def_engine/lookup_stream.cpp b/src/libstate/engine/def_engine/lookup_stream.cpp
index a19b6572c..252fb545a 100644
--- a/src/libstate/engine/def_engine/lookup_stream.cpp
+++ b/src/libstate/engine/def_engine/lookup_stream.cpp
@@ -57,29 +57,4 @@ Default_Engine::find_stream_cipher(const std::string& algo_spec) const
return 0;
}
-/*************************************************
-* Look for an algorithm with this name *
-*************************************************/
-BlockCipherModePaddingMethod*
-Default_Engine::find_bc_pad(const std::string& algo_spec) const
- {
- SCAN_Name request(algo_spec);
-
-#if defined(BOTAN_HAS_CIPHER_MODE_PADDING)
- if(request.algo_name() == "PKCS7")
- return new PKCS7_Padding;
-
- if(request.algo_name() == "OneAndZeros")
- return new OneAndZeros_Padding;
-
- if(request.algo_name() == "X9.23")
- return new ANSI_X923_Padding;
-
- if(request.algo_name() == "NoPadding")
- return new Null_Padding;
-#endif
-
- return 0;
- }
-
}