diff options
Diffstat (limited to 'src/lib/prov/pkcs11/p11_ecdsa.cpp')
-rw-r--r-- | src/lib/prov/pkcs11/p11_ecdsa.cpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/lib/prov/pkcs11/p11_ecdsa.cpp b/src/lib/prov/pkcs11/p11_ecdsa.cpp index 44f116f88..c2ba02e0f 100644 --- a/src/lib/prov/pkcs11/p11_ecdsa.cpp +++ b/src/lib/prov/pkcs11/p11_ecdsa.cpp @@ -61,16 +61,6 @@ class PKCS11_ECDSA_Signature_Operation : public PK_Ops::Signature : PK_Ops::Signature(), m_key(key), m_order(key.domain().get_order()), m_mechanism(MechanismWrapper::create_ecdsa_mechanism(emsa)) {} - size_t message_parts() const override - { - return 2; - } - - size_t message_part_size() const override - { - return m_order.bytes(); - } - void update(const byte msg[], size_t msg_len) override { if(!m_initialized) @@ -126,21 +116,6 @@ class PKCS11_ECDSA_Verification_Operation : public PK_Ops::Verification : PK_Ops::Verification(), m_key(key), m_order(key.domain().get_order()), m_mechanism(MechanismWrapper::create_ecdsa_mechanism(emsa)) {} - size_t message_parts() const override - { - return 2; - } - - size_t message_part_size() const override - { - return m_order.bytes(); - } - - size_t max_input_bits() const override - { - return m_order.bits(); - } - void update(const byte msg[], size_t msg_len) override { if(!m_initialized) |