diff --git a/tools/ndnsec/dsk-gen.hpp b/tools/ndnsec/dsk-gen.hpp
index 207100e..4996383 100644
--- a/tools/ndnsec/dsk-gen.hpp
+++ b/tools/ndnsec/dsk-gen.hpp
@@ -44,7 +44,7 @@
     ("identity,i", po::value<std::string>(&identityName),
      "identity name, for example, /ndn/ucla.edu/alice")
     ("type,t", po::value<char>(&keyType)->default_value('r'),
-     "optional, key type, r for RSA key (default), e for ECDSA key.")
+     "optional, key type, r for RSA key (default), e for EC key.")
     // ("size,s", po::value<int>(&keySize)->default_value(2048),
     //  "optional, key size, 2048 (default)")
     ;
@@ -134,10 +134,10 @@
       }
     case 'e':
       {
-        EcdsaKeyParams params;
-        newKeyName = keyChain.generateEcdsaKeyPair(Name(identityName), false, params.getKeySize());
+        EcKeyParams params;
+        newKeyName = keyChain.generateEcKeyPair(Name(identityName), false, params.getKeySize());
         if (0 == newKeyName.size()) {
-          std::cerr << "ERROR: Fail to generate ECDSA key!" << std::endl;
+          std::cerr << "ERROR: Fail to generate EC key!" << std::endl;
           return 1;
         }
         break;
diff --git a/tools/ndnsec/key-gen.hpp b/tools/ndnsec/key-gen.hpp
index 5be5ce7..cd19ded 100644
--- a/tools/ndnsec/key-gen.hpp
+++ b/tools/ndnsec/key-gen.hpp
@@ -49,7 +49,7 @@
      "the default identity of the system")
     ("dsk,d", "generate Data-Signing-Key (DSK) instead of the default Key-Signing-Key (KSK)")
     ("type,t", po::value<char>(&keyType)->default_value('r'),
-    "optional, key type, r for RSA key (default), e for ECDSA key")
+    "optional, key type, r for RSA key (default), e for EC key")
     // ("size,s", po::value<int>(&keySize)->default_value(2048),
     // "optional, key size, 2048 (default)")
     ;
@@ -94,8 +94,7 @@
       keyName = keyChain.generateRsaKeyPair(Name(identityName), isKsk, RsaKeyParams().getKeySize());
       break;
     case 'e':
-      keyName = keyChain.generateEcdsaKeyPair(Name(identityName), isKsk,
-                                              EcdsaKeyParams().getKeySize());
+      keyName = keyChain.generateEcKeyPair(Name(identityName), isKsk, EcKeyParams().getKeySize());
       break;
     default:
       std::cerr << "Unrecongized key type" << "\n";
