aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pk_pad/emsa1/emsa1.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-06-20 01:23:34 -0400
committerJack Lloyd <[email protected]>2016-06-20 01:37:01 -0400
commit9a6621f473de4d2a49ed47e9a3db7cbf574b9236 (patch)
treec2f025bd0179d6568a3e46b1713c2dbf69629067 /src/lib/pk_pad/emsa1/emsa1.cpp
parent17741e56503bf538b5cceb29269c1f4981f649fb (diff)
parent70a61c082408a22b516fbe0f3a81441c6c5f165e (diff)
Merge GH #504 Add ECKCDSA
Diffstat (limited to 'src/lib/pk_pad/emsa1/emsa1.cpp')
-rw-r--r--src/lib/pk_pad/emsa1/emsa1.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/pk_pad/emsa1/emsa1.cpp b/src/lib/pk_pad/emsa1/emsa1.cpp
index 0031bf263..67f8ab21f 100644
--- a/src/lib/pk_pad/emsa1/emsa1.cpp
+++ b/src/lib/pk_pad/emsa1/emsa1.cpp
@@ -40,6 +40,11 @@ secure_vector<byte> emsa1_encoding(const secure_vector<byte>& msg,
}
+EMSA* EMSA1::clone()
+ {
+ return new EMSA1(m_hash->clone());
+ }
+
void EMSA1::update(const byte input[], size_t length)
{
m_hash->update(input, length);