add p160_1 for test

dev
MITSUNARI Shigeo 9 years ago
parent 3f0e1e86f3
commit 80da55f658
  1. 1
      include/mcl/ecparam.hpp
  2. 1
      sample/bench.cpp

@ -139,6 +139,7 @@ const struct mcl::EcParam NIST_P521 = {
static inline const mcl::EcParam* getEcParam(const std::string& name)
{
static const mcl::EcParam *tbl[] = {
&ecparam::p160_1,
&ecparam::secp160k1,
&ecparam::secp192k1,
&ecparam::secp224k1,

@ -103,6 +103,7 @@ void benchEcSub(const mcl::EcParam& para, mcl::fp::Mode mode)
void benchEc(size_t bitSize, int mode)
{
const struct mcl::EcParam tbl[] = {
mcl::ecparam::p160_1,
mcl::ecparam::secp160k1,
mcl::ecparam::secp192k1,
mcl::ecparam::NIST_P192,

Loading…
Cancel
Save