aboutsummaryrefslogtreecommitdiffstats
path: root/src/pubkey/nr/nr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pubkey/nr/nr.h')
-rw-r--r--src/pubkey/nr/nr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pubkey/nr/nr.h b/src/pubkey/nr/nr.h
index 3fe0efeb5..ba7cee8cc 100644
--- a/src/pubkey/nr/nr.h
+++ b/src/pubkey/nr/nr.h
@@ -67,7 +67,7 @@ class BOTAN_DLL NR_Signature_Operation : public PK_Ops::Signature
u32bit max_input_bits() const { return (q.bits() - 1); }
SecureVector<byte> sign(const byte msg[], u32bit msg_len,
- RandomNumberGenerator& rng);
+ RandomNumberGenerator& rng) const;
private:
const BigInt& q;
const BigInt& x;
@@ -86,7 +86,7 @@ class BOTAN_DLL NR_Verification_Operation : public PK_Ops::Verification
bool with_recovery() const { return true; }
- SecureVector<byte> verify_mr(const byte msg[], u32bit msg_len);
+ SecureVector<byte> verify_mr(const byte msg[], u32bit msg_len) const;
private:
const BigInt& q;
const BigInt& y;