pike.git / lib / modules / Crypto.pmod / RSA.pike

version» Context lines:

pike.git/lib/modules/Crypto.pmod/RSA.pike:1: - /* $Id: RSA.pike,v 1.6 2004/02/19 14:28:10 nilsson Exp $ + /* $Id: RSA.pike,v 1.7 2004/02/28 14:57:10 nilsson Exp $    *    * Follow the PKCS#1 standard for padding and encryption.    */      #pike __REAL_VERSION__   #pragma strict_types    - #if constant(Gmp.mpz) + #if constant(Gmp.mpz) && constant(Crypto.Hash)      static Gmp.mpz n; /* modulo */   static Gmp.mpz e; /* public exponent */   static Gmp.mpz d; /* private exponent (if known) */   static int size;      /* Extra info associated with a private key. Not currently used. */      static Gmp.mpz p;   static Gmp.mpz q;