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/emsa4/emsa4.h | |
parent | bc9e881d7c7a569664b5e753c12e4c8cbde06d2d (diff) |
Remove lookup/libstate dependency on Lion, KDF1, KDF2, EMSA[1-4]
Diffstat (limited to 'src/pk_pad/emsa4/emsa4.h')
-rw-r--r-- | src/pk_pad/emsa4/emsa4.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/pk_pad/emsa4/emsa4.h b/src/pk_pad/emsa4/emsa4.h index 8f2505281..dded20ec3 100644 --- a/src/pk_pad/emsa4/emsa4.h +++ b/src/pk_pad/emsa4/emsa4.h @@ -17,8 +17,9 @@ namespace Botan { class BOTAN_DLL EMSA4 : public EMSA { public: - EMSA4(const std::string&, const std::string&); - EMSA4(const std::string&, const std::string&, u32bit); + EMSA4(HashFunction*); + EMSA4(HashFunction*, u32bit); + ~EMSA4() { delete hash; delete mgf; } private: void update(const byte[], u32bit); @@ -29,7 +30,7 @@ class BOTAN_DLL EMSA4 : public EMSA bool verify(const MemoryRegion<byte>&, const MemoryRegion<byte>&, u32bit) throw(); - const u32bit SALT_SIZE; + u32bit SALT_SIZE; HashFunction* hash; const MGF* mgf; }; |