diff options
author | lloyd <[email protected]> | 2008-09-30 05:41:04 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-09-30 05:41:04 +0000 |
commit | 75ef07ee5378341adf054bd729232167c73e9e47 (patch) | |
tree | 7c84c43a431f0313b4f08b4267ff066650948bb0 /src/pk_pad/emsa2/emsa2.cpp | |
parent | bc9e881d7c7a569664b5e753c12e4c8cbde06d2d (diff) |
Remove lookup/libstate dependency on Lion, KDF1, KDF2, EMSA[1-4]
Diffstat (limited to 'src/pk_pad/emsa2/emsa2.cpp')
-rw-r--r-- | src/pk_pad/emsa2/emsa2.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pk_pad/emsa2/emsa2.cpp b/src/pk_pad/emsa2/emsa2.cpp index 9f5f4b277..5ecbf005c 100644 --- a/src/pk_pad/emsa2/emsa2.cpp +++ b/src/pk_pad/emsa2/emsa2.cpp @@ -5,7 +5,6 @@ #include <botan/emsa2.h> #include <botan/hash_id.h> -#include <botan/lookup.h> namespace Botan { @@ -94,9 +93,8 @@ bool EMSA2::verify(const MemoryRegion<byte>& coded, /************************************************* * EMSA2 Constructor * *************************************************/ -EMSA2::EMSA2(const std::string& hash_name) +EMSA2::EMSA2(HashFunction* hash_in) : hash(hash_in) { - hash = get_hash(hash_name); empty_hash = hash->final(); hash_id = ieee1363_hash_id(hash->name()); |