NEW: both wolfssl-lib and wolfssl-jni build together =)
This commit is contained in:
parent
565e98f410
commit
673b89f73b
19
README
19
README
|
@ -13,3 +13,22 @@
|
|||
-Quantum-Computing safe crypto
|
||||
-super-fast NTRU algorithm
|
||||
|
||||
|
||||
[[ Java Crypto Library ]]
|
||||
|
||||
[Crypto Providers]
|
||||
-bouncy castle (various version ship)
|
||||
-spongy castle
|
||||
GCM not available
|
||||
|
||||
*** DON'T TRUST THE PROVIDERS!!! ***
|
||||
|
||||
|
||||
[Key Features]
|
||||
1) bluesalt - use bluetooth devices as unlock key, user, salt
|
||||
-what you have (who you are, what you know)
|
||||
|
||||
2) random data - use camera for randomness
|
||||
-fix android random problem
|
||||
|
||||
|
|
@ -6,8 +6,6 @@ buildscript {
|
|||
jcenter()
|
||||
}
|
||||
dependencies {
|
||||
// gradle tools 2.2.2+ supports stable ndk
|
||||
// classpath 'com.android.tools.build:gradle:2.3.0'
|
||||
classpath 'com.android.tools.build:gradle:3.2.1'
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,16 +16,6 @@ android {
|
|||
cmake {
|
||||
arguments '-DANDROID_PLATFORM=android-23',
|
||||
'-DANDROID_TOOLCHAIN=clang'
|
||||
// Sets optional flags for the C compiler.
|
||||
// cFlags \
|
||||
// '-D_POSIX_THREADS', '-DNDEBUG',
|
||||
// '-DPERSIST_SESSION_CACHE', '-DPERSIST_CERT_CACHE', '-DATOMIC_USER',
|
||||
// '-DHAVE_PK_CALLBACKS', '-DNO_DSA',
|
||||
// '-DNO_MD4', '-DNO_HC128', '-DNO_RABBIT',
|
||||
// '-DHAVE_OCSP', '-DHAVE_CRL', '-DWOLFSSL_JNI', '-DHAVE_DH',
|
||||
// '-Wall'
|
||||
// explicitly build libs
|
||||
//targets 'wolfssl'
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -54,7 +44,6 @@ task copyLibs(type: Copy) {
|
|||
into "dist/wolfssl-jni_${thisDate}/"
|
||||
}
|
||||
|
||||
|
||||
dependencies {
|
||||
testImplementation 'junit:junit:4.12'
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
//include ':wolfssl-lib'
|
||||
//include ':wolfssl-jni'
|
||||
//include ':ccc-jni'
|
||||
include ':wolfssl-lib'
|
||||
include ':wolfssl-jni'
|
||||
include ':ccc-jni'
|
||||
|
|
|
@ -16,18 +16,7 @@ android {
|
|||
cmake {
|
||||
arguments '-DANDROID_PLATFORM=android-23',
|
||||
'-DANDROID_TOOLCHAIN=clang'
|
||||
// Sets optional flags for the C compiler.
|
||||
// cFlags \
|
||||
// '-D_POSIX_THREADS', '-DNDEBUG',
|
||||
// '-DPERSIST_SESSION_CACHE', '-DPERSIST_CERT_CACHE', '-DATOMIC_USER',
|
||||
// '-DHAVE_PK_CALLBACKS', '-DNO_DSA',
|
||||
// '-DNO_MD4', '-DNO_HC128', '-DNO_RABBIT',
|
||||
// '-DHAVE_OCSP', '-DHAVE_CRL', '-DWOLFSSL_JNI', '-DHAVE_DH',
|
||||
// '-Wall'
|
||||
// explicitly build libs
|
||||
//targets 'wolfssl'
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,10 @@
|
|||
===================
|
||||
LIBRARY BUILD DATES
|
||||
===================
|
||||
|
||||
The following is the build history for this library.
|
||||
Dates:
|
||||
|
||||
2019-02-09
|
||||
|
||||
|
Binary file not shown.
Binary file not shown.
|
@ -1,17 +1,5 @@
|
|||
apply plugin: 'com.android.library'
|
||||
|
||||
buildscript {
|
||||
repositories {
|
||||
google()
|
||||
jcenter()
|
||||
}
|
||||
dependencies {
|
||||
// gradle tools 2.2.2+ supports stable ndk
|
||||
// classpath 'com.android.tools.build:gradle:2.3.0'
|
||||
classpath 'com.android.tools.build:gradle:3.2.1'
|
||||
}
|
||||
}
|
||||
|
||||
android {
|
||||
compileSdkVersion 28
|
||||
// a default can be used, but it is good practice to explicitly select build tools
|
||||
|
@ -43,21 +31,9 @@ android {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
// buildTypes {
|
||||
// release {
|
||||
// minifyEnabled false
|
||||
// proguardFiles getDefaultProguardFile('proguard-android.txt'),
|
||||
// 'proguard-rules.pro'
|
||||
// }
|
||||
// }
|
||||
externalNativeBuild {
|
||||
cmake {
|
||||
path 'CMakeLists.txt'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
//compile fileTree(dir: 'libs', include: ['*.jar'])
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue