=============== Weekly Progress =============== Android Layouts =============== * Android ConstraintLayout 1.1.3 - Design + Blueprint - attach the constaints, use margins, use the bias too - app:layout_constraintHorizontal_bias="0.2" * android:theme="@style/Theme.AppCompat.NoActionBar" Android Theme ------------- * Generate Icons, Labels - https://jgilfelt.github.io/AndroidAssetStudio/icons-launcher.html - https://romannurik.github.io/AndroidAssetStudio * https://developer.android.com/guide/topics/ui/look-and-feel/themes * Base.Theme.AppCompat NOTES ===== * Debug Android binaries: - https://resources.infosecinstitute.com/guide-debugging-android-binaries/ * Android Library: https://developer.android.com/studio/projects/android-library * Android Dependencies: https://developer.android.com/studio/build/dependencies#duplicate_classes * NDK Obfuscation: https://github.com/Fuzion24/AndroidObfuscation-NDK * NDK SWIG example: https://github.com/sureshjoshi/android-ndk-swig-example WORKING ======= * ANDROID: Activity: plaintext, encrypt * Create Two Projects - nc-wc-ndk (remove android GUI code) - all crypto-core, java wrapper code, for copius+cipher+chain - add mods to wolfssl-oem, mod AES "s-boxes", figure out 512bit key AES - ccc-gui-a (android GUI) - pretty user interface for the crypto-core COMPLETED ========= * test JNI lib !!! =) - try some java code that will call a C-hook * create distributed library package - generage wolfssl-jni.aar ISSUES ====== * how to include NDK ABI Libs and also java class files?? - use a ".aar" file, it is generated from gradle - ./build/outputs/aar/.aar - apply plugin: 'com.android.library'