diff --git a/crypto/src/main/java/com/kunzisoft/encrypt/NativeLib.kt b/crypto/src/main/java/com/kunzisoft/encrypt/NativeLib.kt index fbfdbc638..c471a0655 100644 --- a/crypto/src/main/java/com/kunzisoft/encrypt/NativeLib.kt +++ b/crypto/src/main/java/com/kunzisoft/encrypt/NativeLib.kt @@ -30,7 +30,7 @@ object NativeLib { fun init(): Boolean { if (!isLoaded) { try { - System.loadLibrary("final-key") + System.loadLibrary("aes") System.loadLibrary("argon2") } catch (e: UnsatisfiedLinkError) { return false diff --git a/crypto/src/main/jni/aes/CMakeLists.txt b/crypto/src/main/jni/aes/CMakeLists.txt index 431ca13fd..3ef36ebe0 100644 --- a/crypto/src/main/jni/aes/CMakeLists.txt +++ b/crypto/src/main/jni/aes/CMakeLists.txt @@ -6,7 +6,7 @@ include_directories(aes/) include_directories(sha/) add_library( - final-key SHARED + aes SHARED aes_jni.c aes/aescrypt.c aes/aeskey.c @@ -19,4 +19,4 @@ add_library( find_library(log-lib log) -target_link_libraries(final-key ${log-lib}) +target_link_libraries(aes ${log-lib}) diff --git a/crypto/src/main/jni/argon2/src/CMakeLists.txt b/crypto/src/main/jni/argon2/src/CMakeLists.txt index 431ca13fd..3ef36ebe0 100644 --- a/crypto/src/main/jni/argon2/src/CMakeLists.txt +++ b/crypto/src/main/jni/argon2/src/CMakeLists.txt @@ -6,7 +6,7 @@ include_directories(aes/) include_directories(sha/) add_library( - final-key SHARED + aes SHARED aes_jni.c aes/aescrypt.c aes/aeskey.c @@ -19,4 +19,4 @@ add_library( find_library(log-lib log) -target_link_libraries(final-key ${log-lib}) +target_link_libraries(aes ${log-lib}) diff --git a/crypto/src/main/res/values/strings.xml b/crypto/src/main/res/values/strings.xml deleted file mode 100644 index 0dd698c07..000000000 --- a/crypto/src/main/res/values/strings.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - -