aboutsummaryrefslogtreecommitdiffstats
path: root/src/pk_pad/emsa1/emsa1.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-10-08 19:40:02 +0000
committerlloyd <[email protected]>2008-10-08 19:40:02 +0000
commitafd97edf49c9381e434f5f786c59f743a246101b (patch)
treee45ccffd6a43a9c971826e53094a888d885b0476 /src/pk_pad/emsa1/emsa1.h
parent4b2294731b8e48227021e57ba7f0a661a87cf5f3 (diff)
Add BSI variant of EMSA1, from InSiTo
Diffstat (limited to 'src/pk_pad/emsa1/emsa1.h')
-rw-r--r--src/pk_pad/emsa1/emsa1.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pk_pad/emsa1/emsa1.h b/src/pk_pad/emsa1/emsa1.h
index 2de2d325e..8a15e2bfe 100644
--- a/src/pk_pad/emsa1/emsa1.h
+++ b/src/pk_pad/emsa1/emsa1.h
@@ -18,6 +18,8 @@ class BOTAN_DLL EMSA1 : public EMSA
public:
EMSA1(HashFunction* h) : hash(h) {}
~EMSA1() { delete hash; }
+ protected:
+ const HashFunction* hash_ptr() const { return hash; }
private:
void update(const byte[], u32bit);
SecureVector<byte> raw_data();