NEW: .aar library is working (in other GUI branch)

This commit is contained in:
JohnE 2019-02-20 19:32:42 -08:00
parent e0dca174be
commit 2da14c6eb6
14 changed files with 60 additions and 46 deletions

View File

@ -1,10 +0,0 @@
===================
LIBRARY BUILD DATES
===================
The following is the build history for this library.
Dates:
2019-02-09

View File

@ -1,10 +0,0 @@
===================
LIBRARY BUILD DATES
===================
The following is the build history for this library.
Dates:
2019-02-09

Binary file not shown.

Binary file not shown.

View File

@ -3,29 +3,30 @@ CCC Agile
========= =========
Working FEATURES
------- --------
* ndk cmake builds (C++, LLVM support, ABI)
* .aar library packaging, includes java .class files (and other resources)
* combine wolfssl-lib + wolfssl-jni == ccc-ndk-jni (not ccc-jni which would be for java)
- TEST: check that all builds OK (ok-dokey)
- move from bash script builds, to all gradle (cleaning and copying libs)
WORKING
-------
* l@@k at Android Weekly emails * l@@k at Android Weekly emails
* TEST: add test code for JNI calls
Milestone Milestone
^^^^^^^^^ ^^^^^^^^^
* WolfSSL validate with JNI * WolfSSL validate with JNI
Backlog BACKLOG
------- -------
Tasks Tasks
^^^^^ ^^^^^
* GET THE LATEST * GET THE LATEST
- get the lastest ndk - get the lastest ndk
- get the latest gradle (see if 5.x is compatible) - get the latest gradle (see if 5.x is compatible)
@ -36,12 +37,17 @@ Tasks
* l@@k at https://en.wikipedia.org/wiki/NTRU * l@@k at https://en.wikipedia.org/wiki/NTRU
* l@@k at http://facebook.github.io/conceal/ * l@@k at http://facebook.github.io/conceal/
* l@@k at https://techcrunch.com/2018/10/03/googles-cyber-unit-jigsaw-introduces-intra-a-security-app-dedicated-to-busting-censorship/ * l@@k at https://techcrunch.com/2018/10/03/googles-cyber-unit-jigsaw-introduces-intra-a-security-app-dedicated-to-busting-censorship/
* Create Multi Projects
- nc-wc-ndk (remove android GUI code)
- ccc-gui-a (android)
- ccc-gui-i (iOS)
- ccc-gui-e (electron)
- ccc-cmd (command line)
Milestones Milestones
^^^^^^^^^^ ^^^^^^^^^^
* JNI wrapper tests * JNI wrapper tests
- RSA Public Key Generation - RSA Public Key Generation
- AES crypt - AES crypt
@ -55,9 +61,14 @@ Milestones
Completed COMPLETED
--------- ---------
* TEST: add test code for JNI calls
- tested AES, everything else should work accordingly
* combine wolfssl-lib + wolfssl-jni == ccc-ndk-jni (not ccc-jni which would be for java)
- TEST: check that all builds OK (ok-dokey)
- move from bash script builds, to all gradle (cleaning and copying libs)
- no bash builds needed because gradle is generating an .aar package
* WolfSSL compile * WolfSSL compile
- fixing CMake build - fixing CMake build
- discover which gradle to target --> wolfssl was main gradle app target - discover which gradle to target --> wolfssl was main gradle app target

View File

@ -3,24 +3,47 @@ Weekly Progress
=============== ===============
WORKING
=======
* test JNI libs !!! =)
- try some java code that will call a C-hook
ISSUES
======
NOTES NOTES
===== =====
* Debug Android binaries: * Debug Android binaries:
- https://resources.infosecinstitute.com/guide-debugging-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
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'