aboutsummaryrefslogtreecommitdiffstats
path: root/checks/dolook.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-09-03 13:18:54 +0000
committerlloyd <[email protected]>2010-09-03 13:18:54 +0000
commit449c9b9467c3e8dc08015094100162aea209623e (patch)
treecef38093356e6418b46640b43505f861db139ffe /checks/dolook.cpp
parent466548a644640fc73b24c8a4185a317f780a698f (diff)
Use the standalone version of the hex decoder instead of the wrapper that
previously existed in misc.cpp that emulated it via a pipe and filter.
Diffstat (limited to 'checks/dolook.cpp')
-rw-r--r--checks/dolook.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/checks/dolook.cpp b/checks/dolook.cpp
index 71bb65725..92f7381c2 100644
--- a/checks/dolook.cpp
+++ b/checks/dolook.cpp
@@ -175,19 +175,19 @@ Filter* lookup_rng(const std::string& algname,
#if defined(BOTAN_HAS_DES)
if(algname == "X9.31-RNG(TripleDES)")
prng = new ANSI_X931_RNG(new TripleDES,
- new Fixed_Output_RNG(decode_hex(key)));
+ new Fixed_Output_RNG(hex_decode(key)));
#endif
#if defined(BOTAN_HAS_AES)
if(algname == "X9.31-RNG(AES-128)")
prng = new ANSI_X931_RNG(new AES_128,
- new Fixed_Output_RNG(decode_hex(key)));
+ new Fixed_Output_RNG(hex_decode(key)));
else if(algname == "X9.31-RNG(AES-192)")
prng = new ANSI_X931_RNG(new AES_192,
- new Fixed_Output_RNG(decode_hex(key)));
+ new Fixed_Output_RNG(hex_decode(key)));
else if(algname == "X9.31-RNG(AES-256)")
prng = new ANSI_X931_RNG(new AES_256,
- new Fixed_Output_RNG(decode_hex(key)));
+ new Fixed_Output_RNG(hex_decode(key)));
#endif
#endif