Remove useless data from the CRT private key.
[crypto_lab3.git] / src / RsaCrt.h
index 2341939..373d583 100644 (file)
@@ -11,15 +11,11 @@ class RsaCrt
 {
 public:
    struct KeyPriv {
-      mpz_class n; // Modulus.
-      uint e; // Exponent.
-
       mpz_class p;
       mpz_class q;
       mpz_class dp;
       mpz_class dq;
       mpz_class qInv;
-      mpz_class d;
    };
 
    static std::pair<Rsa::KeyPub, KeyPriv> generateRSAKeys(uint exponent, uint keySizeBits);