X-Git-Url: http://git.euphorik.ch/?p=crypto_lab3.git;a=blobdiff_plain;f=src%2FRsaCrt.h;h=6e93e6bd25269d646e69bc4eb0b0905a6a09c929;hp=adf6c72f4193478812289a5936a7833309eb2cb4;hb=5b2785dd710151d81e6f6af4fd6ae48521068e41;hpb=22aac262156e81085b22bdfcd0cc38950768be9b diff --git a/src/RsaCrt.h b/src/RsaCrt.h index adf6c72..6e93e6b 100644 --- a/src/RsaCrt.h +++ b/src/RsaCrt.h @@ -35,6 +35,9 @@ public: * @param m the message to sign. No padding is used. */ static mpz_class signWithFaultySp(const mpz_class& m, const KeyPriv& kPriv); + +private: + static mpz_class sign(const mpz_class& m, const KeyPriv& kPriv, bool withError); }; #endif