gardners
1b5801b622
Move randombytes() from jni.c to keyring.c so that it is available
...
for the dna standalone binary.
Added code to initialise an empty keyring file with zeroed bitmap
and salt.
2012-04-10 13:49:18 +09:30
gardners
16fb3a3f61
Added missing GPL license statements.
2011-12-21 20:25:05 +10:30
gardners
5837499f0d
Fixed bug in jni.c for CryptoBoxOpen.
2011-10-27 12:32:58 +10:30
gardners
b2070da074
Added my own version of randombytes() that works properly and eventually
...
times out if it can't succeed for wrapping into java. Timeouts vital as
it lives in a critical section.
2011-10-23 19:49:17 +10:30
gardners
4636cd6577
Added wrapper for safe supply of random bytes for use in Java side.
2011-10-23 18:54:10 +10:30
gardners
77757f550d
renamed methods for having all native methods in once class (required
...
by Java that one library loads into one class only).
Also added what I believe to be sane and efficient array access for
CryptoBox (use same approach for other calls as we write the JNI
interfaces).
2011-10-23 15:53:44 +10:30
gardners
62e3931498
Fixed jni.c to actually be right (the _00024 was a bit hard to guess).
2011-10-21 20:48:47 +10:30
gardners
58446ba5e5
Added initial JNI wrapper.
2011-10-21 10:56:49 +10:30