Add measures and tests.
[crypto_lab3.git] / src / RsaCrt.h
index 87f9a11..2341939 100644 (file)
@@ -24,6 +24,9 @@ public:
 
    static std::pair<Rsa::KeyPub, KeyPriv> generateRSAKeys(uint exponent, uint keySizeBits);
 
+   /**
+    * m must not be greater or equal than kPriv.n.
+    */
    static mpz_class sign(const mpz_class& m, const KeyPriv& kPriv);
 };