diff options
author | René Korthaus <[email protected]> | 2016-04-13 19:07:33 +0200 |
---|---|---|
committer | René Korthaus <[email protected]> | 2016-06-14 17:33:50 +0200 |
commit | e14d6a0489ee290d289cf276fa3ff94044191af7 (patch) | |
tree | d3961328c1b6ba592a2114d3f231cd49c6c2a9a2 /src/lib/pk_pad/emsa_pkcs1/emsa_pkcs1.h | |
parent | 6816c9e71e01432792a997ad9a5d561b9cd94a48 (diff) |
Add ECKCDSA signature algorithm
Diffstat (limited to 'src/lib/pk_pad/emsa_pkcs1/emsa_pkcs1.h')
-rw-r--r-- | src/lib/pk_pad/emsa_pkcs1/emsa_pkcs1.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/pk_pad/emsa_pkcs1/emsa_pkcs1.h b/src/lib/pk_pad/emsa_pkcs1/emsa_pkcs1.h index 9d5bc7829..0773ed2c4 100644 --- a/src/lib/pk_pad/emsa_pkcs1/emsa_pkcs1.h +++ b/src/lib/pk_pad/emsa_pkcs1/emsa_pkcs1.h @@ -28,6 +28,8 @@ class BOTAN_DLL EMSA_PKCS1v15 final : public EMSA */ explicit EMSA_PKCS1v15(HashFunction* hash); + EMSA* clone() override { return new EMSA_PKCS1v15(m_hash->clone()); } + void update(const byte[], size_t) override; secure_vector<byte> raw_data() override; @@ -50,6 +52,8 @@ class BOTAN_DLL EMSA_PKCS1v15 final : public EMSA class BOTAN_DLL EMSA_PKCS1v15_Raw final : public EMSA { public: + EMSA* clone() override { return new EMSA_PKCS1v15_Raw(); } + void update(const byte[], size_t) override; secure_vector<byte> raw_data() override; |