specify bit size

dev
MITSUNARI Shigeo 8 years ago
parent 635a1d2659
commit 6a6688b3d9
  1. 4
      java/elgamal.hpp

@ -8,8 +8,8 @@
#include <mcl/ecparam.hpp>
#include <mcl/elgamal.hpp>
typedef mcl::FpT<mcl::FpTag> Fp;
typedef mcl::FpT<mcl::ZnTag> Zn;
typedef mcl::FpT<mcl::FpTag, 521> Fp;
typedef mcl::FpT<mcl::ZnTag, 521> Zn;
typedef mcl::EcT<Fp> Ec;
typedef mcl::ElgamalT<Ec, Zn> Elgamal;

Loading…
Cancel
Save