aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pk_pad/emsa_x931/emsa_x931.h
diff options
context:
space:
mode:
authorRenĂ© Korthaus <[email protected]>2016-04-13 19:07:33 +0200
committerRenĂ© Korthaus <[email protected]>2016-06-14 17:33:50 +0200
commite14d6a0489ee290d289cf276fa3ff94044191af7 (patch)
treed3961328c1b6ba592a2114d3f231cd49c6c2a9a2 /src/lib/pk_pad/emsa_x931/emsa_x931.h
parent6816c9e71e01432792a997ad9a5d561b9cd94a48 (diff)
Add ECKCDSA signature algorithm
Diffstat (limited to 'src/lib/pk_pad/emsa_x931/emsa_x931.h')
-rw-r--r--src/lib/pk_pad/emsa_x931/emsa_x931.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/pk_pad/emsa_x931/emsa_x931.h b/src/lib/pk_pad/emsa_x931/emsa_x931.h
index 400042a86..56754d3b1 100644
--- a/src/lib/pk_pad/emsa_x931/emsa_x931.h
+++ b/src/lib/pk_pad/emsa_x931/emsa_x931.h
@@ -25,6 +25,8 @@ class BOTAN_DLL EMSA_X931 final : public EMSA
* @param hash the hash object to use
*/
explicit EMSA_X931(HashFunction* hash);
+
+ EMSA* clone() override { return new EMSA_X931(m_hash->clone()); }
private:
void update(const byte[], size_t) override;
secure_vector<byte> raw_data() override;