security: Renaming EcdsaKeyParams to EcKeyParams
Change-Id: If27faf095474f5be3f8f454925b389b97bf4425d
Refs: #3135
diff --git a/src/security/v2/key-chain.cpp b/src/security/v2/key-chain.cpp
index de9281d..850ad58 100644
--- a/src/security/v2/key-chain.cpp
+++ b/src/security/v2/key-chain.cpp
@@ -154,7 +154,7 @@
const KeyParams&
KeyChain::getDefaultKeyParams()
{
- static EcdsaKeyParams keyParams;
+ static EcKeyParams keyParams;
return keyParams;
}
diff --git a/src/security/v2/key-chain.hpp b/src/security/v2/key-chain.hpp
index ca394a5..0e8402e 100644
--- a/src/security/v2/key-chain.hpp
+++ b/src/security/v2/key-chain.hpp
@@ -134,7 +134,7 @@
*
* @param identityName The name of the identity.
* @param params The key parameters if a key needs to be created for the identity (default:
- * ECDSA key with random key id)
+ * EC key with random key id)
* @return The created Identity instance.
*/
Identity
@@ -162,7 +162,7 @@
*
* @param identity reference to a valid Identity object
* @param params The key parameters if a key needs to be created for the identity (default:
- * ECDSA key with random key id)
+ * EC key with random key id)
*
* If @p identity had no default key selected, the created key will be set as the default for
* this identity.