tizen 2.4 release
[framework/security/key-manager.git] / src / manager / service / CryptoService.h
index 6828ddb..3ab24c2 100644 (file)
@@ -23,7 +23,6 @@
 #define EVP_SUCCESS 1  // DO NOTCHANGE THIS VALUE
 #define EVP_FAIL    0  // DO NOTCHANGE THIS VALUE
 
-#define CKM_CRYPTO_INIT_SUCCESS 1
 #define CKM_CRYPTO_CREATEKEY_SUCCESS 2
 #define CKM_VERIFY_CHAIN_SUCCESS 5
 #define NOT_DEFINED -1
@@ -48,7 +47,7 @@ public:
     // And system certificates are loaded in the memory during initialization.
     //    FIPS_MODE - ON, OFF(Default)
     //    antropy source - /dev/random,/dev/urandom(Default)
-    static int initialize();
+    static void initialize();
 
     static int createKeyPairRSA(const int size,      // size in bits [1024, 2048, 4096]
                         KeyImpl &createdPrivateKey,  // returned value ==> Key &createdPrivateKey,