new C++ interface for MIRACL and RELIC