├── .gitignore ├── libs └── commons-codec-1.9-rep.jar ├── src ├── main │ ├── res │ │ └── values │ │ │ └── strings.xml │ ├── AndroidManifest.xml │ └── java │ │ └── com │ │ └── nic │ │ └── nativeaes │ │ └── wrapper │ │ └── SecurityManager.java ├── test │ └── java │ │ └── com │ │ └── nic │ │ └── nativeaes │ │ └── ExampleUnitTest.java └── androidTest │ └── java │ └── com │ └── nic │ └── nativeaes │ └── ExampleInstrumentedTest.java ├── .externalNativeBuild └── cmake │ ├── debug │ ├── mips │ │ ├── .ninja_deps │ │ ├── CMakeFiles │ │ │ ├── cmake.check_cache │ │ │ ├── feature_tests.bin │ │ │ ├── 3.6.0-rc2 │ │ │ │ ├── CMakeDetermineCompilerABI_C.bin │ │ │ │ ├── CMakeDetermineCompilerABI_CXX.bin │ │ │ │ ├── CMakeSystem.cmake │ │ │ │ └── CMakeCCompiler.cmake │ │ │ ├── TargetDirectories.txt │ │ │ └── feature_tests.c │ │ ├── .ninja_log │ │ ├── cmake_build_command.txt │ │ ├── cmake_build_output.txt │ │ ├── cmake_install.cmake │ │ ├── android_gradle_build.json │ │ └── rules.ninja │ ├── x86 │ │ ├── .ninja_deps │ │ ├── CMakeFiles │ │ │ ├── cmake.check_cache │ │ │ ├── feature_tests.bin │ │ │ ├── 3.6.0-rc2 │ │ │ │ ├── CMakeDetermineCompilerABI_C.bin │ │ │ │ ├── CMakeDetermineCompilerABI_CXX.bin │ │ │ │ ├── CMakeSystem.cmake │ │ │ │ └── CMakeCCompiler.cmake │ │ │ ├── TargetDirectories.txt │ │ │ └── feature_tests.c │ │ ├── .ninja_log │ │ ├── cmake_build_command.txt │ │ ├── cmake_build_output.txt │ │ ├── cmake_install.cmake │ │ ├── android_gradle_build.json │ │ └── rules.ninja │ ├── armeabi │ │ ├── CMakeFiles │ │ │ ├── cmake.check_cache │ │ │ ├── feature_tests.bin │ │ │ ├── 3.6.0-rc2 │ │ │ │ ├── CMakeDetermineCompilerABI_C.bin │ │ │ │ ├── CMakeDetermineCompilerABI_CXX.bin │ │ │ │ ├── CMakeSystem.cmake │ │ │ │ └── CMakeCCompiler.cmake │ │ │ ├── TargetDirectories.txt │ │ │ └── feature_tests.c │ │ ├── .ninja_deps │ │ ├── .ninja_log │ │ ├── cmake_build_command.txt │ │ ├── cmake_build_output.txt │ │ ├── cmake_install.cmake │ │ ├── rules.ninja │ │ └── android_gradle_build.json │ ├── mips64 │ │ ├── .ninja_deps │ │ ├── CMakeFiles │ │ │ ├── cmake.check_cache │ │ │ ├── feature_tests.bin │ │ │ ├── 3.6.0-rc2 │ │ │ │ ├── CMakeDetermineCompilerABI_C.bin │ │ │ │ ├── CMakeDetermineCompilerABI_CXX.bin │ │ │ │ └── CMakeSystem.cmake │ │ │ ├── TargetDirectories.txt │ │ │ └── feature_tests.c │ │ ├── .ninja_log │ │ ├── cmake_build_command.txt │ │ ├── cmake_build_output.txt │ │ ├── cmake_install.cmake │ │ ├── android_gradle_build.json │ │ └── rules.ninja │ ├── x86_64 │ │ ├── .ninja_deps │ │ ├── CMakeFiles │ │ │ ├── cmake.check_cache │ │ │ ├── feature_tests.bin │ │ │ ├── 3.6.0-rc2 │ │ │ │ ├── CMakeDetermineCompilerABI_C.bin │ │ │ │ ├── CMakeDetermineCompilerABI_CXX.bin │ │ │ │ └── CMakeSystem.cmake │ │ │ ├── TargetDirectories.txt │ │ │ └── feature_tests.c │ │ ├── .ninja_log │ │ ├── cmake_build_command.txt │ │ ├── cmake_build_output.txt │ │ ├── cmake_install.cmake │ │ ├── android_gradle_build.json │ │ └── rules.ninja │ ├── arm64-v8a │ │ ├── .ninja_deps │ │ ├── CMakeFiles │ │ │ ├── cmake.check_cache │ │ │ ├── feature_tests.bin │ │ │ ├── 3.6.0-rc2 │ │ │ │ ├── CMakeDetermineCompilerABI_C.bin │ │ │ │ ├── CMakeDetermineCompilerABI_CXX.bin │ │ │ │ └── CMakeSystem.cmake │ │ │ ├── TargetDirectories.txt │ │ │ └── feature_tests.c │ │ ├── .ninja_log │ │ ├── cmake_build_command.txt │ │ ├── cmake_build_output.txt │ │ ├── cmake_install.cmake │ │ ├── android_gradle_build.json │ │ └── rules.ninja │ └── armeabi-v7a │ │ ├── CMakeFiles │ │ ├── cmake.check_cache │ │ ├── feature_tests.bin │ │ ├── 3.6.0-rc2 │ │ │ ├── CMakeDetermineCompilerABI_C.bin │ │ │ ├── CMakeDetermineCompilerABI_CXX.bin │ │ │ ├── CMakeSystem.cmake │ │ │ └── CMakeCCompiler.cmake │ │ ├── TargetDirectories.txt │ │ └── feature_tests.c │ │ ├── .ninja_deps │ │ ├── .ninja_log │ │ ├── cmake_build_command.txt │ │ ├── cmake_build_output.txt │ │ ├── cmake_install.cmake │ │ └── rules.ninja │ └── release │ ├── mips │ ├── .ninja_deps │ ├── CMakeFiles │ │ ├── cmake.check_cache │ │ ├── feature_tests.bin │ │ ├── native-aes.dir │ │ │ └── src │ │ │ │ └── main │ │ │ │ └── cpp │ │ │ │ ├── aes │ │ │ │ └── aes.c.o │ │ │ │ └── encrypt.c.o │ │ ├── 3.6.0-rc2 │ │ │ ├── CMakeDetermineCompilerABI_C.bin │ │ │ ├── CMakeDetermineCompilerABI_CXX.bin │ │ │ ├── CMakeSystem.cmake │ │ │ └── CMakeCCompiler.cmake │ │ ├── TargetDirectories.txt │ │ └── feature_tests.c │ ├── cmake_build_command.txt │ ├── cmake_build_output.txt │ ├── cmake_install.cmake │ ├── android_gradle_build.json │ └── rules.ninja │ ├── x86 │ ├── .ninja_deps │ ├── CMakeFiles │ │ ├── cmake.check_cache │ │ ├── feature_tests.bin │ │ ├── native-aes.dir │ │ │ └── src │ │ │ │ └── main │ │ │ │ └── cpp │ │ │ │ ├── aes │ │ │ │ └── aes.c.o │ │ │ │ └── encrypt.c.o │ │ ├── 3.6.0-rc2 │ │ │ ├── CMakeDetermineCompilerABI_C.bin │ │ │ ├── CMakeDetermineCompilerABI_CXX.bin │ │ │ ├── CMakeSystem.cmake │ │ │ └── CMakeCCompiler.cmake │ │ ├── TargetDirectories.txt │ │ └── feature_tests.c │ ├── cmake_build_command.txt │ ├── cmake_build_output.txt │ ├── cmake_install.cmake │ ├── android_gradle_build.json │ └── rules.ninja │ ├── arm64-v8a │ ├── CMakeFiles │ │ ├── cmake.check_cache │ │ ├── feature_tests.bin │ │ ├── native-aes.dir │ │ │ └── src │ │ │ │ └── main │ │ │ │ └── cpp │ │ │ │ ├── aes │ │ │ │ └── aes.c.o │ │ │ │ └── encrypt.c.o │ │ ├── 3.6.0-rc2 │ │ │ ├── CMakeDetermineCompilerABI_C.bin │ │ │ ├── CMakeDetermineCompilerABI_CXX.bin │ │ │ └── CMakeSystem.cmake │ │ ├── TargetDirectories.txt │ │ └── feature_tests.c │ ├── .ninja_deps │ ├── cmake_build_command.txt │ ├── cmake_build_output.txt │ ├── cmake_install.cmake │ ├── android_gradle_build.json │ └── rules.ninja │ ├── armeabi │ ├── .ninja_deps │ ├── CMakeFiles │ │ ├── cmake.check_cache │ │ ├── feature_tests.bin │ │ ├── native-aes.dir │ │ │ └── src │ │ │ │ └── main │ │ │ │ └── cpp │ │ │ │ ├── aes │ │ │ │ └── aes.c.o │ │ │ │ └── encrypt.c.o │ │ ├── 3.6.0-rc2 │ │ │ ├── CMakeDetermineCompilerABI_C.bin │ │ │ ├── CMakeDetermineCompilerABI_CXX.bin │ │ │ ├── CMakeSystem.cmake │ │ │ └── CMakeCCompiler.cmake │ │ ├── TargetDirectories.txt │ │ └── feature_tests.c │ ├── cmake_build_command.txt │ ├── cmake_build_output.txt │ ├── cmake_install.cmake │ ├── rules.ninja │ └── android_gradle_build.json │ ├── mips64 │ ├── .ninja_deps │ ├── CMakeFiles │ │ ├── cmake.check_cache │ │ ├── feature_tests.bin │ │ ├── 3.6.0-rc2 │ │ │ ├── CMakeDetermineCompilerABI_C.bin │ │ │ ├── CMakeDetermineCompilerABI_CXX.bin │ │ │ └── CMakeSystem.cmake │ │ ├── native-aes.dir │ │ │ └── src │ │ │ │ └── main │ │ │ │ └── cpp │ │ │ │ ├── aes │ │ │ │ └── aes.c.o │ │ │ │ └── encrypt.c.o │ │ ├── TargetDirectories.txt │ │ └── feature_tests.c │ ├── cmake_build_command.txt │ ├── cmake_build_output.txt │ ├── cmake_install.cmake │ ├── android_gradle_build.json │ └── rules.ninja │ ├── x86_64 │ ├── .ninja_deps │ ├── CMakeFiles │ │ ├── cmake.check_cache │ │ ├── feature_tests.bin │ │ ├── 3.6.0-rc2 │ │ │ ├── CMakeDetermineCompilerABI_C.bin │ │ │ ├── CMakeDetermineCompilerABI_CXX.bin │ │ │ └── CMakeSystem.cmake │ │ ├── native-aes.dir │ │ │ └── src │ │ │ │ └── main │ │ │ │ └── cpp │ │ │ │ ├── aes │ │ │ │ └── aes.c.o │ │ │ │ └── encrypt.c.o │ │ ├── TargetDirectories.txt │ │ └── feature_tests.c │ ├── cmake_build_command.txt │ ├── cmake_build_output.txt │ ├── cmake_install.cmake │ ├── android_gradle_build.json │ └── rules.ninja │ └── armeabi-v7a │ ├── CMakeFiles │ ├── cmake.check_cache │ ├── feature_tests.bin │ ├── 3.6.0-rc2 │ │ ├── CMakeDetermineCompilerABI_C.bin │ │ ├── CMakeDetermineCompilerABI_CXX.bin │ │ ├── CMakeSystem.cmake │ │ └── CMakeCCompiler.cmake │ ├── native-aes.dir │ │ └── src │ │ │ └── main │ │ │ └── cpp │ │ │ ├── aes │ │ │ └── aes.c.o │ │ │ └── encrypt.c.o │ ├── TargetDirectories.txt │ └── feature_tests.c │ ├── .ninja_deps │ ├── cmake_build_command.txt │ ├── cmake_build_output.txt │ ├── cmake_install.cmake │ ├── rules.ninja │ └── android_gradle_build.json ├── proguard-rules.pro └── CMakeLists.txt /.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /libs/commons-codec-1.9-rep.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/libs/commons-codec-1.9-rep.jar -------------------------------------------------------------------------------- /src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | NativeAES 3 | 4 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/mips/.ninja_deps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/debug/mips/.ninja_deps -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/x86/.ninja_deps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/debug/x86/.ninja_deps -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/armeabi/CMakeFiles/cmake.check_cache: -------------------------------------------------------------------------------- 1 | # This file is generated by cmake for dependency checking of the CMakeCache.txt file 2 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/mips/CMakeFiles/cmake.check_cache: -------------------------------------------------------------------------------- 1 | # This file is generated by cmake for dependency checking of the CMakeCache.txt file 2 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/mips64/.ninja_deps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/debug/mips64/.ninja_deps -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/mips64/CMakeFiles/cmake.check_cache: -------------------------------------------------------------------------------- 1 | # This file is generated by cmake for dependency checking of the CMakeCache.txt file 2 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/x86/CMakeFiles/cmake.check_cache: -------------------------------------------------------------------------------- 1 | # This file is generated by cmake for dependency checking of the CMakeCache.txt file 2 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/x86_64/.ninja_deps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/debug/x86_64/.ninja_deps -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/x86_64/CMakeFiles/cmake.check_cache: -------------------------------------------------------------------------------- 1 | # This file is generated by cmake for dependency checking of the CMakeCache.txt file 2 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/mips/.ninja_deps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/release/mips/.ninja_deps -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/mips/CMakeFiles/cmake.check_cache: -------------------------------------------------------------------------------- 1 | # This file is generated by cmake for dependency checking of the CMakeCache.txt file 2 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/x86/.ninja_deps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/release/x86/.ninja_deps -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/x86/CMakeFiles/cmake.check_cache: -------------------------------------------------------------------------------- 1 | # This file is generated by cmake for dependency checking of the CMakeCache.txt file 2 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/arm64-v8a/.ninja_deps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/debug/arm64-v8a/.ninja_deps -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/arm64-v8a/CMakeFiles/cmake.check_cache: -------------------------------------------------------------------------------- 1 | # This file is generated by cmake for dependency checking of the CMakeCache.txt file 2 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/armeabi-v7a/CMakeFiles/cmake.check_cache: -------------------------------------------------------------------------------- 1 | # This file is generated by cmake for dependency checking of the CMakeCache.txt file 2 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/armeabi/.ninja_deps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/debug/armeabi/.ninja_deps -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/arm64-v8a/CMakeFiles/cmake.check_cache: -------------------------------------------------------------------------------- 1 | # This file is generated by cmake for dependency checking of the CMakeCache.txt file 2 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/armeabi/.ninja_deps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/release/armeabi/.ninja_deps -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/armeabi/CMakeFiles/cmake.check_cache: -------------------------------------------------------------------------------- 1 | # This file is generated by cmake for dependency checking of the CMakeCache.txt file 2 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/mips64/.ninja_deps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/release/mips64/.ninja_deps -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/mips64/CMakeFiles/cmake.check_cache: -------------------------------------------------------------------------------- 1 | # This file is generated by cmake for dependency checking of the CMakeCache.txt file 2 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/x86_64/.ninja_deps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/release/x86_64/.ninja_deps -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/x86_64/CMakeFiles/cmake.check_cache: -------------------------------------------------------------------------------- 1 | # This file is generated by cmake for dependency checking of the CMakeCache.txt file 2 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/armeabi-v7a/.ninja_deps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/debug/armeabi-v7a/.ninja_deps -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/arm64-v8a/.ninja_deps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/release/arm64-v8a/.ninja_deps -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/armeabi-v7a/CMakeFiles/cmake.check_cache: -------------------------------------------------------------------------------- 1 | # This file is generated by cmake for dependency checking of the CMakeCache.txt file 2 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/armeabi-v7a/.ninja_deps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/release/armeabi-v7a/.ninja_deps -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/mips/CMakeFiles/feature_tests.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/debug/mips/CMakeFiles/feature_tests.bin -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/x86/CMakeFiles/feature_tests.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/debug/x86/CMakeFiles/feature_tests.bin -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/armeabi/CMakeFiles/feature_tests.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/debug/armeabi/CMakeFiles/feature_tests.bin -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/mips64/CMakeFiles/feature_tests.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/debug/mips64/CMakeFiles/feature_tests.bin -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/x86_64/CMakeFiles/feature_tests.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/debug/x86_64/CMakeFiles/feature_tests.bin -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/mips/CMakeFiles/feature_tests.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/release/mips/CMakeFiles/feature_tests.bin -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/x86/CMakeFiles/feature_tests.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/release/x86/CMakeFiles/feature_tests.bin -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/arm64-v8a/CMakeFiles/feature_tests.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/debug/arm64-v8a/CMakeFiles/feature_tests.bin -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/armeabi/CMakeFiles/feature_tests.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/release/armeabi/CMakeFiles/feature_tests.bin -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/mips64/CMakeFiles/feature_tests.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/release/mips64/CMakeFiles/feature_tests.bin -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/x86_64/CMakeFiles/feature_tests.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/release/x86_64/CMakeFiles/feature_tests.bin -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/armeabi-v7a/CMakeFiles/feature_tests.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/debug/armeabi-v7a/CMakeFiles/feature_tests.bin -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/arm64-v8a/CMakeFiles/feature_tests.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/release/arm64-v8a/CMakeFiles/feature_tests.bin -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/armeabi-v7a/CMakeFiles/feature_tests.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/release/armeabi-v7a/CMakeFiles/feature_tests.bin -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/x86/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_C.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/debug/x86/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_C.bin -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/x86/CMakeFiles/native-aes.dir/src/main/cpp/aes/aes.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/release/x86/CMakeFiles/native-aes.dir/src/main/cpp/aes/aes.c.o -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/x86/CMakeFiles/native-aes.dir/src/main/cpp/encrypt.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/release/x86/CMakeFiles/native-aes.dir/src/main/cpp/encrypt.c.o -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/mips/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_C.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/debug/mips/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_C.bin -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/x86/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_CXX.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/debug/x86/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_CXX.bin -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/mips/CMakeFiles/native-aes.dir/src/main/cpp/aes/aes.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/release/mips/CMakeFiles/native-aes.dir/src/main/cpp/aes/aes.c.o -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/mips/CMakeFiles/native-aes.dir/src/main/cpp/encrypt.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/release/mips/CMakeFiles/native-aes.dir/src/main/cpp/encrypt.c.o -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/x86/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_C.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/release/x86/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_C.bin -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/armeabi/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_C.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/debug/armeabi/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_C.bin -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/mips/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_CXX.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/debug/mips/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_CXX.bin -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/mips64/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_C.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/debug/mips64/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_C.bin -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/mips64/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_CXX.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/debug/mips64/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_CXX.bin -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/x86_64/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_C.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/debug/x86_64/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_C.bin -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/x86_64/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_CXX.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/debug/x86_64/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_CXX.bin -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/armeabi/CMakeFiles/native-aes.dir/src/main/cpp/aes/aes.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/release/armeabi/CMakeFiles/native-aes.dir/src/main/cpp/aes/aes.c.o -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/armeabi/CMakeFiles/native-aes.dir/src/main/cpp/encrypt.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/release/armeabi/CMakeFiles/native-aes.dir/src/main/cpp/encrypt.c.o -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/mips/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_C.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/release/mips/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_C.bin -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/mips/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_CXX.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/release/mips/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_CXX.bin -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/mips64/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_C.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/release/mips64/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_C.bin -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/mips64/CMakeFiles/native-aes.dir/src/main/cpp/aes/aes.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/release/mips64/CMakeFiles/native-aes.dir/src/main/cpp/aes/aes.c.o -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/mips64/CMakeFiles/native-aes.dir/src/main/cpp/encrypt.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/release/mips64/CMakeFiles/native-aes.dir/src/main/cpp/encrypt.c.o -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/x86/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_CXX.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/release/x86/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_CXX.bin -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/x86_64/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_C.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/release/x86_64/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_C.bin -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/x86_64/CMakeFiles/native-aes.dir/src/main/cpp/aes/aes.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/release/x86_64/CMakeFiles/native-aes.dir/src/main/cpp/aes/aes.c.o -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/x86_64/CMakeFiles/native-aes.dir/src/main/cpp/encrypt.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/release/x86_64/CMakeFiles/native-aes.dir/src/main/cpp/encrypt.c.o -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/arm64-v8a/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_C.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/debug/arm64-v8a/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_C.bin -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/armeabi/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_CXX.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/debug/armeabi/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_CXX.bin -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/arm64-v8a/CMakeFiles/native-aes.dir/src/main/cpp/aes/aes.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/release/arm64-v8a/CMakeFiles/native-aes.dir/src/main/cpp/aes/aes.c.o -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/arm64-v8a/CMakeFiles/native-aes.dir/src/main/cpp/encrypt.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/release/arm64-v8a/CMakeFiles/native-aes.dir/src/main/cpp/encrypt.c.o -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/armeabi/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_C.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/release/armeabi/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_C.bin -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/mips64/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_CXX.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/release/mips64/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_CXX.bin -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/x86_64/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_CXX.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/release/x86_64/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_CXX.bin -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/arm64-v8a/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_CXX.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/debug/arm64-v8a/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_CXX.bin -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/armeabi-v7a/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_C.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/debug/armeabi-v7a/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_C.bin -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/armeabi-v7a/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_CXX.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/debug/armeabi-v7a/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_CXX.bin -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/arm64-v8a/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_C.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/release/arm64-v8a/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_C.bin -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/arm64-v8a/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_CXX.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/release/arm64-v8a/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_CXX.bin -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/armeabi-v7a/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_C.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/release/armeabi-v7a/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_C.bin -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/armeabi-v7a/CMakeFiles/native-aes.dir/src/main/cpp/aes/aes.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/release/armeabi-v7a/CMakeFiles/native-aes.dir/src/main/cpp/aes/aes.c.o -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/armeabi-v7a/CMakeFiles/native-aes.dir/src/main/cpp/encrypt.c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/release/armeabi-v7a/CMakeFiles/native-aes.dir/src/main/cpp/encrypt.c.o -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/armeabi/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_CXX.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/release/armeabi/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_CXX.bin -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/armeabi-v7a/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_CXX.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DnXLogic/native-aes/HEAD/.externalNativeBuild/cmake/release/armeabi-v7a/CMakeFiles/3.6.0-rc2/CMakeDetermineCompilerABI_CXX.bin -------------------------------------------------------------------------------- /src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/mips/.ninja_log: -------------------------------------------------------------------------------- 1 | # ninja log v5 2 | 9 115 0 CMakeFiles/native-aes.dir/src/main/cpp/aes/aes.c.o aa4474bba189547b 3 | 4 131 0 CMakeFiles/native-aes.dir/src/main/cpp/encrypt.c.o 5658fc88fafdc778 4 | 146 221 0 ../../../../build/intermediates/cmake/debug/obj/mips/libnative-aes.so 6d7961a0e60b918e 5 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/x86/.ninja_log: -------------------------------------------------------------------------------- 1 | # ninja log v5 2 | 6 165 0 CMakeFiles/native-aes.dir/src/main/cpp/aes/aes.c.o 73d5f9c9a4e13ab7 3 | 1 169 0 CMakeFiles/native-aes.dir/src/main/cpp/encrypt.c.o dd6fa0ce1e33c52c 4 | 189 327 0 ../../../../build/intermediates/cmake/debug/obj/x86/libnative-aes.so 9910ed9db383ddd6 5 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/mips64/.ninja_log: -------------------------------------------------------------------------------- 1 | # ninja log v5 2 | 2 374 0 CMakeFiles/native-aes.dir/src/main/cpp/encrypt.c.o 9c65e9f41c41c37a 3 | 8 431 0 CMakeFiles/native-aes.dir/src/main/cpp/aes/aes.c.o b929bffdf59a2fe6 4 | 431 577 0 ../../../../build/intermediates/cmake/debug/obj/mips64/libnative-aes.so 707d18bc78b1a102 5 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/x86_64/.ninja_log: -------------------------------------------------------------------------------- 1 | # ninja log v5 2 | 1 130 0 CMakeFiles/native-aes.dir/src/main/cpp/encrypt.c.o 7c10eb24754fef80 3 | 6 169 0 CMakeFiles/native-aes.dir/src/main/cpp/aes/aes.c.o 7d1ff7b8bf6fa3a4 4 | 169 340 0 ../../../../build/intermediates/cmake/debug/obj/x86_64/libnative-aes.so b9f12c703c448007 5 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/arm64-v8a/.ninja_log: -------------------------------------------------------------------------------- 1 | # ninja log v5 2 | 1 131 0 CMakeFiles/native-aes.dir/src/main/cpp/encrypt.c.o fee2a323cff5af50 3 | 7 147 0 CMakeFiles/native-aes.dir/src/main/cpp/aes/aes.c.o 359394c1c4593d0a 4 | 147 267 0 ../../../../build/intermediates/cmake/debug/obj/arm64-v8a/libnative-aes.so f596df035291b1f 5 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/armeabi/.ninja_log: -------------------------------------------------------------------------------- 1 | # ninja log v5 2 | 1 170 0 CMakeFiles/native-aes.dir/src/main/cpp/encrypt.c.o 4441cd1be2f5a369 3 | 5 195 0 CMakeFiles/native-aes.dir/src/main/cpp/aes/aes.c.o ae818562d484ff62 4 | 195 293 0 ../../../../build/intermediates/cmake/debug/obj/armeabi/libnative-aes.so 2820bdc2ce0808d2 5 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/armeabi-v7a/.ninja_log: -------------------------------------------------------------------------------- 1 | # ninja log v5 2 | 5 196 0 CMakeFiles/native-aes.dir/src/main/cpp/encrypt.c.o 41127ba32a1e9bc0 3 | 1 225 0 CMakeFiles/native-aes.dir/src/main/cpp/aes/aes.c.o fefca6168fdebd8c 4 | 225 416 0 ../../../../build/intermediates/cmake/debug/obj/armeabi-v7a/libnative-aes.so bdb8dcc820df7f97 5 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/mips/CMakeFiles/TargetDirectories.txt: -------------------------------------------------------------------------------- 1 | D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/mips/CMakeFiles/edit_cache.dir 2 | D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/mips/CMakeFiles/native-aes.dir 3 | D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/mips/CMakeFiles/rebuild_cache.dir 4 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/x86/CMakeFiles/TargetDirectories.txt: -------------------------------------------------------------------------------- 1 | D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/x86/CMakeFiles/edit_cache.dir 2 | D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/x86/CMakeFiles/native-aes.dir 3 | D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/x86/CMakeFiles/rebuild_cache.dir 4 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/x86/CMakeFiles/TargetDirectories.txt: -------------------------------------------------------------------------------- 1 | D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/x86/CMakeFiles/edit_cache.dir 2 | D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/x86/CMakeFiles/native-aes.dir 3 | D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/x86/CMakeFiles/rebuild_cache.dir 4 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/mips64/CMakeFiles/TargetDirectories.txt: -------------------------------------------------------------------------------- 1 | D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/mips64/CMakeFiles/edit_cache.dir 2 | D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/mips64/CMakeFiles/native-aes.dir 3 | D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/mips64/CMakeFiles/rebuild_cache.dir 4 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/x86_64/CMakeFiles/TargetDirectories.txt: -------------------------------------------------------------------------------- 1 | D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/x86_64/CMakeFiles/edit_cache.dir 2 | D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/x86_64/CMakeFiles/native-aes.dir 3 | D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/x86_64/CMakeFiles/rebuild_cache.dir 4 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/mips/CMakeFiles/TargetDirectories.txt: -------------------------------------------------------------------------------- 1 | D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/mips/CMakeFiles/edit_cache.dir 2 | D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/mips/CMakeFiles/native-aes.dir 3 | D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/mips/CMakeFiles/rebuild_cache.dir 4 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/armeabi/CMakeFiles/TargetDirectories.txt: -------------------------------------------------------------------------------- 1 | D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/armeabi/CMakeFiles/edit_cache.dir 2 | D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/armeabi/CMakeFiles/native-aes.dir 3 | D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/armeabi/CMakeFiles/rebuild_cache.dir 4 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/arm64-v8a/CMakeFiles/TargetDirectories.txt: -------------------------------------------------------------------------------- 1 | D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/arm64-v8a/CMakeFiles/edit_cache.dir 2 | D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/arm64-v8a/CMakeFiles/native-aes.dir 3 | D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/arm64-v8a/CMakeFiles/rebuild_cache.dir 4 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/armeabi/CMakeFiles/TargetDirectories.txt: -------------------------------------------------------------------------------- 1 | D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/armeabi/CMakeFiles/edit_cache.dir 2 | D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/armeabi/CMakeFiles/native-aes.dir 3 | D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/armeabi/CMakeFiles/rebuild_cache.dir 4 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/mips64/CMakeFiles/TargetDirectories.txt: -------------------------------------------------------------------------------- 1 | D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/mips64/CMakeFiles/edit_cache.dir 2 | D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/mips64/CMakeFiles/native-aes.dir 3 | D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/mips64/CMakeFiles/rebuild_cache.dir 4 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/x86_64/CMakeFiles/TargetDirectories.txt: -------------------------------------------------------------------------------- 1 | D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/x86_64/CMakeFiles/edit_cache.dir 2 | D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/x86_64/CMakeFiles/native-aes.dir 3 | D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/x86_64/CMakeFiles/rebuild_cache.dir 4 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/armeabi-v7a/CMakeFiles/TargetDirectories.txt: -------------------------------------------------------------------------------- 1 | D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/armeabi-v7a/CMakeFiles/edit_cache.dir 2 | D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/armeabi-v7a/CMakeFiles/native-aes.dir 3 | D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/armeabi-v7a/CMakeFiles/rebuild_cache.dir 4 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/arm64-v8a/CMakeFiles/TargetDirectories.txt: -------------------------------------------------------------------------------- 1 | D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/arm64-v8a/CMakeFiles/edit_cache.dir 2 | D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/arm64-v8a/CMakeFiles/native-aes.dir 3 | D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/arm64-v8a/CMakeFiles/rebuild_cache.dir 4 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/armeabi-v7a/CMakeFiles/TargetDirectories.txt: -------------------------------------------------------------------------------- 1 | D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/armeabi-v7a/CMakeFiles/edit_cache.dir 2 | D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/armeabi-v7a/CMakeFiles/native-aes.dir 3 | D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/armeabi-v7a/CMakeFiles/rebuild_cache.dir 4 | -------------------------------------------------------------------------------- /src/test/java/com/nic/nativeaes/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.nic.nativeaes; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() throws Exception { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/mips/CMakeFiles/3.6.0-rc2/CMakeSystem.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_HOST_SYSTEM "Windows-10.0.10586") 2 | set(CMAKE_HOST_SYSTEM_NAME "Windows") 3 | set(CMAKE_HOST_SYSTEM_VERSION "10.0.10586") 4 | set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64") 5 | 6 | include("D:/android-ndk-r15c/build/cmake/android.toolchain.cmake") 7 | 8 | set(CMAKE_SYSTEM "Android-14") 9 | set(CMAKE_SYSTEM_NAME "Android") 10 | set(CMAKE_SYSTEM_VERSION "14") 11 | set(CMAKE_SYSTEM_PROCESSOR "mips") 12 | 13 | set(CMAKE_CROSSCOMPILING "TRUE") 14 | 15 | set(CMAKE_SYSTEM_LOADED 1) 16 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/x86/CMakeFiles/3.6.0-rc2/CMakeSystem.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_HOST_SYSTEM "Windows-10.0.10586") 2 | set(CMAKE_HOST_SYSTEM_NAME "Windows") 3 | set(CMAKE_HOST_SYSTEM_VERSION "10.0.10586") 4 | set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64") 5 | 6 | include("D:/android-ndk-r15c/build/cmake/android.toolchain.cmake") 7 | 8 | set(CMAKE_SYSTEM "Android-14") 9 | set(CMAKE_SYSTEM_NAME "Android") 10 | set(CMAKE_SYSTEM_VERSION "14") 11 | set(CMAKE_SYSTEM_PROCESSOR "i686") 12 | 13 | set(CMAKE_CROSSCOMPILING "TRUE") 14 | 15 | set(CMAKE_SYSTEM_LOADED 1) 16 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/mips/CMakeFiles/3.6.0-rc2/CMakeSystem.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_HOST_SYSTEM "Windows-10.0.10586") 2 | set(CMAKE_HOST_SYSTEM_NAME "Windows") 3 | set(CMAKE_HOST_SYSTEM_VERSION "10.0.10586") 4 | set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64") 5 | 6 | include("D:/android-ndk-r15c/build/cmake/android.toolchain.cmake") 7 | 8 | set(CMAKE_SYSTEM "Android-14") 9 | set(CMAKE_SYSTEM_NAME "Android") 10 | set(CMAKE_SYSTEM_VERSION "14") 11 | set(CMAKE_SYSTEM_PROCESSOR "mips") 12 | 13 | set(CMAKE_CROSSCOMPILING "TRUE") 14 | 15 | set(CMAKE_SYSTEM_LOADED 1) 16 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/x86/CMakeFiles/3.6.0-rc2/CMakeSystem.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_HOST_SYSTEM "Windows-10.0.10586") 2 | set(CMAKE_HOST_SYSTEM_NAME "Windows") 3 | set(CMAKE_HOST_SYSTEM_VERSION "10.0.10586") 4 | set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64") 5 | 6 | include("D:/android-ndk-r15c/build/cmake/android.toolchain.cmake") 7 | 8 | set(CMAKE_SYSTEM "Android-14") 9 | set(CMAKE_SYSTEM_NAME "Android") 10 | set(CMAKE_SYSTEM_VERSION "14") 11 | set(CMAKE_SYSTEM_PROCESSOR "i686") 12 | 13 | set(CMAKE_CROSSCOMPILING "TRUE") 14 | 15 | set(CMAKE_SYSTEM_LOADED 1) 16 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/arm64-v8a/CMakeFiles/3.6.0-rc2/CMakeSystem.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_HOST_SYSTEM "Windows-10.0.10586") 2 | set(CMAKE_HOST_SYSTEM_NAME "Windows") 3 | set(CMAKE_HOST_SYSTEM_VERSION "10.0.10586") 4 | set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64") 5 | 6 | include("D:/android-ndk-r15c/build/cmake/android.toolchain.cmake") 7 | 8 | set(CMAKE_SYSTEM "Android-21") 9 | set(CMAKE_SYSTEM_NAME "Android") 10 | set(CMAKE_SYSTEM_VERSION "21") 11 | set(CMAKE_SYSTEM_PROCESSOR "aarch64") 12 | 13 | set(CMAKE_CROSSCOMPILING "TRUE") 14 | 15 | set(CMAKE_SYSTEM_LOADED 1) 16 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/armeabi/CMakeFiles/3.6.0-rc2/CMakeSystem.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_HOST_SYSTEM "Windows-10.0.10586") 2 | set(CMAKE_HOST_SYSTEM_NAME "Windows") 3 | set(CMAKE_HOST_SYSTEM_VERSION "10.0.10586") 4 | set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64") 5 | 6 | include("D:/android-ndk-r15c/build/cmake/android.toolchain.cmake") 7 | 8 | set(CMAKE_SYSTEM "Android-14") 9 | set(CMAKE_SYSTEM_NAME "Android") 10 | set(CMAKE_SYSTEM_VERSION "14") 11 | set(CMAKE_SYSTEM_PROCESSOR "armv5te") 12 | 13 | set(CMAKE_CROSSCOMPILING "TRUE") 14 | 15 | set(CMAKE_SYSTEM_LOADED 1) 16 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/mips64/CMakeFiles/3.6.0-rc2/CMakeSystem.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_HOST_SYSTEM "Windows-10.0.10586") 2 | set(CMAKE_HOST_SYSTEM_NAME "Windows") 3 | set(CMAKE_HOST_SYSTEM_VERSION "10.0.10586") 4 | set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64") 5 | 6 | include("D:/android-ndk-r15c/build/cmake/android.toolchain.cmake") 7 | 8 | set(CMAKE_SYSTEM "Android-21") 9 | set(CMAKE_SYSTEM_NAME "Android") 10 | set(CMAKE_SYSTEM_VERSION "21") 11 | set(CMAKE_SYSTEM_PROCESSOR "mips64") 12 | 13 | set(CMAKE_CROSSCOMPILING "TRUE") 14 | 15 | set(CMAKE_SYSTEM_LOADED 1) 16 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/x86_64/CMakeFiles/3.6.0-rc2/CMakeSystem.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_HOST_SYSTEM "Windows-10.0.10586") 2 | set(CMAKE_HOST_SYSTEM_NAME "Windows") 3 | set(CMAKE_HOST_SYSTEM_VERSION "10.0.10586") 4 | set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64") 5 | 6 | include("D:/android-ndk-r15c/build/cmake/android.toolchain.cmake") 7 | 8 | set(CMAKE_SYSTEM "Android-21") 9 | set(CMAKE_SYSTEM_NAME "Android") 10 | set(CMAKE_SYSTEM_VERSION "21") 11 | set(CMAKE_SYSTEM_PROCESSOR "x86_64") 12 | 13 | set(CMAKE_CROSSCOMPILING "TRUE") 14 | 15 | set(CMAKE_SYSTEM_LOADED 1) 16 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/armeabi/CMakeFiles/3.6.0-rc2/CMakeSystem.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_HOST_SYSTEM "Windows-10.0.10586") 2 | set(CMAKE_HOST_SYSTEM_NAME "Windows") 3 | set(CMAKE_HOST_SYSTEM_VERSION "10.0.10586") 4 | set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64") 5 | 6 | include("D:/android-ndk-r15c/build/cmake/android.toolchain.cmake") 7 | 8 | set(CMAKE_SYSTEM "Android-14") 9 | set(CMAKE_SYSTEM_NAME "Android") 10 | set(CMAKE_SYSTEM_VERSION "14") 11 | set(CMAKE_SYSTEM_PROCESSOR "armv5te") 12 | 13 | set(CMAKE_CROSSCOMPILING "TRUE") 14 | 15 | set(CMAKE_SYSTEM_LOADED 1) 16 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/mips64/CMakeFiles/3.6.0-rc2/CMakeSystem.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_HOST_SYSTEM "Windows-10.0.10586") 2 | set(CMAKE_HOST_SYSTEM_NAME "Windows") 3 | set(CMAKE_HOST_SYSTEM_VERSION "10.0.10586") 4 | set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64") 5 | 6 | include("D:/android-ndk-r15c/build/cmake/android.toolchain.cmake") 7 | 8 | set(CMAKE_SYSTEM "Android-21") 9 | set(CMAKE_SYSTEM_NAME "Android") 10 | set(CMAKE_SYSTEM_VERSION "21") 11 | set(CMAKE_SYSTEM_PROCESSOR "mips64") 12 | 13 | set(CMAKE_CROSSCOMPILING "TRUE") 14 | 15 | set(CMAKE_SYSTEM_LOADED 1) 16 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/x86_64/CMakeFiles/3.6.0-rc2/CMakeSystem.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_HOST_SYSTEM "Windows-10.0.10586") 2 | set(CMAKE_HOST_SYSTEM_NAME "Windows") 3 | set(CMAKE_HOST_SYSTEM_VERSION "10.0.10586") 4 | set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64") 5 | 6 | include("D:/android-ndk-r15c/build/cmake/android.toolchain.cmake") 7 | 8 | set(CMAKE_SYSTEM "Android-21") 9 | set(CMAKE_SYSTEM_NAME "Android") 10 | set(CMAKE_SYSTEM_VERSION "21") 11 | set(CMAKE_SYSTEM_PROCESSOR "x86_64") 12 | 13 | set(CMAKE_CROSSCOMPILING "TRUE") 14 | 15 | set(CMAKE_SYSTEM_LOADED 1) 16 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/armeabi-v7a/CMakeFiles/3.6.0-rc2/CMakeSystem.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_HOST_SYSTEM "Windows-10.0.10586") 2 | set(CMAKE_HOST_SYSTEM_NAME "Windows") 3 | set(CMAKE_HOST_SYSTEM_VERSION "10.0.10586") 4 | set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64") 5 | 6 | include("D:/android-ndk-r15c/build/cmake/android.toolchain.cmake") 7 | 8 | set(CMAKE_SYSTEM "Android-14") 9 | set(CMAKE_SYSTEM_NAME "Android") 10 | set(CMAKE_SYSTEM_VERSION "14") 11 | set(CMAKE_SYSTEM_PROCESSOR "armv7-a") 12 | 13 | set(CMAKE_CROSSCOMPILING "TRUE") 14 | 15 | set(CMAKE_SYSTEM_LOADED 1) 16 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/arm64-v8a/CMakeFiles/3.6.0-rc2/CMakeSystem.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_HOST_SYSTEM "Windows-10.0.10586") 2 | set(CMAKE_HOST_SYSTEM_NAME "Windows") 3 | set(CMAKE_HOST_SYSTEM_VERSION "10.0.10586") 4 | set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64") 5 | 6 | include("D:/android-ndk-r15c/build/cmake/android.toolchain.cmake") 7 | 8 | set(CMAKE_SYSTEM "Android-21") 9 | set(CMAKE_SYSTEM_NAME "Android") 10 | set(CMAKE_SYSTEM_VERSION "21") 11 | set(CMAKE_SYSTEM_PROCESSOR "aarch64") 12 | 13 | set(CMAKE_CROSSCOMPILING "TRUE") 14 | 15 | set(CMAKE_SYSTEM_LOADED 1) 16 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/armeabi-v7a/CMakeFiles/3.6.0-rc2/CMakeSystem.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_HOST_SYSTEM "Windows-10.0.10586") 2 | set(CMAKE_HOST_SYSTEM_NAME "Windows") 3 | set(CMAKE_HOST_SYSTEM_VERSION "10.0.10586") 4 | set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64") 5 | 6 | include("D:/android-ndk-r15c/build/cmake/android.toolchain.cmake") 7 | 8 | set(CMAKE_SYSTEM "Android-14") 9 | set(CMAKE_SYSTEM_NAME "Android") 10 | set(CMAKE_SYSTEM_VERSION "14") 11 | set(CMAKE_SYSTEM_PROCESSOR "armv7-a") 12 | 13 | set(CMAKE_CROSSCOMPILING "TRUE") 14 | 15 | set(CMAKE_SYSTEM_LOADED 1) 16 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/x86/cmake_build_command.txt: -------------------------------------------------------------------------------- 1 | Executable : D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\cmake.exe 2 | arguments : 3 | -HD:\AndroidProjects\NativeAPISecurityDemo\native-aes 4 | -BD:\AndroidProjects\NativeAPISecurityDemo\native-aes\.externalNativeBuild\cmake\debug\x86 5 | -GAndroid Gradle - Ninja 6 | -DANDROID_ABI=x86 7 | -DANDROID_NDK=D:\android-ndk-r15c 8 | -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=D:\AndroidProjects\NativeAPISecurityDemo\native-aes\build\intermediates\cmake\debug\obj\x86 9 | -DCMAKE_BUILD_TYPE=Debug 10 | -DCMAKE_MAKE_PROGRAM=D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\ninja.exe 11 | -DCMAKE_TOOLCHAIN_FILE=D:\android-ndk-r15c\build\cmake\android.toolchain.cmake 12 | -DANDROID_PLATFORM=android-14 13 | -DCMAKE_C_FLAGS=-fexceptions -frtti 14 | -DCMAKE_CXX_FLAGS=-frtti -fexceptions -D__STDC_FORMAT_MACROS 15 | jvmArgs : 16 | 17 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/mips/cmake_build_command.txt: -------------------------------------------------------------------------------- 1 | Executable : D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\cmake.exe 2 | arguments : 3 | -HD:\AndroidProjects\NativeAPISecurityDemo\native-aes 4 | -BD:\AndroidProjects\NativeAPISecurityDemo\native-aes\.externalNativeBuild\cmake\debug\mips 5 | -GAndroid Gradle - Ninja 6 | -DANDROID_ABI=mips 7 | -DANDROID_NDK=D:\android-ndk-r15c 8 | -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=D:\AndroidProjects\NativeAPISecurityDemo\native-aes\build\intermediates\cmake\debug\obj\mips 9 | -DCMAKE_BUILD_TYPE=Debug 10 | -DCMAKE_MAKE_PROGRAM=D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\ninja.exe 11 | -DCMAKE_TOOLCHAIN_FILE=D:\android-ndk-r15c\build\cmake\android.toolchain.cmake 12 | -DANDROID_PLATFORM=android-14 13 | -DCMAKE_C_FLAGS=-fexceptions -frtti 14 | -DCMAKE_CXX_FLAGS=-frtti -fexceptions -D__STDC_FORMAT_MACROS 15 | jvmArgs : 16 | 17 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/x86/cmake_build_command.txt: -------------------------------------------------------------------------------- 1 | Executable : D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\cmake.exe 2 | arguments : 3 | -HD:\AndroidProjects\NativeAPISecurityDemo\native-aes 4 | -BD:\AndroidProjects\NativeAPISecurityDemo\native-aes\.externalNativeBuild\cmake\release\x86 5 | -GAndroid Gradle - Ninja 6 | -DANDROID_ABI=x86 7 | -DANDROID_NDK=D:\android-ndk-r15c 8 | -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=D:\AndroidProjects\NativeAPISecurityDemo\native-aes\build\intermediates\cmake\release\obj\x86 9 | -DCMAKE_BUILD_TYPE=Release 10 | -DCMAKE_MAKE_PROGRAM=D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\ninja.exe 11 | -DCMAKE_TOOLCHAIN_FILE=D:\android-ndk-r15c\build\cmake\android.toolchain.cmake 12 | -DANDROID_PLATFORM=android-14 13 | -DCMAKE_C_FLAGS=-fexceptions -frtti 14 | -DCMAKE_CXX_FLAGS=-frtti -fexceptions -D__STDC_FORMAT_MACROS 15 | jvmArgs : 16 | 17 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/mips64/cmake_build_command.txt: -------------------------------------------------------------------------------- 1 | Executable : D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\cmake.exe 2 | arguments : 3 | -HD:\AndroidProjects\NativeAPISecurityDemo\native-aes 4 | -BD:\AndroidProjects\NativeAPISecurityDemo\native-aes\.externalNativeBuild\cmake\debug\mips64 5 | -GAndroid Gradle - Ninja 6 | -DANDROID_ABI=mips64 7 | -DANDROID_NDK=D:\android-ndk-r15c 8 | -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=D:\AndroidProjects\NativeAPISecurityDemo\native-aes\build\intermediates\cmake\debug\obj\mips64 9 | -DCMAKE_BUILD_TYPE=Debug 10 | -DCMAKE_MAKE_PROGRAM=D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\ninja.exe 11 | -DCMAKE_TOOLCHAIN_FILE=D:\android-ndk-r15c\build\cmake\android.toolchain.cmake 12 | -DANDROID_PLATFORM=android-21 13 | -DCMAKE_C_FLAGS=-fexceptions -frtti 14 | -DCMAKE_CXX_FLAGS=-frtti -fexceptions -D__STDC_FORMAT_MACROS 15 | jvmArgs : 16 | 17 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/x86_64/cmake_build_command.txt: -------------------------------------------------------------------------------- 1 | Executable : D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\cmake.exe 2 | arguments : 3 | -HD:\AndroidProjects\NativeAPISecurityDemo\native-aes 4 | -BD:\AndroidProjects\NativeAPISecurityDemo\native-aes\.externalNativeBuild\cmake\debug\x86_64 5 | -GAndroid Gradle - Ninja 6 | -DANDROID_ABI=x86_64 7 | -DANDROID_NDK=D:\android-ndk-r15c 8 | -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=D:\AndroidProjects\NativeAPISecurityDemo\native-aes\build\intermediates\cmake\debug\obj\x86_64 9 | -DCMAKE_BUILD_TYPE=Debug 10 | -DCMAKE_MAKE_PROGRAM=D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\ninja.exe 11 | -DCMAKE_TOOLCHAIN_FILE=D:\android-ndk-r15c\build\cmake\android.toolchain.cmake 12 | -DANDROID_PLATFORM=android-21 13 | -DCMAKE_C_FLAGS=-fexceptions -frtti 14 | -DCMAKE_CXX_FLAGS=-frtti -fexceptions -D__STDC_FORMAT_MACROS 15 | jvmArgs : 16 | 17 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/mips/cmake_build_command.txt: -------------------------------------------------------------------------------- 1 | Executable : D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\cmake.exe 2 | arguments : 3 | -HD:\AndroidProjects\NativeAPISecurityDemo\native-aes 4 | -BD:\AndroidProjects\NativeAPISecurityDemo\native-aes\.externalNativeBuild\cmake\release\mips 5 | -GAndroid Gradle - Ninja 6 | -DANDROID_ABI=mips 7 | -DANDROID_NDK=D:\android-ndk-r15c 8 | -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=D:\AndroidProjects\NativeAPISecurityDemo\native-aes\build\intermediates\cmake\release\obj\mips 9 | -DCMAKE_BUILD_TYPE=Release 10 | -DCMAKE_MAKE_PROGRAM=D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\ninja.exe 11 | -DCMAKE_TOOLCHAIN_FILE=D:\android-ndk-r15c\build\cmake\android.toolchain.cmake 12 | -DANDROID_PLATFORM=android-14 13 | -DCMAKE_C_FLAGS=-fexceptions -frtti 14 | -DCMAKE_CXX_FLAGS=-frtti -fexceptions -D__STDC_FORMAT_MACROS 15 | jvmArgs : 16 | 17 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/armeabi/cmake_build_command.txt: -------------------------------------------------------------------------------- 1 | Executable : D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\cmake.exe 2 | arguments : 3 | -HD:\AndroidProjects\NativeAPISecurityDemo\native-aes 4 | -BD:\AndroidProjects\NativeAPISecurityDemo\native-aes\.externalNativeBuild\cmake\debug\armeabi 5 | -GAndroid Gradle - Ninja 6 | -DANDROID_ABI=armeabi 7 | -DANDROID_NDK=D:\android-ndk-r15c 8 | -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=D:\AndroidProjects\NativeAPISecurityDemo\native-aes\build\intermediates\cmake\debug\obj\armeabi 9 | -DCMAKE_BUILD_TYPE=Debug 10 | -DCMAKE_MAKE_PROGRAM=D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\ninja.exe 11 | -DCMAKE_TOOLCHAIN_FILE=D:\android-ndk-r15c\build\cmake\android.toolchain.cmake 12 | -DANDROID_PLATFORM=android-14 13 | -DCMAKE_C_FLAGS=-fexceptions -frtti 14 | -DCMAKE_CXX_FLAGS=-frtti -fexceptions -D__STDC_FORMAT_MACROS 15 | jvmArgs : 16 | 17 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/mips64/cmake_build_command.txt: -------------------------------------------------------------------------------- 1 | Executable : D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\cmake.exe 2 | arguments : 3 | -HD:\AndroidProjects\NativeAPISecurityDemo\native-aes 4 | -BD:\AndroidProjects\NativeAPISecurityDemo\native-aes\.externalNativeBuild\cmake\release\mips64 5 | -GAndroid Gradle - Ninja 6 | -DANDROID_ABI=mips64 7 | -DANDROID_NDK=D:\android-ndk-r15c 8 | -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=D:\AndroidProjects\NativeAPISecurityDemo\native-aes\build\intermediates\cmake\release\obj\mips64 9 | -DCMAKE_BUILD_TYPE=Release 10 | -DCMAKE_MAKE_PROGRAM=D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\ninja.exe 11 | -DCMAKE_TOOLCHAIN_FILE=D:\android-ndk-r15c\build\cmake\android.toolchain.cmake 12 | -DANDROID_PLATFORM=android-21 13 | -DCMAKE_C_FLAGS=-fexceptions -frtti 14 | -DCMAKE_CXX_FLAGS=-frtti -fexceptions -D__STDC_FORMAT_MACROS 15 | jvmArgs : 16 | 17 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/x86_64/cmake_build_command.txt: -------------------------------------------------------------------------------- 1 | Executable : D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\cmake.exe 2 | arguments : 3 | -HD:\AndroidProjects\NativeAPISecurityDemo\native-aes 4 | -BD:\AndroidProjects\NativeAPISecurityDemo\native-aes\.externalNativeBuild\cmake\release\x86_64 5 | -GAndroid Gradle - Ninja 6 | -DANDROID_ABI=x86_64 7 | -DANDROID_NDK=D:\android-ndk-r15c 8 | -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=D:\AndroidProjects\NativeAPISecurityDemo\native-aes\build\intermediates\cmake\release\obj\x86_64 9 | -DCMAKE_BUILD_TYPE=Release 10 | -DCMAKE_MAKE_PROGRAM=D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\ninja.exe 11 | -DCMAKE_TOOLCHAIN_FILE=D:\android-ndk-r15c\build\cmake\android.toolchain.cmake 12 | -DANDROID_PLATFORM=android-21 13 | -DCMAKE_C_FLAGS=-fexceptions -frtti 14 | -DCMAKE_CXX_FLAGS=-frtti -fexceptions -D__STDC_FORMAT_MACROS 15 | jvmArgs : 16 | 17 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/arm64-v8a/cmake_build_command.txt: -------------------------------------------------------------------------------- 1 | Executable : D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\cmake.exe 2 | arguments : 3 | -HD:\AndroidProjects\NativeAPISecurityDemo\native-aes 4 | -BD:\AndroidProjects\NativeAPISecurityDemo\native-aes\.externalNativeBuild\cmake\debug\arm64-v8a 5 | -GAndroid Gradle - Ninja 6 | -DANDROID_ABI=arm64-v8a 7 | -DANDROID_NDK=D:\android-ndk-r15c 8 | -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=D:\AndroidProjects\NativeAPISecurityDemo\native-aes\build\intermediates\cmake\debug\obj\arm64-v8a 9 | -DCMAKE_BUILD_TYPE=Debug 10 | -DCMAKE_MAKE_PROGRAM=D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\ninja.exe 11 | -DCMAKE_TOOLCHAIN_FILE=D:\android-ndk-r15c\build\cmake\android.toolchain.cmake 12 | -DANDROID_PLATFORM=android-21 13 | -DCMAKE_C_FLAGS=-fexceptions -frtti 14 | -DCMAKE_CXX_FLAGS=-frtti -fexceptions -D__STDC_FORMAT_MACROS 15 | jvmArgs : 16 | 17 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/armeabi/cmake_build_command.txt: -------------------------------------------------------------------------------- 1 | Executable : D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\cmake.exe 2 | arguments : 3 | -HD:\AndroidProjects\NativeAPISecurityDemo\native-aes 4 | -BD:\AndroidProjects\NativeAPISecurityDemo\native-aes\.externalNativeBuild\cmake\release\armeabi 5 | -GAndroid Gradle - Ninja 6 | -DANDROID_ABI=armeabi 7 | -DANDROID_NDK=D:\android-ndk-r15c 8 | -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=D:\AndroidProjects\NativeAPISecurityDemo\native-aes\build\intermediates\cmake\release\obj\armeabi 9 | -DCMAKE_BUILD_TYPE=Release 10 | -DCMAKE_MAKE_PROGRAM=D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\ninja.exe 11 | -DCMAKE_TOOLCHAIN_FILE=D:\android-ndk-r15c\build\cmake\android.toolchain.cmake 12 | -DANDROID_PLATFORM=android-14 13 | -DCMAKE_C_FLAGS=-fexceptions -frtti 14 | -DCMAKE_CXX_FLAGS=-frtti -fexceptions -D__STDC_FORMAT_MACROS 15 | jvmArgs : 16 | 17 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/armeabi-v7a/cmake_build_command.txt: -------------------------------------------------------------------------------- 1 | Executable : D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\cmake.exe 2 | arguments : 3 | -HD:\AndroidProjects\NativeAPISecurityDemo\native-aes 4 | -BD:\AndroidProjects\NativeAPISecurityDemo\native-aes\.externalNativeBuild\cmake\debug\armeabi-v7a 5 | -GAndroid Gradle - Ninja 6 | -DANDROID_ABI=armeabi-v7a 7 | -DANDROID_NDK=D:\android-ndk-r15c 8 | -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=D:\AndroidProjects\NativeAPISecurityDemo\native-aes\build\intermediates\cmake\debug\obj\armeabi-v7a 9 | -DCMAKE_BUILD_TYPE=Debug 10 | -DCMAKE_MAKE_PROGRAM=D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\ninja.exe 11 | -DCMAKE_TOOLCHAIN_FILE=D:\android-ndk-r15c\build\cmake\android.toolchain.cmake 12 | -DANDROID_PLATFORM=android-14 13 | -DCMAKE_C_FLAGS=-fexceptions -frtti 14 | -DCMAKE_CXX_FLAGS=-frtti -fexceptions -D__STDC_FORMAT_MACROS 15 | jvmArgs : 16 | 17 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/arm64-v8a/cmake_build_command.txt: -------------------------------------------------------------------------------- 1 | Executable : D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\cmake.exe 2 | arguments : 3 | -HD:\AndroidProjects\NativeAPISecurityDemo\native-aes 4 | -BD:\AndroidProjects\NativeAPISecurityDemo\native-aes\.externalNativeBuild\cmake\release\arm64-v8a 5 | -GAndroid Gradle - Ninja 6 | -DANDROID_ABI=arm64-v8a 7 | -DANDROID_NDK=D:\android-ndk-r15c 8 | -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=D:\AndroidProjects\NativeAPISecurityDemo\native-aes\build\intermediates\cmake\release\obj\arm64-v8a 9 | -DCMAKE_BUILD_TYPE=Release 10 | -DCMAKE_MAKE_PROGRAM=D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\ninja.exe 11 | -DCMAKE_TOOLCHAIN_FILE=D:\android-ndk-r15c\build\cmake\android.toolchain.cmake 12 | -DANDROID_PLATFORM=android-21 13 | -DCMAKE_C_FLAGS=-fexceptions -frtti 14 | -DCMAKE_CXX_FLAGS=-frtti -fexceptions -D__STDC_FORMAT_MACROS 15 | jvmArgs : 16 | 17 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/armeabi-v7a/cmake_build_command.txt: -------------------------------------------------------------------------------- 1 | Executable : D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\cmake.exe 2 | arguments : 3 | -HD:\AndroidProjects\NativeAPISecurityDemo\native-aes 4 | -BD:\AndroidProjects\NativeAPISecurityDemo\native-aes\.externalNativeBuild\cmake\release\armeabi-v7a 5 | -GAndroid Gradle - Ninja 6 | -DANDROID_ABI=armeabi-v7a 7 | -DANDROID_NDK=D:\android-ndk-r15c 8 | -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=D:\AndroidProjects\NativeAPISecurityDemo\native-aes\build\intermediates\cmake\release\obj\armeabi-v7a 9 | -DCMAKE_BUILD_TYPE=Release 10 | -DCMAKE_MAKE_PROGRAM=D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\ninja.exe 11 | -DCMAKE_TOOLCHAIN_FILE=D:\android-ndk-r15c\build\cmake\android.toolchain.cmake 12 | -DANDROID_PLATFORM=android-14 13 | -DCMAKE_C_FLAGS=-fexceptions -frtti 14 | -DCMAKE_CXX_FLAGS=-frtti -fexceptions -D__STDC_FORMAT_MACROS 15 | jvmArgs : 16 | 17 | -------------------------------------------------------------------------------- /src/androidTest/java/com/nic/nativeaes/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package com.nic.nativeaes; 2 | 3 | import android.content.Context; 4 | import android.support.test.InstrumentationRegistry; 5 | import android.support.test.runner.AndroidJUnit4; 6 | 7 | import org.junit.Test; 8 | import org.junit.runner.RunWith; 9 | 10 | import static org.junit.Assert.*; 11 | 12 | /** 13 | * Instrumentation test, which will execute on an Android device. 14 | * 15 | * @see Testing documentation 16 | */ 17 | @RunWith(AndroidJUnit4.class) 18 | public class ExampleInstrumentedTest { 19 | @Test 20 | public void useAppContext() throws Exception { 21 | // Context of the app under test. 22 | Context appContext = InstrumentationRegistry.getTargetContext(); 23 | 24 | assertEquals("com.nic.nativeaes.test", appContext.getPackageName()); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/mips/CMakeFiles/feature_tests.c: -------------------------------------------------------------------------------- 1 | 2 | const char features[] = {"\n" 3 | "C_FEATURE:" 4 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 5 | "1" 6 | #else 7 | "0" 8 | #endif 9 | "c_function_prototypes\n" 10 | "C_FEATURE:" 11 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 12 | "1" 13 | #else 14 | "0" 15 | #endif 16 | "c_restrict\n" 17 | "C_FEATURE:" 18 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L 19 | "1" 20 | #else 21 | "0" 22 | #endif 23 | "c_static_assert\n" 24 | "C_FEATURE:" 25 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 26 | "1" 27 | #else 28 | "0" 29 | #endif 30 | "c_variadic_macros\n" 31 | 32 | }; 33 | 34 | int main(int argc, char** argv) { (void)argv; return features[argc]; } 35 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/x86/CMakeFiles/feature_tests.c: -------------------------------------------------------------------------------- 1 | 2 | const char features[] = {"\n" 3 | "C_FEATURE:" 4 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 5 | "1" 6 | #else 7 | "0" 8 | #endif 9 | "c_function_prototypes\n" 10 | "C_FEATURE:" 11 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 12 | "1" 13 | #else 14 | "0" 15 | #endif 16 | "c_restrict\n" 17 | "C_FEATURE:" 18 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L 19 | "1" 20 | #else 21 | "0" 22 | #endif 23 | "c_static_assert\n" 24 | "C_FEATURE:" 25 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 26 | "1" 27 | #else 28 | "0" 29 | #endif 30 | "c_variadic_macros\n" 31 | 32 | }; 33 | 34 | int main(int argc, char** argv) { (void)argv; return features[argc]; } 35 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/arm64-v8a/CMakeFiles/feature_tests.c: -------------------------------------------------------------------------------- 1 | 2 | const char features[] = {"\n" 3 | "C_FEATURE:" 4 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 5 | "1" 6 | #else 7 | "0" 8 | #endif 9 | "c_function_prototypes\n" 10 | "C_FEATURE:" 11 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 12 | "1" 13 | #else 14 | "0" 15 | #endif 16 | "c_restrict\n" 17 | "C_FEATURE:" 18 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L 19 | "1" 20 | #else 21 | "0" 22 | #endif 23 | "c_static_assert\n" 24 | "C_FEATURE:" 25 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 26 | "1" 27 | #else 28 | "0" 29 | #endif 30 | "c_variadic_macros\n" 31 | 32 | }; 33 | 34 | int main(int argc, char** argv) { (void)argv; return features[argc]; } 35 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/armeabi/CMakeFiles/feature_tests.c: -------------------------------------------------------------------------------- 1 | 2 | const char features[] = {"\n" 3 | "C_FEATURE:" 4 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 5 | "1" 6 | #else 7 | "0" 8 | #endif 9 | "c_function_prototypes\n" 10 | "C_FEATURE:" 11 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 12 | "1" 13 | #else 14 | "0" 15 | #endif 16 | "c_restrict\n" 17 | "C_FEATURE:" 18 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L 19 | "1" 20 | #else 21 | "0" 22 | #endif 23 | "c_static_assert\n" 24 | "C_FEATURE:" 25 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 26 | "1" 27 | #else 28 | "0" 29 | #endif 30 | "c_variadic_macros\n" 31 | 32 | }; 33 | 34 | int main(int argc, char** argv) { (void)argv; return features[argc]; } 35 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/mips64/CMakeFiles/feature_tests.c: -------------------------------------------------------------------------------- 1 | 2 | const char features[] = {"\n" 3 | "C_FEATURE:" 4 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 5 | "1" 6 | #else 7 | "0" 8 | #endif 9 | "c_function_prototypes\n" 10 | "C_FEATURE:" 11 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 12 | "1" 13 | #else 14 | "0" 15 | #endif 16 | "c_restrict\n" 17 | "C_FEATURE:" 18 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L 19 | "1" 20 | #else 21 | "0" 22 | #endif 23 | "c_static_assert\n" 24 | "C_FEATURE:" 25 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 26 | "1" 27 | #else 28 | "0" 29 | #endif 30 | "c_variadic_macros\n" 31 | 32 | }; 33 | 34 | int main(int argc, char** argv) { (void)argv; return features[argc]; } 35 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/x86_64/CMakeFiles/feature_tests.c: -------------------------------------------------------------------------------- 1 | 2 | const char features[] = {"\n" 3 | "C_FEATURE:" 4 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 5 | "1" 6 | #else 7 | "0" 8 | #endif 9 | "c_function_prototypes\n" 10 | "C_FEATURE:" 11 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 12 | "1" 13 | #else 14 | "0" 15 | #endif 16 | "c_restrict\n" 17 | "C_FEATURE:" 18 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L 19 | "1" 20 | #else 21 | "0" 22 | #endif 23 | "c_static_assert\n" 24 | "C_FEATURE:" 25 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 26 | "1" 27 | #else 28 | "0" 29 | #endif 30 | "c_variadic_macros\n" 31 | 32 | }; 33 | 34 | int main(int argc, char** argv) { (void)argv; return features[argc]; } 35 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/armeabi/CMakeFiles/feature_tests.c: -------------------------------------------------------------------------------- 1 | 2 | const char features[] = {"\n" 3 | "C_FEATURE:" 4 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 5 | "1" 6 | #else 7 | "0" 8 | #endif 9 | "c_function_prototypes\n" 10 | "C_FEATURE:" 11 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 12 | "1" 13 | #else 14 | "0" 15 | #endif 16 | "c_restrict\n" 17 | "C_FEATURE:" 18 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L 19 | "1" 20 | #else 21 | "0" 22 | #endif 23 | "c_static_assert\n" 24 | "C_FEATURE:" 25 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 26 | "1" 27 | #else 28 | "0" 29 | #endif 30 | "c_variadic_macros\n" 31 | 32 | }; 33 | 34 | int main(int argc, char** argv) { (void)argv; return features[argc]; } 35 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/mips/CMakeFiles/feature_tests.c: -------------------------------------------------------------------------------- 1 | 2 | const char features[] = {"\n" 3 | "C_FEATURE:" 4 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 5 | "1" 6 | #else 7 | "0" 8 | #endif 9 | "c_function_prototypes\n" 10 | "C_FEATURE:" 11 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 12 | "1" 13 | #else 14 | "0" 15 | #endif 16 | "c_restrict\n" 17 | "C_FEATURE:" 18 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L 19 | "1" 20 | #else 21 | "0" 22 | #endif 23 | "c_static_assert\n" 24 | "C_FEATURE:" 25 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 26 | "1" 27 | #else 28 | "0" 29 | #endif 30 | "c_variadic_macros\n" 31 | 32 | }; 33 | 34 | int main(int argc, char** argv) { (void)argv; return features[argc]; } 35 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/mips64/CMakeFiles/feature_tests.c: -------------------------------------------------------------------------------- 1 | 2 | const char features[] = {"\n" 3 | "C_FEATURE:" 4 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 5 | "1" 6 | #else 7 | "0" 8 | #endif 9 | "c_function_prototypes\n" 10 | "C_FEATURE:" 11 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 12 | "1" 13 | #else 14 | "0" 15 | #endif 16 | "c_restrict\n" 17 | "C_FEATURE:" 18 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L 19 | "1" 20 | #else 21 | "0" 22 | #endif 23 | "c_static_assert\n" 24 | "C_FEATURE:" 25 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 26 | "1" 27 | #else 28 | "0" 29 | #endif 30 | "c_variadic_macros\n" 31 | 32 | }; 33 | 34 | int main(int argc, char** argv) { (void)argv; return features[argc]; } 35 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/x86/CMakeFiles/feature_tests.c: -------------------------------------------------------------------------------- 1 | 2 | const char features[] = {"\n" 3 | "C_FEATURE:" 4 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 5 | "1" 6 | #else 7 | "0" 8 | #endif 9 | "c_function_prototypes\n" 10 | "C_FEATURE:" 11 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 12 | "1" 13 | #else 14 | "0" 15 | #endif 16 | "c_restrict\n" 17 | "C_FEATURE:" 18 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L 19 | "1" 20 | #else 21 | "0" 22 | #endif 23 | "c_static_assert\n" 24 | "C_FEATURE:" 25 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 26 | "1" 27 | #else 28 | "0" 29 | #endif 30 | "c_variadic_macros\n" 31 | 32 | }; 33 | 34 | int main(int argc, char** argv) { (void)argv; return features[argc]; } 35 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/x86_64/CMakeFiles/feature_tests.c: -------------------------------------------------------------------------------- 1 | 2 | const char features[] = {"\n" 3 | "C_FEATURE:" 4 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 5 | "1" 6 | #else 7 | "0" 8 | #endif 9 | "c_function_prototypes\n" 10 | "C_FEATURE:" 11 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 12 | "1" 13 | #else 14 | "0" 15 | #endif 16 | "c_restrict\n" 17 | "C_FEATURE:" 18 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L 19 | "1" 20 | #else 21 | "0" 22 | #endif 23 | "c_static_assert\n" 24 | "C_FEATURE:" 25 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 26 | "1" 27 | #else 28 | "0" 29 | #endif 30 | "c_variadic_macros\n" 31 | 32 | }; 33 | 34 | int main(int argc, char** argv) { (void)argv; return features[argc]; } 35 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/armeabi-v7a/CMakeFiles/feature_tests.c: -------------------------------------------------------------------------------- 1 | 2 | const char features[] = {"\n" 3 | "C_FEATURE:" 4 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 5 | "1" 6 | #else 7 | "0" 8 | #endif 9 | "c_function_prototypes\n" 10 | "C_FEATURE:" 11 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 12 | "1" 13 | #else 14 | "0" 15 | #endif 16 | "c_restrict\n" 17 | "C_FEATURE:" 18 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L 19 | "1" 20 | #else 21 | "0" 22 | #endif 23 | "c_static_assert\n" 24 | "C_FEATURE:" 25 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 26 | "1" 27 | #else 28 | "0" 29 | #endif 30 | "c_variadic_macros\n" 31 | 32 | }; 33 | 34 | int main(int argc, char** argv) { (void)argv; return features[argc]; } 35 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/arm64-v8a/CMakeFiles/feature_tests.c: -------------------------------------------------------------------------------- 1 | 2 | const char features[] = {"\n" 3 | "C_FEATURE:" 4 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 5 | "1" 6 | #else 7 | "0" 8 | #endif 9 | "c_function_prototypes\n" 10 | "C_FEATURE:" 11 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 12 | "1" 13 | #else 14 | "0" 15 | #endif 16 | "c_restrict\n" 17 | "C_FEATURE:" 18 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L 19 | "1" 20 | #else 21 | "0" 22 | #endif 23 | "c_static_assert\n" 24 | "C_FEATURE:" 25 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 26 | "1" 27 | #else 28 | "0" 29 | #endif 30 | "c_variadic_macros\n" 31 | 32 | }; 33 | 34 | int main(int argc, char** argv) { (void)argv; return features[argc]; } 35 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/armeabi-v7a/CMakeFiles/feature_tests.c: -------------------------------------------------------------------------------- 1 | 2 | const char features[] = {"\n" 3 | "C_FEATURE:" 4 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 5 | "1" 6 | #else 7 | "0" 8 | #endif 9 | "c_function_prototypes\n" 10 | "C_FEATURE:" 11 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 12 | "1" 13 | #else 14 | "0" 15 | #endif 16 | "c_restrict\n" 17 | "C_FEATURE:" 18 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L 19 | "1" 20 | #else 21 | "0" 22 | #endif 23 | "c_static_assert\n" 24 | "C_FEATURE:" 25 | #if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 26 | "1" 27 | #else 28 | "0" 29 | #endif 30 | "c_variadic_macros\n" 31 | 32 | }; 33 | 34 | int main(int argc, char** argv) { (void)argv; return features[argc]; } 35 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/mips/cmake_build_output.txt: -------------------------------------------------------------------------------- 1 | -- Check for working C compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe 2 | -- Check for working C compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe -- works 3 | -- Detecting C compiler ABI info 4 | -- Detecting C compiler ABI info - done 5 | -- Detecting C compile features 6 | -- Detecting C compile features - done 7 | -- Check for working CXX compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe 8 | -- Check for working CXX compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe -- works 9 | -- Detecting CXX compiler ABI info 10 | -- Detecting CXX compiler ABI info - done 11 | -- Detecting CXX compile features 12 | -- Detecting CXX compile features - done 13 | -- Configuring done 14 | -- Generating done 15 | -- Build files have been written to: D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/mips 16 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/x86/cmake_build_output.txt: -------------------------------------------------------------------------------- 1 | -- Check for working C compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe 2 | -- Check for working C compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe -- works 3 | -- Detecting C compiler ABI info 4 | -- Detecting C compiler ABI info - done 5 | -- Detecting C compile features 6 | -- Detecting C compile features - done 7 | -- Check for working CXX compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe 8 | -- Check for working CXX compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe -- works 9 | -- Detecting CXX compiler ABI info 10 | -- Detecting CXX compiler ABI info - done 11 | -- Detecting CXX compile features 12 | -- Detecting CXX compile features - done 13 | -- Configuring done 14 | -- Generating done 15 | -- Build files have been written to: D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/x86 16 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/armeabi/cmake_build_output.txt: -------------------------------------------------------------------------------- 1 | -- Check for working C compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe 2 | -- Check for working C compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe -- works 3 | -- Detecting C compiler ABI info 4 | -- Detecting C compiler ABI info - done 5 | -- Detecting C compile features 6 | -- Detecting C compile features - done 7 | -- Check for working CXX compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe 8 | -- Check for working CXX compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe -- works 9 | -- Detecting CXX compiler ABI info 10 | -- Detecting CXX compiler ABI info - done 11 | -- Detecting CXX compile features 12 | -- Detecting CXX compile features - done 13 | -- Configuring done 14 | -- Generating done 15 | -- Build files have been written to: D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/armeabi 16 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/mips64/cmake_build_output.txt: -------------------------------------------------------------------------------- 1 | -- Check for working C compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe 2 | -- Check for working C compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe -- works 3 | -- Detecting C compiler ABI info 4 | -- Detecting C compiler ABI info - done 5 | -- Detecting C compile features 6 | -- Detecting C compile features - done 7 | -- Check for working CXX compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe 8 | -- Check for working CXX compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe -- works 9 | -- Detecting CXX compiler ABI info 10 | -- Detecting CXX compiler ABI info - done 11 | -- Detecting CXX compile features 12 | -- Detecting CXX compile features - done 13 | -- Configuring done 14 | -- Generating done 15 | -- Build files have been written to: D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/mips64 16 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/x86_64/cmake_build_output.txt: -------------------------------------------------------------------------------- 1 | -- Check for working C compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe 2 | -- Check for working C compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe -- works 3 | -- Detecting C compiler ABI info 4 | -- Detecting C compiler ABI info - done 5 | -- Detecting C compile features 6 | -- Detecting C compile features - done 7 | -- Check for working CXX compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe 8 | -- Check for working CXX compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe -- works 9 | -- Detecting CXX compiler ABI info 10 | -- Detecting CXX compiler ABI info - done 11 | -- Detecting CXX compile features 12 | -- Detecting CXX compile features - done 13 | -- Configuring done 14 | -- Generating done 15 | -- Build files have been written to: D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/x86_64 16 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/mips/cmake_build_output.txt: -------------------------------------------------------------------------------- 1 | -- Check for working C compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe 2 | -- Check for working C compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe -- works 3 | -- Detecting C compiler ABI info 4 | -- Detecting C compiler ABI info - done 5 | -- Detecting C compile features 6 | -- Detecting C compile features - done 7 | -- Check for working CXX compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe 8 | -- Check for working CXX compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe -- works 9 | -- Detecting CXX compiler ABI info 10 | -- Detecting CXX compiler ABI info - done 11 | -- Detecting CXX compile features 12 | -- Detecting CXX compile features - done 13 | -- Configuring done 14 | -- Generating done 15 | -- Build files have been written to: D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/mips 16 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/x86/cmake_build_output.txt: -------------------------------------------------------------------------------- 1 | -- Check for working C compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe 2 | -- Check for working C compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe -- works 3 | -- Detecting C compiler ABI info 4 | -- Detecting C compiler ABI info - done 5 | -- Detecting C compile features 6 | -- Detecting C compile features - done 7 | -- Check for working CXX compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe 8 | -- Check for working CXX compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe -- works 9 | -- Detecting CXX compiler ABI info 10 | -- Detecting CXX compiler ABI info - done 11 | -- Detecting CXX compile features 12 | -- Detecting CXX compile features - done 13 | -- Configuring done 14 | -- Generating done 15 | -- Build files have been written to: D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/x86 16 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/arm64-v8a/cmake_build_output.txt: -------------------------------------------------------------------------------- 1 | -- Check for working C compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe 2 | -- Check for working C compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe -- works 3 | -- Detecting C compiler ABI info 4 | -- Detecting C compiler ABI info - done 5 | -- Detecting C compile features 6 | -- Detecting C compile features - done 7 | -- Check for working CXX compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe 8 | -- Check for working CXX compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe -- works 9 | -- Detecting CXX compiler ABI info 10 | -- Detecting CXX compiler ABI info - done 11 | -- Detecting CXX compile features 12 | -- Detecting CXX compile features - done 13 | -- Configuring done 14 | -- Generating done 15 | -- Build files have been written to: D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/arm64-v8a 16 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/armeabi/cmake_build_output.txt: -------------------------------------------------------------------------------- 1 | -- Check for working C compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe 2 | -- Check for working C compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe -- works 3 | -- Detecting C compiler ABI info 4 | -- Detecting C compiler ABI info - done 5 | -- Detecting C compile features 6 | -- Detecting C compile features - done 7 | -- Check for working CXX compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe 8 | -- Check for working CXX compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe -- works 9 | -- Detecting CXX compiler ABI info 10 | -- Detecting CXX compiler ABI info - done 11 | -- Detecting CXX compile features 12 | -- Detecting CXX compile features - done 13 | -- Configuring done 14 | -- Generating done 15 | -- Build files have been written to: D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/armeabi 16 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/mips64/cmake_build_output.txt: -------------------------------------------------------------------------------- 1 | -- Check for working C compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe 2 | -- Check for working C compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe -- works 3 | -- Detecting C compiler ABI info 4 | -- Detecting C compiler ABI info - done 5 | -- Detecting C compile features 6 | -- Detecting C compile features - done 7 | -- Check for working CXX compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe 8 | -- Check for working CXX compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe -- works 9 | -- Detecting CXX compiler ABI info 10 | -- Detecting CXX compiler ABI info - done 11 | -- Detecting CXX compile features 12 | -- Detecting CXX compile features - done 13 | -- Configuring done 14 | -- Generating done 15 | -- Build files have been written to: D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/mips64 16 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/x86_64/cmake_build_output.txt: -------------------------------------------------------------------------------- 1 | -- Check for working C compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe 2 | -- Check for working C compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe -- works 3 | -- Detecting C compiler ABI info 4 | -- Detecting C compiler ABI info - done 5 | -- Detecting C compile features 6 | -- Detecting C compile features - done 7 | -- Check for working CXX compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe 8 | -- Check for working CXX compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe -- works 9 | -- Detecting CXX compiler ABI info 10 | -- Detecting CXX compiler ABI info - done 11 | -- Detecting CXX compile features 12 | -- Detecting CXX compile features - done 13 | -- Configuring done 14 | -- Generating done 15 | -- Build files have been written to: D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/x86_64 16 | -------------------------------------------------------------------------------- /proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in D:\AndroidSDK\sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | 19 | # Uncomment this to preserve the line number information for 20 | # debugging stack traces. 21 | #-keepattributes SourceFile,LineNumberTable 22 | 23 | # If you keep the line number information, uncomment this to 24 | # hide the original source file name. 25 | #-renamesourcefileattribute SourceFile 26 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/armeabi-v7a/cmake_build_output.txt: -------------------------------------------------------------------------------- 1 | -- Check for working C compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe 2 | -- Check for working C compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe -- works 3 | -- Detecting C compiler ABI info 4 | -- Detecting C compiler ABI info - done 5 | -- Detecting C compile features 6 | -- Detecting C compile features - done 7 | -- Check for working CXX compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe 8 | -- Check for working CXX compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe -- works 9 | -- Detecting CXX compiler ABI info 10 | -- Detecting CXX compiler ABI info - done 11 | -- Detecting CXX compile features 12 | -- Detecting CXX compile features - done 13 | -- Configuring done 14 | -- Generating done 15 | -- Build files have been written to: D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/armeabi-v7a 16 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/arm64-v8a/cmake_build_output.txt: -------------------------------------------------------------------------------- 1 | -- Check for working C compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe 2 | -- Check for working C compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe -- works 3 | -- Detecting C compiler ABI info 4 | -- Detecting C compiler ABI info - done 5 | -- Detecting C compile features 6 | -- Detecting C compile features - done 7 | -- Check for working CXX compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe 8 | -- Check for working CXX compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe -- works 9 | -- Detecting CXX compiler ABI info 10 | -- Detecting CXX compiler ABI info - done 11 | -- Detecting CXX compile features 12 | -- Detecting CXX compile features - done 13 | -- Configuring done 14 | -- Generating done 15 | -- Build files have been written to: D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/arm64-v8a 16 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/armeabi-v7a/cmake_build_output.txt: -------------------------------------------------------------------------------- 1 | -- Check for working C compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe 2 | -- Check for working C compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe -- works 3 | -- Detecting C compiler ABI info 4 | -- Detecting C compiler ABI info - done 5 | -- Detecting C compile features 6 | -- Detecting C compile features - done 7 | -- Check for working CXX compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe 8 | -- Check for working CXX compiler: D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe -- works 9 | -- Detecting CXX compiler ABI info 10 | -- Detecting CXX compiler ABI info - done 11 | -- Detecting CXX compile features 12 | -- Detecting CXX compile features - done 13 | -- Configuring done 14 | -- Generating done 15 | -- Build files have been written to: D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/armeabi-v7a 16 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/x86/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/AndroidProjects/NativeAPISecurityDemo/native-aes 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/Project") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "Debug") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Install shared libraries without execute permission? 31 | if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE) 32 | set(CMAKE_INSTALL_SO_NO_EXE "0") 33 | endif() 34 | 35 | if(CMAKE_INSTALL_COMPONENT) 36 | set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt") 37 | else() 38 | set(CMAKE_INSTALL_MANIFEST "install_manifest.txt") 39 | endif() 40 | 41 | string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT 42 | "${CMAKE_INSTALL_MANIFEST_FILES}") 43 | file(WRITE "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/x86/${CMAKE_INSTALL_MANIFEST}" 44 | "${CMAKE_INSTALL_MANIFEST_CONTENT}") 45 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/mips/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/AndroidProjects/NativeAPISecurityDemo/native-aes 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/Project") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "Debug") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Install shared libraries without execute permission? 31 | if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE) 32 | set(CMAKE_INSTALL_SO_NO_EXE "0") 33 | endif() 34 | 35 | if(CMAKE_INSTALL_COMPONENT) 36 | set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt") 37 | else() 38 | set(CMAKE_INSTALL_MANIFEST "install_manifest.txt") 39 | endif() 40 | 41 | string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT 42 | "${CMAKE_INSTALL_MANIFEST_FILES}") 43 | file(WRITE "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/mips/${CMAKE_INSTALL_MANIFEST}" 44 | "${CMAKE_INSTALL_MANIFEST_CONTENT}") 45 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/mips64/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/AndroidProjects/NativeAPISecurityDemo/native-aes 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/Project") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "Debug") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Install shared libraries without execute permission? 31 | if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE) 32 | set(CMAKE_INSTALL_SO_NO_EXE "0") 33 | endif() 34 | 35 | if(CMAKE_INSTALL_COMPONENT) 36 | set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt") 37 | else() 38 | set(CMAKE_INSTALL_MANIFEST "install_manifest.txt") 39 | endif() 40 | 41 | string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT 42 | "${CMAKE_INSTALL_MANIFEST_FILES}") 43 | file(WRITE "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/mips64/${CMAKE_INSTALL_MANIFEST}" 44 | "${CMAKE_INSTALL_MANIFEST_CONTENT}") 45 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/x86_64/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/AndroidProjects/NativeAPISecurityDemo/native-aes 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/Project") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "Debug") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Install shared libraries without execute permission? 31 | if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE) 32 | set(CMAKE_INSTALL_SO_NO_EXE "0") 33 | endif() 34 | 35 | if(CMAKE_INSTALL_COMPONENT) 36 | set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt") 37 | else() 38 | set(CMAKE_INSTALL_MANIFEST "install_manifest.txt") 39 | endif() 40 | 41 | string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT 42 | "${CMAKE_INSTALL_MANIFEST_FILES}") 43 | file(WRITE "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/x86_64/${CMAKE_INSTALL_MANIFEST}" 44 | "${CMAKE_INSTALL_MANIFEST_CONTENT}") 45 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/x86/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/AndroidProjects/NativeAPISecurityDemo/native-aes 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/Project") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "Release") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Install shared libraries without execute permission? 31 | if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE) 32 | set(CMAKE_INSTALL_SO_NO_EXE "0") 33 | endif() 34 | 35 | if(CMAKE_INSTALL_COMPONENT) 36 | set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt") 37 | else() 38 | set(CMAKE_INSTALL_MANIFEST "install_manifest.txt") 39 | endif() 40 | 41 | string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT 42 | "${CMAKE_INSTALL_MANIFEST_FILES}") 43 | file(WRITE "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/x86/${CMAKE_INSTALL_MANIFEST}" 44 | "${CMAKE_INSTALL_MANIFEST_CONTENT}") 45 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/armeabi/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/AndroidProjects/NativeAPISecurityDemo/native-aes 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/Project") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "Debug") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Install shared libraries without execute permission? 31 | if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE) 32 | set(CMAKE_INSTALL_SO_NO_EXE "0") 33 | endif() 34 | 35 | if(CMAKE_INSTALL_COMPONENT) 36 | set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt") 37 | else() 38 | set(CMAKE_INSTALL_MANIFEST "install_manifest.txt") 39 | endif() 40 | 41 | string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT 42 | "${CMAKE_INSTALL_MANIFEST_FILES}") 43 | file(WRITE "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/armeabi/${CMAKE_INSTALL_MANIFEST}" 44 | "${CMAKE_INSTALL_MANIFEST_CONTENT}") 45 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/mips/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/AndroidProjects/NativeAPISecurityDemo/native-aes 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/Project") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "Release") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Install shared libraries without execute permission? 31 | if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE) 32 | set(CMAKE_INSTALL_SO_NO_EXE "0") 33 | endif() 34 | 35 | if(CMAKE_INSTALL_COMPONENT) 36 | set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt") 37 | else() 38 | set(CMAKE_INSTALL_MANIFEST "install_manifest.txt") 39 | endif() 40 | 41 | string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT 42 | "${CMAKE_INSTALL_MANIFEST_FILES}") 43 | file(WRITE "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/mips/${CMAKE_INSTALL_MANIFEST}" 44 | "${CMAKE_INSTALL_MANIFEST_CONTENT}") 45 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/arm64-v8a/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/AndroidProjects/NativeAPISecurityDemo/native-aes 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/Project") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "Debug") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Install shared libraries without execute permission? 31 | if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE) 32 | set(CMAKE_INSTALL_SO_NO_EXE "0") 33 | endif() 34 | 35 | if(CMAKE_INSTALL_COMPONENT) 36 | set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt") 37 | else() 38 | set(CMAKE_INSTALL_MANIFEST "install_manifest.txt") 39 | endif() 40 | 41 | string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT 42 | "${CMAKE_INSTALL_MANIFEST_FILES}") 43 | file(WRITE "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/arm64-v8a/${CMAKE_INSTALL_MANIFEST}" 44 | "${CMAKE_INSTALL_MANIFEST_CONTENT}") 45 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/armeabi-v7a/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/AndroidProjects/NativeAPISecurityDemo/native-aes 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/Project") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "Debug") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Install shared libraries without execute permission? 31 | if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE) 32 | set(CMAKE_INSTALL_SO_NO_EXE "0") 33 | endif() 34 | 35 | if(CMAKE_INSTALL_COMPONENT) 36 | set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt") 37 | else() 38 | set(CMAKE_INSTALL_MANIFEST "install_manifest.txt") 39 | endif() 40 | 41 | string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT 42 | "${CMAKE_INSTALL_MANIFEST_FILES}") 43 | file(WRITE "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/armeabi-v7a/${CMAKE_INSTALL_MANIFEST}" 44 | "${CMAKE_INSTALL_MANIFEST_CONTENT}") 45 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/armeabi/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/AndroidProjects/NativeAPISecurityDemo/native-aes 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/Project") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "Release") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Install shared libraries without execute permission? 31 | if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE) 32 | set(CMAKE_INSTALL_SO_NO_EXE "0") 33 | endif() 34 | 35 | if(CMAKE_INSTALL_COMPONENT) 36 | set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt") 37 | else() 38 | set(CMAKE_INSTALL_MANIFEST "install_manifest.txt") 39 | endif() 40 | 41 | string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT 42 | "${CMAKE_INSTALL_MANIFEST_FILES}") 43 | file(WRITE "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/armeabi/${CMAKE_INSTALL_MANIFEST}" 44 | "${CMAKE_INSTALL_MANIFEST_CONTENT}") 45 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/mips64/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/AndroidProjects/NativeAPISecurityDemo/native-aes 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/Project") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "Release") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Install shared libraries without execute permission? 31 | if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE) 32 | set(CMAKE_INSTALL_SO_NO_EXE "0") 33 | endif() 34 | 35 | if(CMAKE_INSTALL_COMPONENT) 36 | set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt") 37 | else() 38 | set(CMAKE_INSTALL_MANIFEST "install_manifest.txt") 39 | endif() 40 | 41 | string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT 42 | "${CMAKE_INSTALL_MANIFEST_FILES}") 43 | file(WRITE "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/mips64/${CMAKE_INSTALL_MANIFEST}" 44 | "${CMAKE_INSTALL_MANIFEST_CONTENT}") 45 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/x86_64/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/AndroidProjects/NativeAPISecurityDemo/native-aes 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/Project") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "Release") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Install shared libraries without execute permission? 31 | if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE) 32 | set(CMAKE_INSTALL_SO_NO_EXE "0") 33 | endif() 34 | 35 | if(CMAKE_INSTALL_COMPONENT) 36 | set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt") 37 | else() 38 | set(CMAKE_INSTALL_MANIFEST "install_manifest.txt") 39 | endif() 40 | 41 | string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT 42 | "${CMAKE_INSTALL_MANIFEST_FILES}") 43 | file(WRITE "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/x86_64/${CMAKE_INSTALL_MANIFEST}" 44 | "${CMAKE_INSTALL_MANIFEST_CONTENT}") 45 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/arm64-v8a/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/AndroidProjects/NativeAPISecurityDemo/native-aes 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/Project") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "Release") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Install shared libraries without execute permission? 31 | if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE) 32 | set(CMAKE_INSTALL_SO_NO_EXE "0") 33 | endif() 34 | 35 | if(CMAKE_INSTALL_COMPONENT) 36 | set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt") 37 | else() 38 | set(CMAKE_INSTALL_MANIFEST "install_manifest.txt") 39 | endif() 40 | 41 | string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT 42 | "${CMAKE_INSTALL_MANIFEST_FILES}") 43 | file(WRITE "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/arm64-v8a/${CMAKE_INSTALL_MANIFEST}" 44 | "${CMAKE_INSTALL_MANIFEST_CONTENT}") 45 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/armeabi-v7a/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: D:/AndroidProjects/NativeAPISecurityDemo/native-aes 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/Project") 6 | endif() 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 8 | 9 | # Set the install configuration name. 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) 11 | if(BUILD_TYPE) 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") 14 | else() 15 | set(CMAKE_INSTALL_CONFIG_NAME "Release") 16 | endif() 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") 18 | endif() 19 | 20 | # Set the component getting installed. 21 | if(NOT CMAKE_INSTALL_COMPONENT) 22 | if(COMPONENT) 23 | message(STATUS "Install component: \"${COMPONENT}\"") 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") 25 | else() 26 | set(CMAKE_INSTALL_COMPONENT) 27 | endif() 28 | endif() 29 | 30 | # Install shared libraries without execute permission? 31 | if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE) 32 | set(CMAKE_INSTALL_SO_NO_EXE "0") 33 | endif() 34 | 35 | if(CMAKE_INSTALL_COMPONENT) 36 | set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt") 37 | else() 38 | set(CMAKE_INSTALL_MANIFEST "install_manifest.txt") 39 | endif() 40 | 41 | string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT 42 | "${CMAKE_INSTALL_MANIFEST_FILES}") 43 | file(WRITE "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/armeabi-v7a/${CMAKE_INSTALL_MANIFEST}" 44 | "${CMAKE_INSTALL_MANIFEST_CONTENT}") 45 | -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # For more information about using CMake with Android Studio, read the 2 | # documentation: https://d.android.com/studio/projects/add-native-code.html 3 | 4 | # Sets the minimum version of CMake required to build the native library. 5 | 6 | cmake_minimum_required(VERSION 3.4.1) 7 | 8 | # Creates and names a library, sets it as either STATIC 9 | # or SHARED, and provides the relative paths to its source code. 10 | # You can define multiple libraries, and CMake builds them for you. 11 | # Gradle automatically packages shared libraries with your APK. 12 | 13 | add_library( # Sets the name of the library. 14 | native-aes 15 | 16 | # Sets the library as a shared library. 17 | SHARED 18 | 19 | # Provides a relative path to your source file(s). 20 | src/main/cpp/encrypt.c 21 | src/main/cpp/aes/aes.c 22 | ) 23 | 24 | # Searches for a specified prebuilt library and stores the path as a 25 | # variable. Because CMake includes system libraries in the search path by 26 | # default, you only need to specify the name of the public NDK library 27 | # you want to add. CMake verifies that the library exists before 28 | # completing its build. 29 | 30 | find_library( # Sets the name of the path variable. 31 | log-lib 32 | 33 | # Specifies the name of the NDK library that 34 | # you want CMake to locate. 35 | log ) 36 | 37 | # Specifies libraries CMake should link to your target library. You 38 | # can link multiple libraries, such as libraries you define in this 39 | # build script, prebuilt third-party libraries, or system libraries. 40 | 41 | target_link_libraries( # Specifies the target library. 42 | native-aes 43 | 44 | # Links the target library to the log library 45 | # included in the NDK. 46 | ${log-lib} ) -------------------------------------------------------------------------------- /src/main/java/com/nic/nativeaes/wrapper/SecurityManager.java: -------------------------------------------------------------------------------- 1 | package com.nic.nativeaes.wrapper; 2 | 3 | import android.content.Context; 4 | 5 | import com.nic.controller.APIController; 6 | 7 | /** 8 | * Created by Deepak on 13-Oct-17. 9 | */ 10 | @SuppressWarnings("JniMissingFunction") 11 | public class SecurityManager { 12 | public static final String ENCODING = "UTF-8"; 13 | public static final int ENCRYPT = 0; 14 | public static final int DECRYPT = 1; 15 | 16 | public static final String HTTP_GET = "G"; 17 | public static final String HTTP_POST = "P"; 18 | public static final String ENABLE_SSL = "Y"; 19 | public static final String DISABLE_SSL = "N"; 20 | 21 | public static SecurityManager instance; 22 | private static Context context; 23 | private static Object apiHelper; 24 | private static Object apiController; 25 | 26 | static { 27 | System.loadLibrary("native-aes"); 28 | } 29 | 30 | private SecurityManager() { 31 | } 32 | 33 | public static SecurityManager getInstance(Context context, Object apiHelper) { 34 | SecurityManager.context = context; 35 | SecurityManager.apiHelper = apiHelper; 36 | SecurityManager.apiController = APIController.getInstance(); 37 | if (instance == null) { 38 | instance = new SecurityManager(); 39 | } 40 | return instance; 41 | } 42 | 43 | private static Context getClientContext() { 44 | return context; 45 | } 46 | 47 | private static Object getClientHelper() { 48 | return apiHelper; 49 | } 50 | 51 | private static Object getApiController() { 52 | return apiController; 53 | } 54 | 55 | 56 | public byte[] processData(byte[] data, long timestamp, int mode) { 57 | return aesProcessing(data, timestamp, mode); 58 | } 59 | 60 | public String processInput(byte[] data, long timestamp, String loc, String methodType, String sslMode) { 61 | return processRequest(data, timestamp, loc, methodType, sslMode); 62 | } 63 | 64 | private native byte[] aesProcessing(byte[] data, long time, int mode); 65 | 66 | private native String processRequest(byte[] data, long time, String loc, String methodType, String sslMode); 67 | 68 | } 69 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/x86/android_gradle_build.json: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "buildFiles" : [ "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/CMakeLists.txt" ], 4 | "cFileExtensions" : [ "c" ], 5 | "cleanCommands" : 6 | [ 7 | "D:\\AndroidSDK\\sdk\\cmake\\3.6.4111459\\bin\\cmake.exe --build D:\\AndroidProjects\\NativeAPISecurityDemo\\native-aes\\.externalNativeBuild\\cmake\\release\\x86 --target clean" 8 | ], 9 | "libraries" : 10 | { 11 | "native-aes-Release-x86" : 12 | { 13 | "abi" : "x86", 14 | "artifactName" : "native-aes", 15 | "buildCommand" : "D:\\AndroidSDK\\sdk\\cmake\\3.6.4111459\\bin\\cmake.exe --build D:\\AndroidProjects\\NativeAPISecurityDemo\\native-aes\\.externalNativeBuild\\cmake\\release\\x86 --target native-aes", 16 | "buildType" : "release", 17 | "files" : 18 | [ 19 | 20 | { 21 | "flags" : " --target=i686-none-linux-android --gcc-toolchain=D:/android-ndk-r15c/toolchains/x86-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot -Dnative_aes_EXPORTS -isystem D:/android-ndk-r15c/sysroot/usr/include/i686-linux-android -D__ANDROID_API__=14 -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -mstackrealign -Wa,--noexecstack -Wformat -Werror=format-security -fexceptions -frtti -O2 -DNDEBUG -fPIC -c ", 22 | "src" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/src/main/cpp/encrypt.c", 23 | "workingDirectory" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/x86" 24 | }, 25 | 26 | { 27 | "flags" : " --target=i686-none-linux-android --gcc-toolchain=D:/android-ndk-r15c/toolchains/x86-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot -Dnative_aes_EXPORTS -isystem D:/android-ndk-r15c/sysroot/usr/include/i686-linux-android -D__ANDROID_API__=14 -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -mstackrealign -Wa,--noexecstack -Wformat -Werror=format-security -fexceptions -frtti -O2 -DNDEBUG -fPIC -c ", 28 | "src" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/src/main/cpp/aes/aes.c", 29 | "workingDirectory" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/x86" 30 | } 31 | ], 32 | "output" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/build/intermediates/cmake/release/obj/x86/libnative-aes.so", 33 | "toolchain" : "4017096233" 34 | } 35 | }, 36 | "toolchains" : 37 | { 38 | "4017096233" : 39 | { 40 | "cCompilerExecutable" : "D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe", 41 | "cppCompilerExecutable" : "D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe" 42 | } 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/x86/android_gradle_build.json: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "buildFiles" : [ "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/CMakeLists.txt" ], 4 | "cFileExtensions" : [ "c" ], 5 | "cleanCommands" : 6 | [ 7 | "D:\\AndroidSDK\\sdk\\cmake\\3.6.4111459\\bin\\cmake.exe --build D:\\AndroidProjects\\NativeAPISecurityDemo\\native-aes\\.externalNativeBuild\\cmake\\debug\\x86 --target clean" 8 | ], 9 | "libraries" : 10 | { 11 | "native-aes-Debug-x86" : 12 | { 13 | "abi" : "x86", 14 | "artifactName" : "native-aes", 15 | "buildCommand" : "D:\\AndroidSDK\\sdk\\cmake\\3.6.4111459\\bin\\cmake.exe --build D:\\AndroidProjects\\NativeAPISecurityDemo\\native-aes\\.externalNativeBuild\\cmake\\debug\\x86 --target native-aes", 16 | "buildType" : "debug", 17 | "files" : 18 | [ 19 | 20 | { 21 | "flags" : " --target=i686-none-linux-android --gcc-toolchain=D:/android-ndk-r15c/toolchains/x86-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot -Dnative_aes_EXPORTS -isystem D:/android-ndk-r15c/sysroot/usr/include/i686-linux-android -D__ANDROID_API__=14 -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -mstackrealign -Wa,--noexecstack -Wformat -Werror=format-security -fexceptions -frtti -O0 -fno-limit-debug-info -fPIC -c ", 22 | "src" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/src/main/cpp/encrypt.c", 23 | "workingDirectory" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/x86" 24 | }, 25 | 26 | { 27 | "flags" : " --target=i686-none-linux-android --gcc-toolchain=D:/android-ndk-r15c/toolchains/x86-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot -Dnative_aes_EXPORTS -isystem D:/android-ndk-r15c/sysroot/usr/include/i686-linux-android -D__ANDROID_API__=14 -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -mstackrealign -Wa,--noexecstack -Wformat -Werror=format-security -fexceptions -frtti -O0 -fno-limit-debug-info -fPIC -c ", 28 | "src" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/src/main/cpp/aes/aes.c", 29 | "workingDirectory" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/x86" 30 | } 31 | ], 32 | "output" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/build/intermediates/cmake/debug/obj/x86/libnative-aes.so", 33 | "toolchain" : "4017096233" 34 | } 35 | }, 36 | "toolchains" : 37 | { 38 | "4017096233" : 39 | { 40 | "cCompilerExecutable" : "D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe", 41 | "cppCompilerExecutable" : "D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe" 42 | } 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/x86_64/android_gradle_build.json: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "buildFiles" : [ "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/CMakeLists.txt" ], 4 | "cFileExtensions" : [ "c" ], 5 | "cleanCommands" : 6 | [ 7 | "D:\\AndroidSDK\\sdk\\cmake\\3.6.4111459\\bin\\cmake.exe --build D:\\AndroidProjects\\NativeAPISecurityDemo\\native-aes\\.externalNativeBuild\\cmake\\release\\x86_64 --target clean" 8 | ], 9 | "libraries" : 10 | { 11 | "native-aes-Release-x86_64" : 12 | { 13 | "abi" : "x86_64", 14 | "artifactName" : "native-aes", 15 | "buildCommand" : "D:\\AndroidSDK\\sdk\\cmake\\3.6.4111459\\bin\\cmake.exe --build D:\\AndroidProjects\\NativeAPISecurityDemo\\native-aes\\.externalNativeBuild\\cmake\\release\\x86_64 --target native-aes", 16 | "buildType" : "release", 17 | "files" : 18 | [ 19 | 20 | { 21 | "flags" : " --target=x86_64-none-linux-android --gcc-toolchain=D:/android-ndk-r15c/toolchains/x86_64-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot -Dnative_aes_EXPORTS -isystem D:/android-ndk-r15c/sysroot/usr/include/x86_64-linux-android -D__ANDROID_API__=21 -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -Wa,--noexecstack -Wformat -Werror=format-security -fexceptions -frtti -O2 -DNDEBUG -fPIC -c ", 22 | "src" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/src/main/cpp/encrypt.c", 23 | "workingDirectory" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/x86_64" 24 | }, 25 | 26 | { 27 | "flags" : " --target=x86_64-none-linux-android --gcc-toolchain=D:/android-ndk-r15c/toolchains/x86_64-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot -Dnative_aes_EXPORTS -isystem D:/android-ndk-r15c/sysroot/usr/include/x86_64-linux-android -D__ANDROID_API__=21 -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -Wa,--noexecstack -Wformat -Werror=format-security -fexceptions -frtti -O2 -DNDEBUG -fPIC -c ", 28 | "src" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/src/main/cpp/aes/aes.c", 29 | "workingDirectory" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/x86_64" 30 | } 31 | ], 32 | "output" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/build/intermediates/cmake/release/obj/x86_64/libnative-aes.so", 33 | "toolchain" : "4017096233" 34 | } 35 | }, 36 | "toolchains" : 37 | { 38 | "4017096233" : 39 | { 40 | "cCompilerExecutable" : "D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe", 41 | "cppCompilerExecutable" : "D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe" 42 | } 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/x86_64/android_gradle_build.json: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "buildFiles" : [ "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/CMakeLists.txt" ], 4 | "cFileExtensions" : [ "c" ], 5 | "cleanCommands" : 6 | [ 7 | "D:\\AndroidSDK\\sdk\\cmake\\3.6.4111459\\bin\\cmake.exe --build D:\\AndroidProjects\\NativeAPISecurityDemo\\native-aes\\.externalNativeBuild\\cmake\\debug\\x86_64 --target clean" 8 | ], 9 | "libraries" : 10 | { 11 | "native-aes-Debug-x86_64" : 12 | { 13 | "abi" : "x86_64", 14 | "artifactName" : "native-aes", 15 | "buildCommand" : "D:\\AndroidSDK\\sdk\\cmake\\3.6.4111459\\bin\\cmake.exe --build D:\\AndroidProjects\\NativeAPISecurityDemo\\native-aes\\.externalNativeBuild\\cmake\\debug\\x86_64 --target native-aes", 16 | "buildType" : "debug", 17 | "files" : 18 | [ 19 | 20 | { 21 | "flags" : " --target=x86_64-none-linux-android --gcc-toolchain=D:/android-ndk-r15c/toolchains/x86_64-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot -Dnative_aes_EXPORTS -isystem D:/android-ndk-r15c/sysroot/usr/include/x86_64-linux-android -D__ANDROID_API__=21 -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -Wa,--noexecstack -Wformat -Werror=format-security -fexceptions -frtti -O0 -fno-limit-debug-info -fPIC -c ", 22 | "src" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/src/main/cpp/encrypt.c", 23 | "workingDirectory" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/x86_64" 24 | }, 25 | 26 | { 27 | "flags" : " --target=x86_64-none-linux-android --gcc-toolchain=D:/android-ndk-r15c/toolchains/x86_64-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot -Dnative_aes_EXPORTS -isystem D:/android-ndk-r15c/sysroot/usr/include/x86_64-linux-android -D__ANDROID_API__=21 -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -Wa,--noexecstack -Wformat -Werror=format-security -fexceptions -frtti -O0 -fno-limit-debug-info -fPIC -c ", 28 | "src" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/src/main/cpp/aes/aes.c", 29 | "workingDirectory" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/x86_64" 30 | } 31 | ], 32 | "output" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/build/intermediates/cmake/debug/obj/x86_64/libnative-aes.so", 33 | "toolchain" : "4017096233" 34 | } 35 | }, 36 | "toolchains" : 37 | { 38 | "4017096233" : 39 | { 40 | "cCompilerExecutable" : "D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe", 41 | "cppCompilerExecutable" : "D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe" 42 | } 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/mips/android_gradle_build.json: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "buildFiles" : [ "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/CMakeLists.txt" ], 4 | "cFileExtensions" : [ "c" ], 5 | "cleanCommands" : 6 | [ 7 | "D:\\AndroidSDK\\sdk\\cmake\\3.6.4111459\\bin\\cmake.exe --build D:\\AndroidProjects\\NativeAPISecurityDemo\\native-aes\\.externalNativeBuild\\cmake\\release\\mips --target clean" 8 | ], 9 | "libraries" : 10 | { 11 | "native-aes-Release-mips" : 12 | { 13 | "abi" : "mips", 14 | "artifactName" : "native-aes", 15 | "buildCommand" : "D:\\AndroidSDK\\sdk\\cmake\\3.6.4111459\\bin\\cmake.exe --build D:\\AndroidProjects\\NativeAPISecurityDemo\\native-aes\\.externalNativeBuild\\cmake\\release\\mips --target native-aes", 16 | "buildType" : "release", 17 | "files" : 18 | [ 19 | 20 | { 21 | "flags" : " --target=mipsel-none-linux-android --gcc-toolchain=D:/android-ndk-r15c/toolchains/mips64el-linux-android-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot -Dnative_aes_EXPORTS -isystem D:/android-ndk-r15c/sysroot/usr/include/mipsel-linux-android -D__ANDROID_API__=14 -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -mips32 -Wa,--noexecstack -Wformat -Werror=format-security -fexceptions -frtti -O2 -DNDEBUG -fPIC -c ", 22 | "src" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/src/main/cpp/encrypt.c", 23 | "workingDirectory" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/mips" 24 | }, 25 | 26 | { 27 | "flags" : " --target=mipsel-none-linux-android --gcc-toolchain=D:/android-ndk-r15c/toolchains/mips64el-linux-android-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot -Dnative_aes_EXPORTS -isystem D:/android-ndk-r15c/sysroot/usr/include/mipsel-linux-android -D__ANDROID_API__=14 -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -mips32 -Wa,--noexecstack -Wformat -Werror=format-security -fexceptions -frtti -O2 -DNDEBUG -fPIC -c ", 28 | "src" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/src/main/cpp/aes/aes.c", 29 | "workingDirectory" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/mips" 30 | } 31 | ], 32 | "output" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/build/intermediates/cmake/release/obj/mips/libnative-aes.so", 33 | "toolchain" : "4017096233" 34 | } 35 | }, 36 | "toolchains" : 37 | { 38 | "4017096233" : 39 | { 40 | "cCompilerExecutable" : "D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe", 41 | "cppCompilerExecutable" : "D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe" 42 | } 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/mips/android_gradle_build.json: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "buildFiles" : [ "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/CMakeLists.txt" ], 4 | "cFileExtensions" : [ "c" ], 5 | "cleanCommands" : 6 | [ 7 | "D:\\AndroidSDK\\sdk\\cmake\\3.6.4111459\\bin\\cmake.exe --build D:\\AndroidProjects\\NativeAPISecurityDemo\\native-aes\\.externalNativeBuild\\cmake\\debug\\mips --target clean" 8 | ], 9 | "libraries" : 10 | { 11 | "native-aes-Debug-mips" : 12 | { 13 | "abi" : "mips", 14 | "artifactName" : "native-aes", 15 | "buildCommand" : "D:\\AndroidSDK\\sdk\\cmake\\3.6.4111459\\bin\\cmake.exe --build D:\\AndroidProjects\\NativeAPISecurityDemo\\native-aes\\.externalNativeBuild\\cmake\\debug\\mips --target native-aes", 16 | "buildType" : "debug", 17 | "files" : 18 | [ 19 | 20 | { 21 | "flags" : " --target=mipsel-none-linux-android --gcc-toolchain=D:/android-ndk-r15c/toolchains/mips64el-linux-android-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot -Dnative_aes_EXPORTS -isystem D:/android-ndk-r15c/sysroot/usr/include/mipsel-linux-android -D__ANDROID_API__=14 -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -mips32 -Wa,--noexecstack -Wformat -Werror=format-security -fexceptions -frtti -O0 -fno-limit-debug-info -fPIC -c ", 22 | "src" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/src/main/cpp/encrypt.c", 23 | "workingDirectory" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/mips" 24 | }, 25 | 26 | { 27 | "flags" : " --target=mipsel-none-linux-android --gcc-toolchain=D:/android-ndk-r15c/toolchains/mips64el-linux-android-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot -Dnative_aes_EXPORTS -isystem D:/android-ndk-r15c/sysroot/usr/include/mipsel-linux-android -D__ANDROID_API__=14 -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -mips32 -Wa,--noexecstack -Wformat -Werror=format-security -fexceptions -frtti -O0 -fno-limit-debug-info -fPIC -c ", 28 | "src" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/src/main/cpp/aes/aes.c", 29 | "workingDirectory" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/mips" 30 | } 31 | ], 32 | "output" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/build/intermediates/cmake/debug/obj/mips/libnative-aes.so", 33 | "toolchain" : "4017096233" 34 | } 35 | }, 36 | "toolchains" : 37 | { 38 | "4017096233" : 39 | { 40 | "cCompilerExecutable" : "D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe", 41 | "cppCompilerExecutable" : "D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe" 42 | } 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/arm64-v8a/android_gradle_build.json: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "buildFiles" : [ "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/CMakeLists.txt" ], 4 | "cFileExtensions" : [ "c" ], 5 | "cleanCommands" : 6 | [ 7 | "D:\\AndroidSDK\\sdk\\cmake\\3.6.4111459\\bin\\cmake.exe --build D:\\AndroidProjects\\NativeAPISecurityDemo\\native-aes\\.externalNativeBuild\\cmake\\release\\arm64-v8a --target clean" 8 | ], 9 | "libraries" : 10 | { 11 | "native-aes-Release-arm64-v8a" : 12 | { 13 | "abi" : "arm64-v8a", 14 | "artifactName" : "native-aes", 15 | "buildCommand" : "D:\\AndroidSDK\\sdk\\cmake\\3.6.4111459\\bin\\cmake.exe --build D:\\AndroidProjects\\NativeAPISecurityDemo\\native-aes\\.externalNativeBuild\\cmake\\release\\arm64-v8a --target native-aes", 16 | "buildType" : "release", 17 | "files" : 18 | [ 19 | 20 | { 21 | "flags" : " --target=aarch64-none-linux-android --gcc-toolchain=D:/android-ndk-r15c/toolchains/aarch64-linux-android-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot -Dnative_aes_EXPORTS -isystem D:/android-ndk-r15c/sysroot/usr/include/aarch64-linux-android -D__ANDROID_API__=21 -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -Wa,--noexecstack -Wformat -Werror=format-security -fexceptions -frtti -O2 -DNDEBUG -fPIC -c ", 22 | "src" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/src/main/cpp/encrypt.c", 23 | "workingDirectory" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/arm64-v8a" 24 | }, 25 | 26 | { 27 | "flags" : " --target=aarch64-none-linux-android --gcc-toolchain=D:/android-ndk-r15c/toolchains/aarch64-linux-android-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot -Dnative_aes_EXPORTS -isystem D:/android-ndk-r15c/sysroot/usr/include/aarch64-linux-android -D__ANDROID_API__=21 -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -Wa,--noexecstack -Wformat -Werror=format-security -fexceptions -frtti -O2 -DNDEBUG -fPIC -c ", 28 | "src" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/src/main/cpp/aes/aes.c", 29 | "workingDirectory" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/arm64-v8a" 30 | } 31 | ], 32 | "output" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/build/intermediates/cmake/release/obj/arm64-v8a/libnative-aes.so", 33 | "toolchain" : "4017096233" 34 | } 35 | }, 36 | "toolchains" : 37 | { 38 | "4017096233" : 39 | { 40 | "cCompilerExecutable" : "D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe", 41 | "cppCompilerExecutable" : "D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe" 42 | } 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/arm64-v8a/android_gradle_build.json: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "buildFiles" : [ "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/CMakeLists.txt" ], 4 | "cFileExtensions" : [ "c" ], 5 | "cleanCommands" : 6 | [ 7 | "D:\\AndroidSDK\\sdk\\cmake\\3.6.4111459\\bin\\cmake.exe --build D:\\AndroidProjects\\NativeAPISecurityDemo\\native-aes\\.externalNativeBuild\\cmake\\debug\\arm64-v8a --target clean" 8 | ], 9 | "libraries" : 10 | { 11 | "native-aes-Debug-arm64-v8a" : 12 | { 13 | "abi" : "arm64-v8a", 14 | "artifactName" : "native-aes", 15 | "buildCommand" : "D:\\AndroidSDK\\sdk\\cmake\\3.6.4111459\\bin\\cmake.exe --build D:\\AndroidProjects\\NativeAPISecurityDemo\\native-aes\\.externalNativeBuild\\cmake\\debug\\arm64-v8a --target native-aes", 16 | "buildType" : "debug", 17 | "files" : 18 | [ 19 | 20 | { 21 | "flags" : " --target=aarch64-none-linux-android --gcc-toolchain=D:/android-ndk-r15c/toolchains/aarch64-linux-android-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot -Dnative_aes_EXPORTS -isystem D:/android-ndk-r15c/sysroot/usr/include/aarch64-linux-android -D__ANDROID_API__=21 -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -Wa,--noexecstack -Wformat -Werror=format-security -fexceptions -frtti -O0 -fno-limit-debug-info -fPIC -c ", 22 | "src" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/src/main/cpp/encrypt.c", 23 | "workingDirectory" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/arm64-v8a" 24 | }, 25 | 26 | { 27 | "flags" : " --target=aarch64-none-linux-android --gcc-toolchain=D:/android-ndk-r15c/toolchains/aarch64-linux-android-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot -Dnative_aes_EXPORTS -isystem D:/android-ndk-r15c/sysroot/usr/include/aarch64-linux-android -D__ANDROID_API__=21 -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -Wa,--noexecstack -Wformat -Werror=format-security -fexceptions -frtti -O0 -fno-limit-debug-info -fPIC -c ", 28 | "src" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/src/main/cpp/aes/aes.c", 29 | "workingDirectory" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/arm64-v8a" 30 | } 31 | ], 32 | "output" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/build/intermediates/cmake/debug/obj/arm64-v8a/libnative-aes.so", 33 | "toolchain" : "4017096233" 34 | } 35 | }, 36 | "toolchains" : 37 | { 38 | "4017096233" : 39 | { 40 | "cCompilerExecutable" : "D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe", 41 | "cppCompilerExecutable" : "D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe" 42 | } 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/x86/rules.ninja: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Ninja" Generator, CMake Version 3.6 3 | 4 | # This file contains all the rules used to get the outputs files 5 | # built from the input files. 6 | # It is included in the main 'build.ninja'. 7 | 8 | # ============================================================================= 9 | # Project: Project 10 | # Configuration: Debug 11 | # ============================================================================= 12 | # ============================================================================= 13 | 14 | ############################################# 15 | # Rule for running custom commands. 16 | 17 | rule CUSTOM_COMMAND 18 | command = $COMMAND 19 | description = $DESC 20 | 21 | 22 | ############################################# 23 | # Rule for compiling C files. 24 | 25 | rule C_COMPILER__native-aes 26 | depfile = $DEP_FILE 27 | deps = gcc 28 | command = D:\android-ndk-r15c\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=i686-none-linux-android --gcc-toolchain=D:/android-ndk-r15c/toolchains/x86-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $IN_ABS 29 | description = Building C object $out 30 | 31 | 32 | ############################################# 33 | # Rule for linking C shared library. 34 | 35 | rule C_SHARED_LIBRARY_LINKER__native-aes 36 | command = cmd.exe /C "$PRE_LINK && D:\android-ndk-r15c\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=i686-none-linux-android --gcc-toolchain=D:/android-ndk-r15c/toolchains/x86-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot -fPIC $LANGUAGE_COMPILE_FLAGS $ARCH_FLAGS $LINK_FLAGS -shared $SONAME_FLAG$SONAME -o $TARGET_FILE $in $LINK_PATH $LINK_LIBRARIES && $POST_BUILD" 37 | description = Linking C shared library $TARGET_FILE 38 | restat = $RESTAT 39 | 40 | 41 | ############################################# 42 | # Rule for re-running cmake. 43 | 44 | rule RERUN_CMAKE 45 | command = D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\cmake.exe -HD:\AndroidProjects\NativeAPISecurityDemo\native-aes -BD:\AndroidProjects\NativeAPISecurityDemo\native-aes\.externalNativeBuild\cmake\debug\x86 46 | description = Re-running CMake... 47 | generator = 1 48 | 49 | 50 | ############################################# 51 | # Rule for cleaning all built files. 52 | 53 | rule CLEAN 54 | command = D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\ninja.exe -t clean 55 | description = Cleaning all built files... 56 | 57 | 58 | ############################################# 59 | # Rule for printing all primary targets available. 60 | 61 | rule HELP 62 | command = D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\ninja.exe -t targets 63 | description = All primary targets available: 64 | 65 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/mips64/android_gradle_build.json: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "buildFiles" : [ "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/CMakeLists.txt" ], 4 | "cFileExtensions" : [ "c" ], 5 | "cleanCommands" : 6 | [ 7 | "D:\\AndroidSDK\\sdk\\cmake\\3.6.4111459\\bin\\cmake.exe --build D:\\AndroidProjects\\NativeAPISecurityDemo\\native-aes\\.externalNativeBuild\\cmake\\release\\mips64 --target clean" 8 | ], 9 | "libraries" : 10 | { 11 | "native-aes-Release-mips64" : 12 | { 13 | "abi" : "mips64", 14 | "artifactName" : "native-aes", 15 | "buildCommand" : "D:\\AndroidSDK\\sdk\\cmake\\3.6.4111459\\bin\\cmake.exe --build D:\\AndroidProjects\\NativeAPISecurityDemo\\native-aes\\.externalNativeBuild\\cmake\\release\\mips64 --target native-aes", 16 | "buildType" : "release", 17 | "files" : 18 | [ 19 | 20 | { 21 | "flags" : " --target=mips64el-none-linux-android --gcc-toolchain=D:/android-ndk-r15c/toolchains/mips64el-linux-android-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot -Dnative_aes_EXPORTS -isystem D:/android-ndk-r15c/sysroot/usr/include/mips64el-linux-android -D__ANDROID_API__=21 -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -fintegrated-as -Wa,--noexecstack -Wformat -Werror=format-security -fexceptions -frtti -O2 -DNDEBUG -fPIC -c ", 22 | "src" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/src/main/cpp/encrypt.c", 23 | "workingDirectory" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/mips64" 24 | }, 25 | 26 | { 27 | "flags" : " --target=mips64el-none-linux-android --gcc-toolchain=D:/android-ndk-r15c/toolchains/mips64el-linux-android-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot -Dnative_aes_EXPORTS -isystem D:/android-ndk-r15c/sysroot/usr/include/mips64el-linux-android -D__ANDROID_API__=21 -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -fintegrated-as -Wa,--noexecstack -Wformat -Werror=format-security -fexceptions -frtti -O2 -DNDEBUG -fPIC -c ", 28 | "src" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/src/main/cpp/aes/aes.c", 29 | "workingDirectory" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/mips64" 30 | } 31 | ], 32 | "output" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/build/intermediates/cmake/release/obj/mips64/libnative-aes.so", 33 | "toolchain" : "4017096233" 34 | } 35 | }, 36 | "toolchains" : 37 | { 38 | "4017096233" : 39 | { 40 | "cCompilerExecutable" : "D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe", 41 | "cppCompilerExecutable" : "D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe" 42 | } 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/x86/CMakeFiles/3.6.0-rc2/CMakeCCompiler.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_C_COMPILER "D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe") 2 | set(CMAKE_C_COMPILER_ARG1 "") 3 | set(CMAKE_C_COMPILER_ID "Clang") 4 | set(CMAKE_C_COMPILER_VERSION "3.8") 5 | set(CMAKE_C_COMPILER_WRAPPER "") 6 | set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11") 7 | set(CMAKE_C_COMPILE_FEATURES "c_function_prototypes;c_restrict;c_variadic_macros;c_static_assert") 8 | set(CMAKE_C90_COMPILE_FEATURES "c_function_prototypes") 9 | set(CMAKE_C99_COMPILE_FEATURES "c_restrict;c_variadic_macros") 10 | set(CMAKE_C11_COMPILE_FEATURES "c_static_assert") 11 | 12 | set(CMAKE_C_PLATFORM_ID "") 13 | set(CMAKE_C_SIMULATE_ID "") 14 | set(CMAKE_C_SIMULATE_VERSION "") 15 | 16 | set(CMAKE_AR "D:/android-ndk-r15c/toolchains/x86-4.9/prebuilt/windows-x86_64/bin/i686-linux-android-ar.exe") 17 | set(CMAKE_RANLIB "D:/android-ndk-r15c/toolchains/x86-4.9/prebuilt/windows-x86_64/bin/i686-linux-android-ranlib.exe") 18 | set(CMAKE_LINKER "D:/android-ndk-r15c/toolchains/x86-4.9/prebuilt/windows-x86_64/bin/i686-linux-android-ld.exe") 19 | set(CMAKE_COMPILER_IS_GNUCC ) 20 | set(CMAKE_C_COMPILER_LOADED 1) 21 | set(CMAKE_C_COMPILER_WORKS TRUE) 22 | set(CMAKE_C_ABI_COMPILED TRUE) 23 | set(CMAKE_COMPILER_IS_MINGW ) 24 | set(CMAKE_COMPILER_IS_CYGWIN ) 25 | if(CMAKE_COMPILER_IS_CYGWIN) 26 | set(CYGWIN 1) 27 | set(UNIX 1) 28 | endif() 29 | 30 | set(CMAKE_C_COMPILER_ENV_VAR "CC") 31 | 32 | if(CMAKE_COMPILER_IS_MINGW) 33 | set(MINGW 1) 34 | endif() 35 | set(CMAKE_C_COMPILER_ID_RUN 1) 36 | set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) 37 | set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) 38 | set(CMAKE_C_LINKER_PREFERENCE 10) 39 | 40 | # Save compiler ABI information. 41 | set(CMAKE_C_SIZEOF_DATA_PTR "4") 42 | set(CMAKE_C_COMPILER_ABI "ELF") 43 | set(CMAKE_C_LIBRARY_ARCHITECTURE "") 44 | 45 | if(CMAKE_C_SIZEOF_DATA_PTR) 46 | set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") 47 | endif() 48 | 49 | if(CMAKE_C_COMPILER_ABI) 50 | set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") 51 | endif() 52 | 53 | if(CMAKE_C_LIBRARY_ARCHITECTURE) 54 | set(CMAKE_LIBRARY_ARCHITECTURE "") 55 | endif() 56 | 57 | set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "") 58 | if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) 59 | set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") 60 | endif() 61 | 62 | 63 | 64 | 65 | set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "dl;c;dl") 66 | set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/5.0.300080/lib/linux/i386;D:/android-ndk-r15c/toolchains/x86-4.9/prebuilt/windows-x86_64/lib/gcc/i686-linux-android/4.9.x;D:/android-ndk-r15c/toolchains/x86-4.9/prebuilt/windows-x86_64/i686-linux-android/lib;D:/android-ndk-r15c/platforms/android-14/arch-x86/usr/lib") 67 | set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") 68 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/x86/rules.ninja: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Ninja" Generator, CMake Version 3.6 3 | 4 | # This file contains all the rules used to get the outputs files 5 | # built from the input files. 6 | # It is included in the main 'build.ninja'. 7 | 8 | # ============================================================================= 9 | # Project: Project 10 | # Configuration: Release 11 | # ============================================================================= 12 | # ============================================================================= 13 | 14 | ############################################# 15 | # Rule for running custom commands. 16 | 17 | rule CUSTOM_COMMAND 18 | command = $COMMAND 19 | description = $DESC 20 | 21 | 22 | ############################################# 23 | # Rule for compiling C files. 24 | 25 | rule C_COMPILER__native-aes 26 | depfile = $DEP_FILE 27 | deps = gcc 28 | command = D:\android-ndk-r15c\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=i686-none-linux-android --gcc-toolchain=D:/android-ndk-r15c/toolchains/x86-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $IN_ABS 29 | description = Building C object $out 30 | 31 | 32 | ############################################# 33 | # Rule for linking C shared library. 34 | 35 | rule C_SHARED_LIBRARY_LINKER__native-aes 36 | command = cmd.exe /C "$PRE_LINK && D:\android-ndk-r15c\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=i686-none-linux-android --gcc-toolchain=D:/android-ndk-r15c/toolchains/x86-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot -fPIC $LANGUAGE_COMPILE_FLAGS $ARCH_FLAGS $LINK_FLAGS -shared $SONAME_FLAG$SONAME -o $TARGET_FILE $in $LINK_PATH $LINK_LIBRARIES && $POST_BUILD" 37 | description = Linking C shared library $TARGET_FILE 38 | restat = $RESTAT 39 | 40 | 41 | ############################################# 42 | # Rule for re-running cmake. 43 | 44 | rule RERUN_CMAKE 45 | command = D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\cmake.exe -HD:\AndroidProjects\NativeAPISecurityDemo\native-aes -BD:\AndroidProjects\NativeAPISecurityDemo\native-aes\.externalNativeBuild\cmake\release\x86 46 | description = Re-running CMake... 47 | generator = 1 48 | 49 | 50 | ############################################# 51 | # Rule for cleaning all built files. 52 | 53 | rule CLEAN 54 | command = D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\ninja.exe -t clean 55 | description = Cleaning all built files... 56 | 57 | 58 | ############################################# 59 | # Rule for printing all primary targets available. 60 | 61 | rule HELP 62 | command = D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\ninja.exe -t targets 63 | description = All primary targets available: 64 | 65 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/mips64/android_gradle_build.json: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "buildFiles" : [ "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/CMakeLists.txt" ], 4 | "cFileExtensions" : [ "c" ], 5 | "cleanCommands" : 6 | [ 7 | "D:\\AndroidSDK\\sdk\\cmake\\3.6.4111459\\bin\\cmake.exe --build D:\\AndroidProjects\\NativeAPISecurityDemo\\native-aes\\.externalNativeBuild\\cmake\\debug\\mips64 --target clean" 8 | ], 9 | "libraries" : 10 | { 11 | "native-aes-Debug-mips64" : 12 | { 13 | "abi" : "mips64", 14 | "artifactName" : "native-aes", 15 | "buildCommand" : "D:\\AndroidSDK\\sdk\\cmake\\3.6.4111459\\bin\\cmake.exe --build D:\\AndroidProjects\\NativeAPISecurityDemo\\native-aes\\.externalNativeBuild\\cmake\\debug\\mips64 --target native-aes", 16 | "buildType" : "debug", 17 | "files" : 18 | [ 19 | 20 | { 21 | "flags" : " --target=mips64el-none-linux-android --gcc-toolchain=D:/android-ndk-r15c/toolchains/mips64el-linux-android-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot -Dnative_aes_EXPORTS -isystem D:/android-ndk-r15c/sysroot/usr/include/mips64el-linux-android -D__ANDROID_API__=21 -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -fintegrated-as -Wa,--noexecstack -Wformat -Werror=format-security -fexceptions -frtti -O0 -fno-limit-debug-info -fPIC -c ", 22 | "src" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/src/main/cpp/encrypt.c", 23 | "workingDirectory" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/mips64" 24 | }, 25 | 26 | { 27 | "flags" : " --target=mips64el-none-linux-android --gcc-toolchain=D:/android-ndk-r15c/toolchains/mips64el-linux-android-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot -Dnative_aes_EXPORTS -isystem D:/android-ndk-r15c/sysroot/usr/include/mips64el-linux-android -D__ANDROID_API__=21 -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -fintegrated-as -Wa,--noexecstack -Wformat -Werror=format-security -fexceptions -frtti -O0 -fno-limit-debug-info -fPIC -c ", 28 | "src" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/src/main/cpp/aes/aes.c", 29 | "workingDirectory" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/mips64" 30 | } 31 | ], 32 | "output" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/build/intermediates/cmake/debug/obj/mips64/libnative-aes.so", 33 | "toolchain" : "4017096233" 34 | } 35 | }, 36 | "toolchains" : 37 | { 38 | "4017096233" : 39 | { 40 | "cCompilerExecutable" : "D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe", 41 | "cppCompilerExecutable" : "D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe" 42 | } 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/x86/CMakeFiles/3.6.0-rc2/CMakeCCompiler.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_C_COMPILER "D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe") 2 | set(CMAKE_C_COMPILER_ARG1 "") 3 | set(CMAKE_C_COMPILER_ID "Clang") 4 | set(CMAKE_C_COMPILER_VERSION "3.8") 5 | set(CMAKE_C_COMPILER_WRAPPER "") 6 | set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11") 7 | set(CMAKE_C_COMPILE_FEATURES "c_function_prototypes;c_restrict;c_variadic_macros;c_static_assert") 8 | set(CMAKE_C90_COMPILE_FEATURES "c_function_prototypes") 9 | set(CMAKE_C99_COMPILE_FEATURES "c_restrict;c_variadic_macros") 10 | set(CMAKE_C11_COMPILE_FEATURES "c_static_assert") 11 | 12 | set(CMAKE_C_PLATFORM_ID "") 13 | set(CMAKE_C_SIMULATE_ID "") 14 | set(CMAKE_C_SIMULATE_VERSION "") 15 | 16 | set(CMAKE_AR "D:/android-ndk-r15c/toolchains/x86-4.9/prebuilt/windows-x86_64/bin/i686-linux-android-ar.exe") 17 | set(CMAKE_RANLIB "D:/android-ndk-r15c/toolchains/x86-4.9/prebuilt/windows-x86_64/bin/i686-linux-android-ranlib.exe") 18 | set(CMAKE_LINKER "D:/android-ndk-r15c/toolchains/x86-4.9/prebuilt/windows-x86_64/bin/i686-linux-android-ld.exe") 19 | set(CMAKE_COMPILER_IS_GNUCC ) 20 | set(CMAKE_C_COMPILER_LOADED 1) 21 | set(CMAKE_C_COMPILER_WORKS TRUE) 22 | set(CMAKE_C_ABI_COMPILED TRUE) 23 | set(CMAKE_COMPILER_IS_MINGW ) 24 | set(CMAKE_COMPILER_IS_CYGWIN ) 25 | if(CMAKE_COMPILER_IS_CYGWIN) 26 | set(CYGWIN 1) 27 | set(UNIX 1) 28 | endif() 29 | 30 | set(CMAKE_C_COMPILER_ENV_VAR "CC") 31 | 32 | if(CMAKE_COMPILER_IS_MINGW) 33 | set(MINGW 1) 34 | endif() 35 | set(CMAKE_C_COMPILER_ID_RUN 1) 36 | set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) 37 | set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) 38 | set(CMAKE_C_LINKER_PREFERENCE 10) 39 | 40 | # Save compiler ABI information. 41 | set(CMAKE_C_SIZEOF_DATA_PTR "4") 42 | set(CMAKE_C_COMPILER_ABI "ELF") 43 | set(CMAKE_C_LIBRARY_ARCHITECTURE "") 44 | 45 | if(CMAKE_C_SIZEOF_DATA_PTR) 46 | set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") 47 | endif() 48 | 49 | if(CMAKE_C_COMPILER_ABI) 50 | set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") 51 | endif() 52 | 53 | if(CMAKE_C_LIBRARY_ARCHITECTURE) 54 | set(CMAKE_LIBRARY_ARCHITECTURE "") 55 | endif() 56 | 57 | set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "") 58 | if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) 59 | set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") 60 | endif() 61 | 62 | 63 | 64 | 65 | set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "dl;c;dl") 66 | set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/5.0.300080/lib/linux/i386;D:/android-ndk-r15c/toolchains/x86-4.9/prebuilt/windows-x86_64/lib/gcc/i686-linux-android/4.9.x;D:/android-ndk-r15c/toolchains/x86-4.9/prebuilt/windows-x86_64/i686-linux-android/lib;D:/android-ndk-r15c/platforms/android-14/arch-x86/usr/lib") 67 | set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") 68 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/x86_64/rules.ninja: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Ninja" Generator, CMake Version 3.6 3 | 4 | # This file contains all the rules used to get the outputs files 5 | # built from the input files. 6 | # It is included in the main 'build.ninja'. 7 | 8 | # ============================================================================= 9 | # Project: Project 10 | # Configuration: Debug 11 | # ============================================================================= 12 | # ============================================================================= 13 | 14 | ############################################# 15 | # Rule for running custom commands. 16 | 17 | rule CUSTOM_COMMAND 18 | command = $COMMAND 19 | description = $DESC 20 | 21 | 22 | ############################################# 23 | # Rule for compiling C files. 24 | 25 | rule C_COMPILER__native-aes 26 | depfile = $DEP_FILE 27 | deps = gcc 28 | command = D:\android-ndk-r15c\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=x86_64-none-linux-android --gcc-toolchain=D:/android-ndk-r15c/toolchains/x86_64-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $IN_ABS 29 | description = Building C object $out 30 | 31 | 32 | ############################################# 33 | # Rule for linking C shared library. 34 | 35 | rule C_SHARED_LIBRARY_LINKER__native-aes 36 | command = cmd.exe /C "$PRE_LINK && D:\android-ndk-r15c\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=x86_64-none-linux-android --gcc-toolchain=D:/android-ndk-r15c/toolchains/x86_64-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot -fPIC $LANGUAGE_COMPILE_FLAGS $ARCH_FLAGS $LINK_FLAGS -shared $SONAME_FLAG$SONAME -o $TARGET_FILE $in $LINK_PATH $LINK_LIBRARIES && $POST_BUILD" 37 | description = Linking C shared library $TARGET_FILE 38 | restat = $RESTAT 39 | 40 | 41 | ############################################# 42 | # Rule for re-running cmake. 43 | 44 | rule RERUN_CMAKE 45 | command = D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\cmake.exe -HD:\AndroidProjects\NativeAPISecurityDemo\native-aes -BD:\AndroidProjects\NativeAPISecurityDemo\native-aes\.externalNativeBuild\cmake\debug\x86_64 46 | description = Re-running CMake... 47 | generator = 1 48 | 49 | 50 | ############################################# 51 | # Rule for cleaning all built files. 52 | 53 | rule CLEAN 54 | command = D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\ninja.exe -t clean 55 | description = Cleaning all built files... 56 | 57 | 58 | ############################################# 59 | # Rule for printing all primary targets available. 60 | 61 | rule HELP 62 | command = D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\ninja.exe -t targets 63 | description = All primary targets available: 64 | 65 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/x86_64/rules.ninja: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Ninja" Generator, CMake Version 3.6 3 | 4 | # This file contains all the rules used to get the outputs files 5 | # built from the input files. 6 | # It is included in the main 'build.ninja'. 7 | 8 | # ============================================================================= 9 | # Project: Project 10 | # Configuration: Release 11 | # ============================================================================= 12 | # ============================================================================= 13 | 14 | ############################################# 15 | # Rule for running custom commands. 16 | 17 | rule CUSTOM_COMMAND 18 | command = $COMMAND 19 | description = $DESC 20 | 21 | 22 | ############################################# 23 | # Rule for compiling C files. 24 | 25 | rule C_COMPILER__native-aes 26 | depfile = $DEP_FILE 27 | deps = gcc 28 | command = D:\android-ndk-r15c\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=x86_64-none-linux-android --gcc-toolchain=D:/android-ndk-r15c/toolchains/x86_64-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $IN_ABS 29 | description = Building C object $out 30 | 31 | 32 | ############################################# 33 | # Rule for linking C shared library. 34 | 35 | rule C_SHARED_LIBRARY_LINKER__native-aes 36 | command = cmd.exe /C "$PRE_LINK && D:\android-ndk-r15c\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=x86_64-none-linux-android --gcc-toolchain=D:/android-ndk-r15c/toolchains/x86_64-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot -fPIC $LANGUAGE_COMPILE_FLAGS $ARCH_FLAGS $LINK_FLAGS -shared $SONAME_FLAG$SONAME -o $TARGET_FILE $in $LINK_PATH $LINK_LIBRARIES && $POST_BUILD" 37 | description = Linking C shared library $TARGET_FILE 38 | restat = $RESTAT 39 | 40 | 41 | ############################################# 42 | # Rule for re-running cmake. 43 | 44 | rule RERUN_CMAKE 45 | command = D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\cmake.exe -HD:\AndroidProjects\NativeAPISecurityDemo\native-aes -BD:\AndroidProjects\NativeAPISecurityDemo\native-aes\.externalNativeBuild\cmake\release\x86_64 46 | description = Re-running CMake... 47 | generator = 1 48 | 49 | 50 | ############################################# 51 | # Rule for cleaning all built files. 52 | 53 | rule CLEAN 54 | command = D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\ninja.exe -t clean 55 | description = Cleaning all built files... 56 | 57 | 58 | ############################################# 59 | # Rule for printing all primary targets available. 60 | 61 | rule HELP 62 | command = D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\ninja.exe -t targets 63 | description = All primary targets available: 64 | 65 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/mips/rules.ninja: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Ninja" Generator, CMake Version 3.6 3 | 4 | # This file contains all the rules used to get the outputs files 5 | # built from the input files. 6 | # It is included in the main 'build.ninja'. 7 | 8 | # ============================================================================= 9 | # Project: Project 10 | # Configuration: Debug 11 | # ============================================================================= 12 | # ============================================================================= 13 | 14 | ############################################# 15 | # Rule for running custom commands. 16 | 17 | rule CUSTOM_COMMAND 18 | command = $COMMAND 19 | description = $DESC 20 | 21 | 22 | ############################################# 23 | # Rule for compiling C files. 24 | 25 | rule C_COMPILER__native-aes 26 | depfile = $DEP_FILE 27 | deps = gcc 28 | command = D:\android-ndk-r15c\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=mipsel-none-linux-android --gcc-toolchain=D:/android-ndk-r15c/toolchains/mips64el-linux-android-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $IN_ABS 29 | description = Building C object $out 30 | 31 | 32 | ############################################# 33 | # Rule for linking C shared library. 34 | 35 | rule C_SHARED_LIBRARY_LINKER__native-aes 36 | command = cmd.exe /C "$PRE_LINK && D:\android-ndk-r15c\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=mipsel-none-linux-android --gcc-toolchain=D:/android-ndk-r15c/toolchains/mips64el-linux-android-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot -fPIC $LANGUAGE_COMPILE_FLAGS $ARCH_FLAGS $LINK_FLAGS -shared $SONAME_FLAG$SONAME -o $TARGET_FILE $in $LINK_PATH $LINK_LIBRARIES && $POST_BUILD" 37 | description = Linking C shared library $TARGET_FILE 38 | restat = $RESTAT 39 | 40 | 41 | ############################################# 42 | # Rule for re-running cmake. 43 | 44 | rule RERUN_CMAKE 45 | command = D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\cmake.exe -HD:\AndroidProjects\NativeAPISecurityDemo\native-aes -BD:\AndroidProjects\NativeAPISecurityDemo\native-aes\.externalNativeBuild\cmake\debug\mips 46 | description = Re-running CMake... 47 | generator = 1 48 | 49 | 50 | ############################################# 51 | # Rule for cleaning all built files. 52 | 53 | rule CLEAN 54 | command = D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\ninja.exe -t clean 55 | description = Cleaning all built files... 56 | 57 | 58 | ############################################# 59 | # Rule for printing all primary targets available. 60 | 61 | rule HELP 62 | command = D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\ninja.exe -t targets 63 | description = All primary targets available: 64 | 65 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/arm64-v8a/rules.ninja: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Ninja" Generator, CMake Version 3.6 3 | 4 | # This file contains all the rules used to get the outputs files 5 | # built from the input files. 6 | # It is included in the main 'build.ninja'. 7 | 8 | # ============================================================================= 9 | # Project: Project 10 | # Configuration: Debug 11 | # ============================================================================= 12 | # ============================================================================= 13 | 14 | ############################################# 15 | # Rule for running custom commands. 16 | 17 | rule CUSTOM_COMMAND 18 | command = $COMMAND 19 | description = $DESC 20 | 21 | 22 | ############################################# 23 | # Rule for compiling C files. 24 | 25 | rule C_COMPILER__native-aes 26 | depfile = $DEP_FILE 27 | deps = gcc 28 | command = D:\android-ndk-r15c\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=aarch64-none-linux-android --gcc-toolchain=D:/android-ndk-r15c/toolchains/aarch64-linux-android-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $IN_ABS 29 | description = Building C object $out 30 | 31 | 32 | ############################################# 33 | # Rule for linking C shared library. 34 | 35 | rule C_SHARED_LIBRARY_LINKER__native-aes 36 | command = cmd.exe /C "$PRE_LINK && D:\android-ndk-r15c\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=aarch64-none-linux-android --gcc-toolchain=D:/android-ndk-r15c/toolchains/aarch64-linux-android-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot -fPIC $LANGUAGE_COMPILE_FLAGS $ARCH_FLAGS $LINK_FLAGS -shared $SONAME_FLAG$SONAME -o $TARGET_FILE $in $LINK_PATH $LINK_LIBRARIES && $POST_BUILD" 37 | description = Linking C shared library $TARGET_FILE 38 | restat = $RESTAT 39 | 40 | 41 | ############################################# 42 | # Rule for re-running cmake. 43 | 44 | rule RERUN_CMAKE 45 | command = D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\cmake.exe -HD:\AndroidProjects\NativeAPISecurityDemo\native-aes -BD:\AndroidProjects\NativeAPISecurityDemo\native-aes\.externalNativeBuild\cmake\debug\arm64-v8a 46 | description = Re-running CMake... 47 | generator = 1 48 | 49 | 50 | ############################################# 51 | # Rule for cleaning all built files. 52 | 53 | rule CLEAN 54 | command = D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\ninja.exe -t clean 55 | description = Cleaning all built files... 56 | 57 | 58 | ############################################# 59 | # Rule for printing all primary targets available. 60 | 61 | rule HELP 62 | command = D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\ninja.exe -t targets 63 | description = All primary targets available: 64 | 65 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/mips64/rules.ninja: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Ninja" Generator, CMake Version 3.6 3 | 4 | # This file contains all the rules used to get the outputs files 5 | # built from the input files. 6 | # It is included in the main 'build.ninja'. 7 | 8 | # ============================================================================= 9 | # Project: Project 10 | # Configuration: Debug 11 | # ============================================================================= 12 | # ============================================================================= 13 | 14 | ############################################# 15 | # Rule for running custom commands. 16 | 17 | rule CUSTOM_COMMAND 18 | command = $COMMAND 19 | description = $DESC 20 | 21 | 22 | ############################################# 23 | # Rule for compiling C files. 24 | 25 | rule C_COMPILER__native-aes 26 | depfile = $DEP_FILE 27 | deps = gcc 28 | command = D:\android-ndk-r15c\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=mips64el-none-linux-android --gcc-toolchain=D:/android-ndk-r15c/toolchains/mips64el-linux-android-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $IN_ABS 29 | description = Building C object $out 30 | 31 | 32 | ############################################# 33 | # Rule for linking C shared library. 34 | 35 | rule C_SHARED_LIBRARY_LINKER__native-aes 36 | command = cmd.exe /C "$PRE_LINK && D:\android-ndk-r15c\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=mips64el-none-linux-android --gcc-toolchain=D:/android-ndk-r15c/toolchains/mips64el-linux-android-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot -fPIC $LANGUAGE_COMPILE_FLAGS $ARCH_FLAGS $LINK_FLAGS -shared $SONAME_FLAG$SONAME -o $TARGET_FILE $in $LINK_PATH $LINK_LIBRARIES && $POST_BUILD" 37 | description = Linking C shared library $TARGET_FILE 38 | restat = $RESTAT 39 | 40 | 41 | ############################################# 42 | # Rule for re-running cmake. 43 | 44 | rule RERUN_CMAKE 45 | command = D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\cmake.exe -HD:\AndroidProjects\NativeAPISecurityDemo\native-aes -BD:\AndroidProjects\NativeAPISecurityDemo\native-aes\.externalNativeBuild\cmake\debug\mips64 46 | description = Re-running CMake... 47 | generator = 1 48 | 49 | 50 | ############################################# 51 | # Rule for cleaning all built files. 52 | 53 | rule CLEAN 54 | command = D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\ninja.exe -t clean 55 | description = Cleaning all built files... 56 | 57 | 58 | ############################################# 59 | # Rule for printing all primary targets available. 60 | 61 | rule HELP 62 | command = D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\ninja.exe -t targets 63 | description = All primary targets available: 64 | 65 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/mips/rules.ninja: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Ninja" Generator, CMake Version 3.6 3 | 4 | # This file contains all the rules used to get the outputs files 5 | # built from the input files. 6 | # It is included in the main 'build.ninja'. 7 | 8 | # ============================================================================= 9 | # Project: Project 10 | # Configuration: Release 11 | # ============================================================================= 12 | # ============================================================================= 13 | 14 | ############################################# 15 | # Rule for running custom commands. 16 | 17 | rule CUSTOM_COMMAND 18 | command = $COMMAND 19 | description = $DESC 20 | 21 | 22 | ############################################# 23 | # Rule for compiling C files. 24 | 25 | rule C_COMPILER__native-aes 26 | depfile = $DEP_FILE 27 | deps = gcc 28 | command = D:\android-ndk-r15c\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=mipsel-none-linux-android --gcc-toolchain=D:/android-ndk-r15c/toolchains/mips64el-linux-android-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $IN_ABS 29 | description = Building C object $out 30 | 31 | 32 | ############################################# 33 | # Rule for linking C shared library. 34 | 35 | rule C_SHARED_LIBRARY_LINKER__native-aes 36 | command = cmd.exe /C "$PRE_LINK && D:\android-ndk-r15c\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=mipsel-none-linux-android --gcc-toolchain=D:/android-ndk-r15c/toolchains/mips64el-linux-android-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot -fPIC $LANGUAGE_COMPILE_FLAGS $ARCH_FLAGS $LINK_FLAGS -shared $SONAME_FLAG$SONAME -o $TARGET_FILE $in $LINK_PATH $LINK_LIBRARIES && $POST_BUILD" 37 | description = Linking C shared library $TARGET_FILE 38 | restat = $RESTAT 39 | 40 | 41 | ############################################# 42 | # Rule for re-running cmake. 43 | 44 | rule RERUN_CMAKE 45 | command = D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\cmake.exe -HD:\AndroidProjects\NativeAPISecurityDemo\native-aes -BD:\AndroidProjects\NativeAPISecurityDemo\native-aes\.externalNativeBuild\cmake\release\mips 46 | description = Re-running CMake... 47 | generator = 1 48 | 49 | 50 | ############################################# 51 | # Rule for cleaning all built files. 52 | 53 | rule CLEAN 54 | command = D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\ninja.exe -t clean 55 | description = Cleaning all built files... 56 | 57 | 58 | ############################################# 59 | # Rule for printing all primary targets available. 60 | 61 | rule HELP 62 | command = D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\ninja.exe -t targets 63 | description = All primary targets available: 64 | 65 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/armeabi/rules.ninja: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Ninja" Generator, CMake Version 3.6 3 | 4 | # This file contains all the rules used to get the outputs files 5 | # built from the input files. 6 | # It is included in the main 'build.ninja'. 7 | 8 | # ============================================================================= 9 | # Project: Project 10 | # Configuration: Debug 11 | # ============================================================================= 12 | # ============================================================================= 13 | 14 | ############################################# 15 | # Rule for running custom commands. 16 | 17 | rule CUSTOM_COMMAND 18 | command = $COMMAND 19 | description = $DESC 20 | 21 | 22 | ############################################# 23 | # Rule for compiling C files. 24 | 25 | rule C_COMPILER__native-aes 26 | depfile = $DEP_FILE 27 | deps = gcc 28 | command = D:\android-ndk-r15c\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=armv5te-none-linux-androideabi --gcc-toolchain=D:/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $IN_ABS 29 | description = Building C object $out 30 | 31 | 32 | ############################################# 33 | # Rule for linking C shared library. 34 | 35 | rule C_SHARED_LIBRARY_LINKER__native-aes 36 | command = cmd.exe /C "$PRE_LINK && D:\android-ndk-r15c\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=armv5te-none-linux-androideabi --gcc-toolchain=D:/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot -fPIC $LANGUAGE_COMPILE_FLAGS $ARCH_FLAGS $LINK_FLAGS -shared $SONAME_FLAG$SONAME -o $TARGET_FILE $in $LINK_PATH $LINK_LIBRARIES && $POST_BUILD" 37 | description = Linking C shared library $TARGET_FILE 38 | restat = $RESTAT 39 | 40 | 41 | ############################################# 42 | # Rule for re-running cmake. 43 | 44 | rule RERUN_CMAKE 45 | command = D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\cmake.exe -HD:\AndroidProjects\NativeAPISecurityDemo\native-aes -BD:\AndroidProjects\NativeAPISecurityDemo\native-aes\.externalNativeBuild\cmake\debug\armeabi 46 | description = Re-running CMake... 47 | generator = 1 48 | 49 | 50 | ############################################# 51 | # Rule for cleaning all built files. 52 | 53 | rule CLEAN 54 | command = D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\ninja.exe -t clean 55 | description = Cleaning all built files... 56 | 57 | 58 | ############################################# 59 | # Rule for printing all primary targets available. 60 | 61 | rule HELP 62 | command = D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\ninja.exe -t targets 63 | description = All primary targets available: 64 | 65 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/mips64/rules.ninja: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Ninja" Generator, CMake Version 3.6 3 | 4 | # This file contains all the rules used to get the outputs files 5 | # built from the input files. 6 | # It is included in the main 'build.ninja'. 7 | 8 | # ============================================================================= 9 | # Project: Project 10 | # Configuration: Release 11 | # ============================================================================= 12 | # ============================================================================= 13 | 14 | ############################################# 15 | # Rule for running custom commands. 16 | 17 | rule CUSTOM_COMMAND 18 | command = $COMMAND 19 | description = $DESC 20 | 21 | 22 | ############################################# 23 | # Rule for compiling C files. 24 | 25 | rule C_COMPILER__native-aes 26 | depfile = $DEP_FILE 27 | deps = gcc 28 | command = D:\android-ndk-r15c\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=mips64el-none-linux-android --gcc-toolchain=D:/android-ndk-r15c/toolchains/mips64el-linux-android-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $IN_ABS 29 | description = Building C object $out 30 | 31 | 32 | ############################################# 33 | # Rule for linking C shared library. 34 | 35 | rule C_SHARED_LIBRARY_LINKER__native-aes 36 | command = cmd.exe /C "$PRE_LINK && D:\android-ndk-r15c\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=mips64el-none-linux-android --gcc-toolchain=D:/android-ndk-r15c/toolchains/mips64el-linux-android-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot -fPIC $LANGUAGE_COMPILE_FLAGS $ARCH_FLAGS $LINK_FLAGS -shared $SONAME_FLAG$SONAME -o $TARGET_FILE $in $LINK_PATH $LINK_LIBRARIES && $POST_BUILD" 37 | description = Linking C shared library $TARGET_FILE 38 | restat = $RESTAT 39 | 40 | 41 | ############################################# 42 | # Rule for re-running cmake. 43 | 44 | rule RERUN_CMAKE 45 | command = D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\cmake.exe -HD:\AndroidProjects\NativeAPISecurityDemo\native-aes -BD:\AndroidProjects\NativeAPISecurityDemo\native-aes\.externalNativeBuild\cmake\release\mips64 46 | description = Re-running CMake... 47 | generator = 1 48 | 49 | 50 | ############################################# 51 | # Rule for cleaning all built files. 52 | 53 | rule CLEAN 54 | command = D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\ninja.exe -t clean 55 | description = Cleaning all built files... 56 | 57 | 58 | ############################################# 59 | # Rule for printing all primary targets available. 60 | 61 | rule HELP 62 | command = D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\ninja.exe -t targets 63 | description = All primary targets available: 64 | 65 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/armeabi-v7a/rules.ninja: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Ninja" Generator, CMake Version 3.6 3 | 4 | # This file contains all the rules used to get the outputs files 5 | # built from the input files. 6 | # It is included in the main 'build.ninja'. 7 | 8 | # ============================================================================= 9 | # Project: Project 10 | # Configuration: Debug 11 | # ============================================================================= 12 | # ============================================================================= 13 | 14 | ############################################# 15 | # Rule for running custom commands. 16 | 17 | rule CUSTOM_COMMAND 18 | command = $COMMAND 19 | description = $DESC 20 | 21 | 22 | ############################################# 23 | # Rule for compiling C files. 24 | 25 | rule C_COMPILER__native-aes 26 | depfile = $DEP_FILE 27 | deps = gcc 28 | command = D:\android-ndk-r15c\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=armv7-none-linux-androideabi --gcc-toolchain=D:/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $IN_ABS 29 | description = Building C object $out 30 | 31 | 32 | ############################################# 33 | # Rule for linking C shared library. 34 | 35 | rule C_SHARED_LIBRARY_LINKER__native-aes 36 | command = cmd.exe /C "$PRE_LINK && D:\android-ndk-r15c\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=armv7-none-linux-androideabi --gcc-toolchain=D:/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot -fPIC $LANGUAGE_COMPILE_FLAGS $ARCH_FLAGS $LINK_FLAGS -shared $SONAME_FLAG$SONAME -o $TARGET_FILE $in $LINK_PATH $LINK_LIBRARIES && $POST_BUILD" 37 | description = Linking C shared library $TARGET_FILE 38 | restat = $RESTAT 39 | 40 | 41 | ############################################# 42 | # Rule for re-running cmake. 43 | 44 | rule RERUN_CMAKE 45 | command = D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\cmake.exe -HD:\AndroidProjects\NativeAPISecurityDemo\native-aes -BD:\AndroidProjects\NativeAPISecurityDemo\native-aes\.externalNativeBuild\cmake\debug\armeabi-v7a 46 | description = Re-running CMake... 47 | generator = 1 48 | 49 | 50 | ############################################# 51 | # Rule for cleaning all built files. 52 | 53 | rule CLEAN 54 | command = D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\ninja.exe -t clean 55 | description = Cleaning all built files... 56 | 57 | 58 | ############################################# 59 | # Rule for printing all primary targets available. 60 | 61 | rule HELP 62 | command = D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\ninja.exe -t targets 63 | description = All primary targets available: 64 | 65 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/arm64-v8a/rules.ninja: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Ninja" Generator, CMake Version 3.6 3 | 4 | # This file contains all the rules used to get the outputs files 5 | # built from the input files. 6 | # It is included in the main 'build.ninja'. 7 | 8 | # ============================================================================= 9 | # Project: Project 10 | # Configuration: Release 11 | # ============================================================================= 12 | # ============================================================================= 13 | 14 | ############################################# 15 | # Rule for running custom commands. 16 | 17 | rule CUSTOM_COMMAND 18 | command = $COMMAND 19 | description = $DESC 20 | 21 | 22 | ############################################# 23 | # Rule for compiling C files. 24 | 25 | rule C_COMPILER__native-aes 26 | depfile = $DEP_FILE 27 | deps = gcc 28 | command = D:\android-ndk-r15c\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=aarch64-none-linux-android --gcc-toolchain=D:/android-ndk-r15c/toolchains/aarch64-linux-android-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $IN_ABS 29 | description = Building C object $out 30 | 31 | 32 | ############################################# 33 | # Rule for linking C shared library. 34 | 35 | rule C_SHARED_LIBRARY_LINKER__native-aes 36 | command = cmd.exe /C "$PRE_LINK && D:\android-ndk-r15c\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=aarch64-none-linux-android --gcc-toolchain=D:/android-ndk-r15c/toolchains/aarch64-linux-android-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot -fPIC $LANGUAGE_COMPILE_FLAGS $ARCH_FLAGS $LINK_FLAGS -shared $SONAME_FLAG$SONAME -o $TARGET_FILE $in $LINK_PATH $LINK_LIBRARIES && $POST_BUILD" 37 | description = Linking C shared library $TARGET_FILE 38 | restat = $RESTAT 39 | 40 | 41 | ############################################# 42 | # Rule for re-running cmake. 43 | 44 | rule RERUN_CMAKE 45 | command = D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\cmake.exe -HD:\AndroidProjects\NativeAPISecurityDemo\native-aes -BD:\AndroidProjects\NativeAPISecurityDemo\native-aes\.externalNativeBuild\cmake\release\arm64-v8a 46 | description = Re-running CMake... 47 | generator = 1 48 | 49 | 50 | ############################################# 51 | # Rule for cleaning all built files. 52 | 53 | rule CLEAN 54 | command = D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\ninja.exe -t clean 55 | description = Cleaning all built files... 56 | 57 | 58 | ############################################# 59 | # Rule for printing all primary targets available. 60 | 61 | rule HELP 62 | command = D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\ninja.exe -t targets 63 | description = All primary targets available: 64 | 65 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/armeabi/rules.ninja: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Ninja" Generator, CMake Version 3.6 3 | 4 | # This file contains all the rules used to get the outputs files 5 | # built from the input files. 6 | # It is included in the main 'build.ninja'. 7 | 8 | # ============================================================================= 9 | # Project: Project 10 | # Configuration: Release 11 | # ============================================================================= 12 | # ============================================================================= 13 | 14 | ############################################# 15 | # Rule for running custom commands. 16 | 17 | rule CUSTOM_COMMAND 18 | command = $COMMAND 19 | description = $DESC 20 | 21 | 22 | ############################################# 23 | # Rule for compiling C files. 24 | 25 | rule C_COMPILER__native-aes 26 | depfile = $DEP_FILE 27 | deps = gcc 28 | command = D:\android-ndk-r15c\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=armv5te-none-linux-androideabi --gcc-toolchain=D:/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $IN_ABS 29 | description = Building C object $out 30 | 31 | 32 | ############################################# 33 | # Rule for linking C shared library. 34 | 35 | rule C_SHARED_LIBRARY_LINKER__native-aes 36 | command = cmd.exe /C "$PRE_LINK && D:\android-ndk-r15c\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=armv5te-none-linux-androideabi --gcc-toolchain=D:/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot -fPIC $LANGUAGE_COMPILE_FLAGS $ARCH_FLAGS $LINK_FLAGS -shared $SONAME_FLAG$SONAME -o $TARGET_FILE $in $LINK_PATH $LINK_LIBRARIES && $POST_BUILD" 37 | description = Linking C shared library $TARGET_FILE 38 | restat = $RESTAT 39 | 40 | 41 | ############################################# 42 | # Rule for re-running cmake. 43 | 44 | rule RERUN_CMAKE 45 | command = D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\cmake.exe -HD:\AndroidProjects\NativeAPISecurityDemo\native-aes -BD:\AndroidProjects\NativeAPISecurityDemo\native-aes\.externalNativeBuild\cmake\release\armeabi 46 | description = Re-running CMake... 47 | generator = 1 48 | 49 | 50 | ############################################# 51 | # Rule for cleaning all built files. 52 | 53 | rule CLEAN 54 | command = D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\ninja.exe -t clean 55 | description = Cleaning all built files... 56 | 57 | 58 | ############################################# 59 | # Rule for printing all primary targets available. 60 | 61 | rule HELP 62 | command = D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\ninja.exe -t targets 63 | description = All primary targets available: 64 | 65 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/armeabi-v7a/rules.ninja: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Ninja" Generator, CMake Version 3.6 3 | 4 | # This file contains all the rules used to get the outputs files 5 | # built from the input files. 6 | # It is included in the main 'build.ninja'. 7 | 8 | # ============================================================================= 9 | # Project: Project 10 | # Configuration: Release 11 | # ============================================================================= 12 | # ============================================================================= 13 | 14 | ############################################# 15 | # Rule for running custom commands. 16 | 17 | rule CUSTOM_COMMAND 18 | command = $COMMAND 19 | description = $DESC 20 | 21 | 22 | ############################################# 23 | # Rule for compiling C files. 24 | 25 | rule C_COMPILER__native-aes 26 | depfile = $DEP_FILE 27 | deps = gcc 28 | command = D:\android-ndk-r15c\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=armv7-none-linux-androideabi --gcc-toolchain=D:/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $IN_ABS 29 | description = Building C object $out 30 | 31 | 32 | ############################################# 33 | # Rule for linking C shared library. 34 | 35 | rule C_SHARED_LIBRARY_LINKER__native-aes 36 | command = cmd.exe /C "$PRE_LINK && D:\android-ndk-r15c\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=armv7-none-linux-androideabi --gcc-toolchain=D:/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot -fPIC $LANGUAGE_COMPILE_FLAGS $ARCH_FLAGS $LINK_FLAGS -shared $SONAME_FLAG$SONAME -o $TARGET_FILE $in $LINK_PATH $LINK_LIBRARIES && $POST_BUILD" 37 | description = Linking C shared library $TARGET_FILE 38 | restat = $RESTAT 39 | 40 | 41 | ############################################# 42 | # Rule for re-running cmake. 43 | 44 | rule RERUN_CMAKE 45 | command = D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\cmake.exe -HD:\AndroidProjects\NativeAPISecurityDemo\native-aes -BD:\AndroidProjects\NativeAPISecurityDemo\native-aes\.externalNativeBuild\cmake\release\armeabi-v7a 46 | description = Re-running CMake... 47 | generator = 1 48 | 49 | 50 | ############################################# 51 | # Rule for cleaning all built files. 52 | 53 | rule CLEAN 54 | command = D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\ninja.exe -t clean 55 | description = Cleaning all built files... 56 | 57 | 58 | ############################################# 59 | # Rule for printing all primary targets available. 60 | 61 | rule HELP 62 | command = D:\AndroidSDK\sdk\cmake\3.6.4111459\bin\ninja.exe -t targets 63 | description = All primary targets available: 64 | 65 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/armeabi/android_gradle_build.json: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "buildFiles" : [ "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/CMakeLists.txt" ], 4 | "cFileExtensions" : [ "c" ], 5 | "cleanCommands" : 6 | [ 7 | "D:\\AndroidSDK\\sdk\\cmake\\3.6.4111459\\bin\\cmake.exe --build D:\\AndroidProjects\\NativeAPISecurityDemo\\native-aes\\.externalNativeBuild\\cmake\\release\\armeabi --target clean" 8 | ], 9 | "libraries" : 10 | { 11 | "native-aes-Release-armeabi" : 12 | { 13 | "abi" : "armeabi", 14 | "artifactName" : "native-aes", 15 | "buildCommand" : "D:\\AndroidSDK\\sdk\\cmake\\3.6.4111459\\bin\\cmake.exe --build D:\\AndroidProjects\\NativeAPISecurityDemo\\native-aes\\.externalNativeBuild\\cmake\\release\\armeabi --target native-aes", 16 | "buildType" : "release", 17 | "files" : 18 | [ 19 | 20 | { 21 | "flags" : " --target=armv5te-none-linux-androideabi --gcc-toolchain=D:/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot -Dnative_aes_EXPORTS -isystem D:/android-ndk-r15c/sysroot/usr/include/arm-linux-androideabi -D__ANDROID_API__=14 -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv5te -mtune=xscale -msoft-float -fno-integrated-as -mthumb -Wa,--noexecstack -Wformat -Werror=format-security -fexceptions -frtti -Os -DNDEBUG -fPIC -c ", 22 | "src" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/src/main/cpp/encrypt.c", 23 | "workingDirectory" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/armeabi" 24 | }, 25 | 26 | { 27 | "flags" : " --target=armv5te-none-linux-androideabi --gcc-toolchain=D:/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot -Dnative_aes_EXPORTS -isystem D:/android-ndk-r15c/sysroot/usr/include/arm-linux-androideabi -D__ANDROID_API__=14 -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv5te -mtune=xscale -msoft-float -fno-integrated-as -mthumb -Wa,--noexecstack -Wformat -Werror=format-security -fexceptions -frtti -Os -DNDEBUG -fPIC -c ", 28 | "src" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/src/main/cpp/aes/aes.c", 29 | "workingDirectory" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/armeabi" 30 | } 31 | ], 32 | "output" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/build/intermediates/cmake/release/obj/armeabi/libnative-aes.so", 33 | "toolchain" : "4017096233" 34 | } 35 | }, 36 | "toolchains" : 37 | { 38 | "4017096233" : 39 | { 40 | "cCompilerExecutable" : "D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe", 41 | "cppCompilerExecutable" : "D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe" 42 | } 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/armeabi/CMakeFiles/3.6.0-rc2/CMakeCCompiler.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_C_COMPILER "D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe") 2 | set(CMAKE_C_COMPILER_ARG1 "") 3 | set(CMAKE_C_COMPILER_ID "Clang") 4 | set(CMAKE_C_COMPILER_VERSION "3.8") 5 | set(CMAKE_C_COMPILER_WRAPPER "") 6 | set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11") 7 | set(CMAKE_C_COMPILE_FEATURES "c_function_prototypes;c_restrict;c_variadic_macros;c_static_assert") 8 | set(CMAKE_C90_COMPILE_FEATURES "c_function_prototypes") 9 | set(CMAKE_C99_COMPILE_FEATURES "c_restrict;c_variadic_macros") 10 | set(CMAKE_C11_COMPILE_FEATURES "c_static_assert") 11 | 12 | set(CMAKE_C_PLATFORM_ID "") 13 | set(CMAKE_C_SIMULATE_ID "") 14 | set(CMAKE_C_SIMULATE_VERSION "") 15 | 16 | set(CMAKE_AR "D:/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-ar.exe") 17 | set(CMAKE_RANLIB "D:/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-ranlib.exe") 18 | set(CMAKE_LINKER "D:/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-ld.exe") 19 | set(CMAKE_COMPILER_IS_GNUCC ) 20 | set(CMAKE_C_COMPILER_LOADED 1) 21 | set(CMAKE_C_COMPILER_WORKS TRUE) 22 | set(CMAKE_C_ABI_COMPILED TRUE) 23 | set(CMAKE_COMPILER_IS_MINGW ) 24 | set(CMAKE_COMPILER_IS_CYGWIN ) 25 | if(CMAKE_COMPILER_IS_CYGWIN) 26 | set(CYGWIN 1) 27 | set(UNIX 1) 28 | endif() 29 | 30 | set(CMAKE_C_COMPILER_ENV_VAR "CC") 31 | 32 | if(CMAKE_COMPILER_IS_MINGW) 33 | set(MINGW 1) 34 | endif() 35 | set(CMAKE_C_COMPILER_ID_RUN 1) 36 | set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) 37 | set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) 38 | set(CMAKE_C_LINKER_PREFERENCE 10) 39 | 40 | # Save compiler ABI information. 41 | set(CMAKE_C_SIZEOF_DATA_PTR "4") 42 | set(CMAKE_C_COMPILER_ABI "ELF") 43 | set(CMAKE_C_LIBRARY_ARCHITECTURE "") 44 | 45 | if(CMAKE_C_SIZEOF_DATA_PTR) 46 | set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") 47 | endif() 48 | 49 | if(CMAKE_C_COMPILER_ABI) 50 | set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") 51 | endif() 52 | 53 | if(CMAKE_C_LIBRARY_ARCHITECTURE) 54 | set(CMAKE_LIBRARY_ARCHITECTURE "") 55 | endif() 56 | 57 | set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "") 58 | if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) 59 | set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") 60 | endif() 61 | 62 | 63 | 64 | 65 | set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "dl;c;dl") 66 | set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/5.0.300080/lib/linux/arm;D:/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/thumb;D:/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/arm-linux-androideabi/lib/thumb;D:/android-ndk-r15c/platforms/android-14/arch-arm/usr/lib") 67 | set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") 68 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/armeabi/android_gradle_build.json: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "buildFiles" : [ "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/CMakeLists.txt" ], 4 | "cFileExtensions" : [ "c" ], 5 | "cleanCommands" : 6 | [ 7 | "D:\\AndroidSDK\\sdk\\cmake\\3.6.4111459\\bin\\cmake.exe --build D:\\AndroidProjects\\NativeAPISecurityDemo\\native-aes\\.externalNativeBuild\\cmake\\debug\\armeabi --target clean" 8 | ], 9 | "libraries" : 10 | { 11 | "native-aes-Debug-armeabi" : 12 | { 13 | "abi" : "armeabi", 14 | "artifactName" : "native-aes", 15 | "buildCommand" : "D:\\AndroidSDK\\sdk\\cmake\\3.6.4111459\\bin\\cmake.exe --build D:\\AndroidProjects\\NativeAPISecurityDemo\\native-aes\\.externalNativeBuild\\cmake\\debug\\armeabi --target native-aes", 16 | "buildType" : "debug", 17 | "files" : 18 | [ 19 | 20 | { 21 | "flags" : " --target=armv5te-none-linux-androideabi --gcc-toolchain=D:/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot -Dnative_aes_EXPORTS -isystem D:/android-ndk-r15c/sysroot/usr/include/arm-linux-androideabi -D__ANDROID_API__=14 -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv5te -mtune=xscale -msoft-float -fno-integrated-as -mthumb -Wa,--noexecstack -Wformat -Werror=format-security -fexceptions -frtti -O0 -fno-limit-debug-info -fPIC -c ", 22 | "src" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/src/main/cpp/encrypt.c", 23 | "workingDirectory" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/armeabi" 24 | }, 25 | 26 | { 27 | "flags" : " --target=armv5te-none-linux-androideabi --gcc-toolchain=D:/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot -Dnative_aes_EXPORTS -isystem D:/android-ndk-r15c/sysroot/usr/include/arm-linux-androideabi -D__ANDROID_API__=14 -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv5te -mtune=xscale -msoft-float -fno-integrated-as -mthumb -Wa,--noexecstack -Wformat -Werror=format-security -fexceptions -frtti -O0 -fno-limit-debug-info -fPIC -c ", 28 | "src" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/src/main/cpp/aes/aes.c", 29 | "workingDirectory" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/debug/armeabi" 30 | } 31 | ], 32 | "output" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/build/intermediates/cmake/debug/obj/armeabi/libnative-aes.so", 33 | "toolchain" : "4017096233" 34 | } 35 | }, 36 | "toolchains" : 37 | { 38 | "4017096233" : 39 | { 40 | "cCompilerExecutable" : "D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe", 41 | "cppCompilerExecutable" : "D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe" 42 | } 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/armeabi/CMakeFiles/3.6.0-rc2/CMakeCCompiler.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_C_COMPILER "D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe") 2 | set(CMAKE_C_COMPILER_ARG1 "") 3 | set(CMAKE_C_COMPILER_ID "Clang") 4 | set(CMAKE_C_COMPILER_VERSION "3.8") 5 | set(CMAKE_C_COMPILER_WRAPPER "") 6 | set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11") 7 | set(CMAKE_C_COMPILE_FEATURES "c_function_prototypes;c_restrict;c_variadic_macros;c_static_assert") 8 | set(CMAKE_C90_COMPILE_FEATURES "c_function_prototypes") 9 | set(CMAKE_C99_COMPILE_FEATURES "c_restrict;c_variadic_macros") 10 | set(CMAKE_C11_COMPILE_FEATURES "c_static_assert") 11 | 12 | set(CMAKE_C_PLATFORM_ID "") 13 | set(CMAKE_C_SIMULATE_ID "") 14 | set(CMAKE_C_SIMULATE_VERSION "") 15 | 16 | set(CMAKE_AR "D:/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-ar.exe") 17 | set(CMAKE_RANLIB "D:/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-ranlib.exe") 18 | set(CMAKE_LINKER "D:/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-ld.exe") 19 | set(CMAKE_COMPILER_IS_GNUCC ) 20 | set(CMAKE_C_COMPILER_LOADED 1) 21 | set(CMAKE_C_COMPILER_WORKS TRUE) 22 | set(CMAKE_C_ABI_COMPILED TRUE) 23 | set(CMAKE_COMPILER_IS_MINGW ) 24 | set(CMAKE_COMPILER_IS_CYGWIN ) 25 | if(CMAKE_COMPILER_IS_CYGWIN) 26 | set(CYGWIN 1) 27 | set(UNIX 1) 28 | endif() 29 | 30 | set(CMAKE_C_COMPILER_ENV_VAR "CC") 31 | 32 | if(CMAKE_COMPILER_IS_MINGW) 33 | set(MINGW 1) 34 | endif() 35 | set(CMAKE_C_COMPILER_ID_RUN 1) 36 | set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) 37 | set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) 38 | set(CMAKE_C_LINKER_PREFERENCE 10) 39 | 40 | # Save compiler ABI information. 41 | set(CMAKE_C_SIZEOF_DATA_PTR "4") 42 | set(CMAKE_C_COMPILER_ABI "ELF") 43 | set(CMAKE_C_LIBRARY_ARCHITECTURE "") 44 | 45 | if(CMAKE_C_SIZEOF_DATA_PTR) 46 | set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") 47 | endif() 48 | 49 | if(CMAKE_C_COMPILER_ABI) 50 | set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") 51 | endif() 52 | 53 | if(CMAKE_C_LIBRARY_ARCHITECTURE) 54 | set(CMAKE_LIBRARY_ARCHITECTURE "") 55 | endif() 56 | 57 | set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "") 58 | if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) 59 | set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") 60 | endif() 61 | 62 | 63 | 64 | 65 | set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "dl;c;dl") 66 | set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/5.0.300080/lib/linux/arm;D:/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/thumb;D:/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/arm-linux-androideabi/lib/thumb;D:/android-ndk-r15c/platforms/android-14/arch-arm/usr/lib") 67 | set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") 68 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/mips/CMakeFiles/3.6.0-rc2/CMakeCCompiler.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_C_COMPILER "D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe") 2 | set(CMAKE_C_COMPILER_ARG1 "") 3 | set(CMAKE_C_COMPILER_ID "Clang") 4 | set(CMAKE_C_COMPILER_VERSION "3.8") 5 | set(CMAKE_C_COMPILER_WRAPPER "") 6 | set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11") 7 | set(CMAKE_C_COMPILE_FEATURES "c_function_prototypes;c_restrict;c_variadic_macros;c_static_assert") 8 | set(CMAKE_C90_COMPILE_FEATURES "c_function_prototypes") 9 | set(CMAKE_C99_COMPILE_FEATURES "c_restrict;c_variadic_macros") 10 | set(CMAKE_C11_COMPILE_FEATURES "c_static_assert") 11 | 12 | set(CMAKE_C_PLATFORM_ID "") 13 | set(CMAKE_C_SIMULATE_ID "") 14 | set(CMAKE_C_SIMULATE_VERSION "") 15 | 16 | set(CMAKE_AR "D:/android-ndk-r15c/toolchains/mips64el-linux-android-4.9/prebuilt/windows-x86_64/bin/mips64el-linux-android-ar.exe") 17 | set(CMAKE_RANLIB "D:/android-ndk-r15c/toolchains/mips64el-linux-android-4.9/prebuilt/windows-x86_64/bin/mips64el-linux-android-ranlib.exe") 18 | set(CMAKE_LINKER "D:/android-ndk-r15c/toolchains/mips64el-linux-android-4.9/prebuilt/windows-x86_64/bin/mips64el-linux-android-ld.exe") 19 | set(CMAKE_COMPILER_IS_GNUCC ) 20 | set(CMAKE_C_COMPILER_LOADED 1) 21 | set(CMAKE_C_COMPILER_WORKS TRUE) 22 | set(CMAKE_C_ABI_COMPILED TRUE) 23 | set(CMAKE_COMPILER_IS_MINGW ) 24 | set(CMAKE_COMPILER_IS_CYGWIN ) 25 | if(CMAKE_COMPILER_IS_CYGWIN) 26 | set(CYGWIN 1) 27 | set(UNIX 1) 28 | endif() 29 | 30 | set(CMAKE_C_COMPILER_ENV_VAR "CC") 31 | 32 | if(CMAKE_COMPILER_IS_MINGW) 33 | set(MINGW 1) 34 | endif() 35 | set(CMAKE_C_COMPILER_ID_RUN 1) 36 | set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) 37 | set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) 38 | set(CMAKE_C_LINKER_PREFERENCE 10) 39 | 40 | # Save compiler ABI information. 41 | set(CMAKE_C_SIZEOF_DATA_PTR "4") 42 | set(CMAKE_C_COMPILER_ABI "ELF") 43 | set(CMAKE_C_LIBRARY_ARCHITECTURE "") 44 | 45 | if(CMAKE_C_SIZEOF_DATA_PTR) 46 | set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") 47 | endif() 48 | 49 | if(CMAKE_C_COMPILER_ABI) 50 | set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") 51 | endif() 52 | 53 | if(CMAKE_C_LIBRARY_ARCHITECTURE) 54 | set(CMAKE_LIBRARY_ARCHITECTURE "") 55 | endif() 56 | 57 | set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "") 58 | if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) 59 | set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") 60 | endif() 61 | 62 | 63 | 64 | 65 | set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "dl;c;dl") 66 | set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "D:/android-ndk-r15c/toolchains/mips64el-linux-android-4.9/prebuilt/windows-x86_64/lib/gcc/mips64el-linux-android/4.9.x/32/mips-r1;D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/5.0.300080/lib/linux/mipsel;D:/android-ndk-r15c/toolchains/mips64el-linux-android-4.9/prebuilt/windows-x86_64/mips64el-linux-android/lib;D:/android-ndk-r15c/platforms/android-14/arch-mips/usr/lib") 67 | set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") 68 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/mips/CMakeFiles/3.6.0-rc2/CMakeCCompiler.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_C_COMPILER "D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe") 2 | set(CMAKE_C_COMPILER_ARG1 "") 3 | set(CMAKE_C_COMPILER_ID "Clang") 4 | set(CMAKE_C_COMPILER_VERSION "3.8") 5 | set(CMAKE_C_COMPILER_WRAPPER "") 6 | set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11") 7 | set(CMAKE_C_COMPILE_FEATURES "c_function_prototypes;c_restrict;c_variadic_macros;c_static_assert") 8 | set(CMAKE_C90_COMPILE_FEATURES "c_function_prototypes") 9 | set(CMAKE_C99_COMPILE_FEATURES "c_restrict;c_variadic_macros") 10 | set(CMAKE_C11_COMPILE_FEATURES "c_static_assert") 11 | 12 | set(CMAKE_C_PLATFORM_ID "") 13 | set(CMAKE_C_SIMULATE_ID "") 14 | set(CMAKE_C_SIMULATE_VERSION "") 15 | 16 | set(CMAKE_AR "D:/android-ndk-r15c/toolchains/mips64el-linux-android-4.9/prebuilt/windows-x86_64/bin/mips64el-linux-android-ar.exe") 17 | set(CMAKE_RANLIB "D:/android-ndk-r15c/toolchains/mips64el-linux-android-4.9/prebuilt/windows-x86_64/bin/mips64el-linux-android-ranlib.exe") 18 | set(CMAKE_LINKER "D:/android-ndk-r15c/toolchains/mips64el-linux-android-4.9/prebuilt/windows-x86_64/bin/mips64el-linux-android-ld.exe") 19 | set(CMAKE_COMPILER_IS_GNUCC ) 20 | set(CMAKE_C_COMPILER_LOADED 1) 21 | set(CMAKE_C_COMPILER_WORKS TRUE) 22 | set(CMAKE_C_ABI_COMPILED TRUE) 23 | set(CMAKE_COMPILER_IS_MINGW ) 24 | set(CMAKE_COMPILER_IS_CYGWIN ) 25 | if(CMAKE_COMPILER_IS_CYGWIN) 26 | set(CYGWIN 1) 27 | set(UNIX 1) 28 | endif() 29 | 30 | set(CMAKE_C_COMPILER_ENV_VAR "CC") 31 | 32 | if(CMAKE_COMPILER_IS_MINGW) 33 | set(MINGW 1) 34 | endif() 35 | set(CMAKE_C_COMPILER_ID_RUN 1) 36 | set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) 37 | set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) 38 | set(CMAKE_C_LINKER_PREFERENCE 10) 39 | 40 | # Save compiler ABI information. 41 | set(CMAKE_C_SIZEOF_DATA_PTR "4") 42 | set(CMAKE_C_COMPILER_ABI "ELF") 43 | set(CMAKE_C_LIBRARY_ARCHITECTURE "") 44 | 45 | if(CMAKE_C_SIZEOF_DATA_PTR) 46 | set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") 47 | endif() 48 | 49 | if(CMAKE_C_COMPILER_ABI) 50 | set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") 51 | endif() 52 | 53 | if(CMAKE_C_LIBRARY_ARCHITECTURE) 54 | set(CMAKE_LIBRARY_ARCHITECTURE "") 55 | endif() 56 | 57 | set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "") 58 | if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) 59 | set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") 60 | endif() 61 | 62 | 63 | 64 | 65 | set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "dl;c;dl") 66 | set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "D:/android-ndk-r15c/toolchains/mips64el-linux-android-4.9/prebuilt/windows-x86_64/lib/gcc/mips64el-linux-android/4.9.x/32/mips-r1;D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/5.0.300080/lib/linux/mipsel;D:/android-ndk-r15c/toolchains/mips64el-linux-android-4.9/prebuilt/windows-x86_64/mips64el-linux-android/lib;D:/android-ndk-r15c/platforms/android-14/arch-mips/usr/lib") 67 | set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") 68 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/debug/armeabi-v7a/CMakeFiles/3.6.0-rc2/CMakeCCompiler.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_C_COMPILER "D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe") 2 | set(CMAKE_C_COMPILER_ARG1 "") 3 | set(CMAKE_C_COMPILER_ID "Clang") 4 | set(CMAKE_C_COMPILER_VERSION "3.8") 5 | set(CMAKE_C_COMPILER_WRAPPER "") 6 | set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11") 7 | set(CMAKE_C_COMPILE_FEATURES "c_function_prototypes;c_restrict;c_variadic_macros;c_static_assert") 8 | set(CMAKE_C90_COMPILE_FEATURES "c_function_prototypes") 9 | set(CMAKE_C99_COMPILE_FEATURES "c_restrict;c_variadic_macros") 10 | set(CMAKE_C11_COMPILE_FEATURES "c_static_assert") 11 | 12 | set(CMAKE_C_PLATFORM_ID "") 13 | set(CMAKE_C_SIMULATE_ID "") 14 | set(CMAKE_C_SIMULATE_VERSION "") 15 | 16 | set(CMAKE_AR "D:/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-ar.exe") 17 | set(CMAKE_RANLIB "D:/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-ranlib.exe") 18 | set(CMAKE_LINKER "D:/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-ld.exe") 19 | set(CMAKE_COMPILER_IS_GNUCC ) 20 | set(CMAKE_C_COMPILER_LOADED 1) 21 | set(CMAKE_C_COMPILER_WORKS TRUE) 22 | set(CMAKE_C_ABI_COMPILED TRUE) 23 | set(CMAKE_COMPILER_IS_MINGW ) 24 | set(CMAKE_COMPILER_IS_CYGWIN ) 25 | if(CMAKE_COMPILER_IS_CYGWIN) 26 | set(CYGWIN 1) 27 | set(UNIX 1) 28 | endif() 29 | 30 | set(CMAKE_C_COMPILER_ENV_VAR "CC") 31 | 32 | if(CMAKE_COMPILER_IS_MINGW) 33 | set(MINGW 1) 34 | endif() 35 | set(CMAKE_C_COMPILER_ID_RUN 1) 36 | set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) 37 | set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) 38 | set(CMAKE_C_LINKER_PREFERENCE 10) 39 | 40 | # Save compiler ABI information. 41 | set(CMAKE_C_SIZEOF_DATA_PTR "4") 42 | set(CMAKE_C_COMPILER_ABI "ELF") 43 | set(CMAKE_C_LIBRARY_ARCHITECTURE "") 44 | 45 | if(CMAKE_C_SIZEOF_DATA_PTR) 46 | set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") 47 | endif() 48 | 49 | if(CMAKE_C_COMPILER_ABI) 50 | set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") 51 | endif() 52 | 53 | if(CMAKE_C_LIBRARY_ARCHITECTURE) 54 | set(CMAKE_LIBRARY_ARCHITECTURE "") 55 | endif() 56 | 57 | set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "") 58 | if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) 59 | set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") 60 | endif() 61 | 62 | 63 | 64 | 65 | set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "dl;c;dl") 66 | set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/5.0.300080/lib/linux/arm;D:/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/armv7-a/thumb;D:/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/arm-linux-androideabi/lib/armv7-a/thumb;D:/android-ndk-r15c/platforms/android-14/arch-arm/usr/lib") 67 | set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") 68 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/armeabi-v7a/CMakeFiles/3.6.0-rc2/CMakeCCompiler.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_C_COMPILER "D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe") 2 | set(CMAKE_C_COMPILER_ARG1 "") 3 | set(CMAKE_C_COMPILER_ID "Clang") 4 | set(CMAKE_C_COMPILER_VERSION "3.8") 5 | set(CMAKE_C_COMPILER_WRAPPER "") 6 | set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11") 7 | set(CMAKE_C_COMPILE_FEATURES "c_function_prototypes;c_restrict;c_variadic_macros;c_static_assert") 8 | set(CMAKE_C90_COMPILE_FEATURES "c_function_prototypes") 9 | set(CMAKE_C99_COMPILE_FEATURES "c_restrict;c_variadic_macros") 10 | set(CMAKE_C11_COMPILE_FEATURES "c_static_assert") 11 | 12 | set(CMAKE_C_PLATFORM_ID "") 13 | set(CMAKE_C_SIMULATE_ID "") 14 | set(CMAKE_C_SIMULATE_VERSION "") 15 | 16 | set(CMAKE_AR "D:/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-ar.exe") 17 | set(CMAKE_RANLIB "D:/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-ranlib.exe") 18 | set(CMAKE_LINKER "D:/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-ld.exe") 19 | set(CMAKE_COMPILER_IS_GNUCC ) 20 | set(CMAKE_C_COMPILER_LOADED 1) 21 | set(CMAKE_C_COMPILER_WORKS TRUE) 22 | set(CMAKE_C_ABI_COMPILED TRUE) 23 | set(CMAKE_COMPILER_IS_MINGW ) 24 | set(CMAKE_COMPILER_IS_CYGWIN ) 25 | if(CMAKE_COMPILER_IS_CYGWIN) 26 | set(CYGWIN 1) 27 | set(UNIX 1) 28 | endif() 29 | 30 | set(CMAKE_C_COMPILER_ENV_VAR "CC") 31 | 32 | if(CMAKE_COMPILER_IS_MINGW) 33 | set(MINGW 1) 34 | endif() 35 | set(CMAKE_C_COMPILER_ID_RUN 1) 36 | set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) 37 | set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) 38 | set(CMAKE_C_LINKER_PREFERENCE 10) 39 | 40 | # Save compiler ABI information. 41 | set(CMAKE_C_SIZEOF_DATA_PTR "4") 42 | set(CMAKE_C_COMPILER_ABI "ELF") 43 | set(CMAKE_C_LIBRARY_ARCHITECTURE "") 44 | 45 | if(CMAKE_C_SIZEOF_DATA_PTR) 46 | set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") 47 | endif() 48 | 49 | if(CMAKE_C_COMPILER_ABI) 50 | set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") 51 | endif() 52 | 53 | if(CMAKE_C_LIBRARY_ARCHITECTURE) 54 | set(CMAKE_LIBRARY_ARCHITECTURE "") 55 | endif() 56 | 57 | set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "") 58 | if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) 59 | set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") 60 | endif() 61 | 62 | 63 | 64 | 65 | set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "dl;c;dl") 66 | set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/5.0.300080/lib/linux/arm;D:/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/armv7-a/thumb;D:/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/arm-linux-androideabi/lib/armv7-a/thumb;D:/android-ndk-r15c/platforms/android-14/arch-arm/usr/lib") 67 | set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") 68 | -------------------------------------------------------------------------------- /.externalNativeBuild/cmake/release/armeabi-v7a/android_gradle_build.json: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "buildFiles" : [ "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/CMakeLists.txt" ], 4 | "cFileExtensions" : [ "c" ], 5 | "cleanCommands" : 6 | [ 7 | "D:\\AndroidSDK\\sdk\\cmake\\3.6.4111459\\bin\\cmake.exe --build D:\\AndroidProjects\\NativeAPISecurityDemo\\native-aes\\.externalNativeBuild\\cmake\\release\\armeabi-v7a --target clean" 8 | ], 9 | "libraries" : 10 | { 11 | "native-aes-Release-armeabi-v7a" : 12 | { 13 | "abi" : "armeabi-v7a", 14 | "artifactName" : "native-aes", 15 | "buildCommand" : "D:\\AndroidSDK\\sdk\\cmake\\3.6.4111459\\bin\\cmake.exe --build D:\\AndroidProjects\\NativeAPISecurityDemo\\native-aes\\.externalNativeBuild\\cmake\\release\\armeabi-v7a --target native-aes", 16 | "buildType" : "release", 17 | "files" : 18 | [ 19 | 20 | { 21 | "flags" : " --target=armv7-none-linux-androideabi --gcc-toolchain=D:/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot -Dnative_aes_EXPORTS -isystem D:/android-ndk-r15c/sysroot/usr/include/arm-linux-androideabi -D__ANDROID_API__=14 -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fno-integrated-as -mthumb -Wa,--noexecstack -Wformat -Werror=format-security -fexceptions -frtti -Os -DNDEBUG -fPIC -c ", 22 | "src" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/src/main/cpp/encrypt.c", 23 | "workingDirectory" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/armeabi-v7a" 24 | }, 25 | 26 | { 27 | "flags" : " --target=armv7-none-linux-androideabi --gcc-toolchain=D:/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64 --sysroot=D:/android-ndk-r15c/sysroot -Dnative_aes_EXPORTS -isystem D:/android-ndk-r15c/sysroot/usr/include/arm-linux-androideabi -D__ANDROID_API__=14 -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fno-integrated-as -mthumb -Wa,--noexecstack -Wformat -Werror=format-security -fexceptions -frtti -Os -DNDEBUG -fPIC -c ", 28 | "src" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/src/main/cpp/aes/aes.c", 29 | "workingDirectory" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/.externalNativeBuild/cmake/release/armeabi-v7a" 30 | } 31 | ], 32 | "output" : "D:/AndroidProjects/NativeAPISecurityDemo/native-aes/build/intermediates/cmake/release/obj/armeabi-v7a/libnative-aes.so", 33 | "toolchain" : "4017096233" 34 | } 35 | }, 36 | "toolchains" : 37 | { 38 | "4017096233" : 39 | { 40 | "cCompilerExecutable" : "D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe", 41 | "cppCompilerExecutable" : "D:/android-ndk-r15c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe" 42 | } 43 | } 44 | } 45 | --------------------------------------------------------------------------------