aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pk_pad/iso9796/iso9796.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/pk_pad/iso9796/iso9796.h')
-rw-r--r--src/lib/pk_pad/iso9796/iso9796.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/pk_pad/iso9796/iso9796.h b/src/lib/pk_pad/iso9796/iso9796.h
index fb2a6f699..7e8ad0f68 100644
--- a/src/lib/pk_pad/iso9796/iso9796.h
+++ b/src/lib/pk_pad/iso9796/iso9796.h
@@ -43,6 +43,8 @@ class ISO_9796_DS2 final : public EMSA
std::unique_ptr<EMSA> new_object() override;
std::string name() const override;
+
+ bool requires_message_recovery() const override { return true; }
private:
void update(const uint8_t input[], size_t length) override;
@@ -80,6 +82,9 @@ class ISO_9796_DS3 final : public EMSA
std::unique_ptr<EMSA> new_object() override;
std::string name() const override;
+
+ bool requires_message_recovery() const override { return true; }
+
private:
void update(const uint8_t input[], size_t length) override;