Fix API functions' names 32/164532/1
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Tue, 19 Dec 2017 13:43:14 +0000 (14:43 +0100)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Tue, 19 Dec 2017 13:43:14 +0000 (14:43 +0100)
Change-Id: Ibae1919e0f0c490d762ee05f58f01138347f6a22

lib/ode/keys.cpp

index ba6d24f..3cbf825 100644 (file)
@@ -60,7 +60,7 @@ int ode_key_init(const char* device,
        return toApiError(key.init(device, password, params));
 }
 
-int ode_key_clean(const char* device, const char* password)
+int ode_key_remove(const char* device, const char* password)
 {
        RET_ON_FAILURE(device, ODE_ERROR_INVALID_PARAMETER);
        RET_ON_FAILURE(password, ODE_ERROR_INVALID_PARAMETER);
@@ -71,9 +71,9 @@ int ode_key_clean(const char* device, const char* password)
        return toApiError(key.remove(device, password));
 }
 
-int ode_key_change(const char* device,
-                                  const char* cur_password,
-                                  const char* new_password)
+int ode_key_change_password(const char* device,
+                                                       const char* cur_password,
+                                                       const char* new_password)
 {
        RET_ON_FAILURE(device, ODE_ERROR_INVALID_PARAMETER);
        RET_ON_FAILURE(cur_password, ODE_ERROR_INVALID_PARAMETER);
@@ -85,7 +85,7 @@ int ode_key_change(const char* device,
        return toApiError(key.changePassword(device, cur_password, new_password));
 }
 
-int ode_key_verify(const char* device, const char* password, bool* result)
+int ode_key_verify_password(const char* device, const char* password, bool* result)
 {
        RET_ON_FAILURE(device, ODE_ERROR_INVALID_PARAMETER);
        RET_ON_FAILURE(password, ODE_ERROR_INVALID_PARAMETER);