Nick Parker
b03221fc90
Remove unused variable
2013-12-03 13:37:56 -06:00
Nick Parker
200b3146a3
Adjustment to ltc crypto provider and cipher_add_random
2013-12-03 13:32:05 -06:00
Nick Parker
b5ece46779
Remove ltc_ctx, adjust sqlcipher_ltc_add_random behavior
2013-11-25 17:39:26 -06:00
Nick Parker
8348d8e1ed
Fix compilation for Windows
2013-11-25 14:46:26 -06:00
Nick Parker
bc058122a8
Static ltc prng state, add partitioned data to prng
2013-11-25 11:52:30 -06:00
Nick Parker
930b441e81
Add PRAGMA cipher_add_random to source external entropy
2013-11-25 10:34:09 -06:00
Nick Parker
bdd8d0a5c6
Change pass field to unsigned char * in cipher_ctx
2013-10-15 10:08:16 -05:00
Nick Parker
035ae3eb17
Fix compiler warnings
2013-10-15 10:08:16 -05:00
Stephen Lombardo
51079a8775
resolve build warnings under clang
2013-06-21 11:01:18 -04:00
Stephen Lombardo
a828432a72
normalize license statements, ifdefs, and wrapper comments
2013-06-12 11:01:38 -04:00
Nick Parker
51f2855d36
Checking for SQLITE_OK as return code for random
2013-06-11 11:24:29 -05:00
Nick Parker
e0cd3f29be
Adjust buffer size feed into fortuna entropy
...
Also calling fortuna_ready before fortuna_read to allow for new entries
in the fotuna pool to become available. Minor format adjustments.
2013-06-11 09:23:08 -05:00
Stephen Lombardo
3659159b72
remove internal mutexing and move fortuna initialization to activate
2013-06-06 15:48:11 -04:00
Nick Parker
7026edb969
Change call site of sqlite3_randomness and fortuna_ready
...
sqlite3_randomness was blocking when invoked with
sqlcipher_ltc_activate. As new entropy is added to the pool, calls to
fortuna_ready are required to allow the new entropy to be used.
2013-06-06 11:04:03 -05:00
Stephen Lombardo
a60090f879
changes to random seeding
2013-06-06 10:26:12 -04:00
Nick Parker
eb0b37148e
Add entropy to fortuna pool during hmac derivation
2013-06-05 16:48:36 -05:00
Nick Parker
9c4d19eb4f
Add read-only PRAGMA cipher_provider
...
Provides a readonly name of the cipher provider. Available once
the codec_ctx has been properly initialized as the provider name
is sourced from the sqlcipher_provider implementation.
2013-06-05 11:28:32 -05:00
Nick Parker
eb3c1dc076
Tracking the state of the prng
2013-06-05 11:28:32 -05:00
Nick Parker
bac7518159
Removing sha256 hash reference
2013-06-05 11:28:32 -05:00
Stephen Lombardo
20d783141f
tighten up public functions
2013-05-31 02:18:05 -04:00
Stephen Lombardo
c7f1d14ded
providers accessed via function pointers
2013-05-31 00:52:19 -04:00
Nick Parker
50843f0b85
Check crypto library availability by type
2013-06-04 10:13:02 -05:00
Nick Parker
e44f59f2b3
Add support for --with-crypto-lib from autoconf
...
The default configure script generated from autoconf will default to
using OpenSSL as the crypto library. With the new --with-crypto-lib
flag, users can specify libtomcrypto as an alternative crypto library.
2013-06-03 16:45:44 -05:00
Nick Parker
f6e4ed4783
Initial commit with support for using libtomcrypt.
2013-05-31 14:40:12 -05:00