Nick Parker
fcc1332c54
Adding to OpenSSL entropy pool when performing kdf
2013-06-06 11:18:45 -05: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
2d9f0d5945
Add to openssl entropy pool when computing an hmac
2013-06-05 17:01:45 -05:00
Nick Parker
eb0b37148e
Add entropy to fortuna pool during hmac derivation
2013-06-05 16:48:36 -05:00
Nick Parker
dc2cc9a81d
Calling deactivate before freeing the memory
2013-06-05 15:46:17 -05:00
Nick Parker
b4bb526dcb
New test procedures can check cipher provider name
...
if_built_with_openssl and if_built_with_libtomcrypt act as replacements
for do_test, only performing the test when the current sqlcipher
testfixture binary was compiled with the specific crypto library.
2013-06-05 15:21:21 -05:00
Stephen Lombardo
4ded3fceb9
Merge branch 'multi-lib' of github.com:sqlcipher/sqlcipher into multi-lib
2013-06-05 13:44:50 -04:00
Stephen Lombardo
35b4d9a425
initial implementation of CommonCrypto provider
2013-06-05 13:43:08 -04: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
f868ae38a7
remove uneccesary mptest and dSYM files
2013-06-05 12:24:15 -04:00
Stephen Lombardo
5296f3334b
fixup build to include new sqlcipher.h
2013-05-31 02:40:08 -04:00
Stephen Lombardo
f60e96283e
move sqlcipher_export to crypto.c
2013-05-31 02:23:24 -04:00
Stephen Lombardo
9aa1310d0e
remove files generated buy build automatically
2013-05-31 02:19:36 -04: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
Nick Parker
22bccfd164
Remove unneeded buffer from openssl_ctx
2013-05-29 15:52:12 -05:00
Nick Parker
d720c6e3d1
Pass lib_ctx to all crypto_impl functions
2013-05-29 15:44:28 -05:00
Nick Parker
f413acf207
Pull crypto_openssl into Makefile.in for building
2013-05-29 15:10:48 -05:00
Stephen Lombardo
1bc791708a
separate out openssl implementation to separate source file
2013-05-29 11:18:32 -04:00
Stephen Lombardo
d85cc20dc8
update to version 2.2.0
2013-05-24 16:37:12 -04:00
Stephen Lombardo
47e8413d24
Merge branch 'deb' into prerelease-int
...
Conflicts:
Makefile.in
VERSION
configure
2013-05-24 16:36:21 -04:00
Stephen Lombardo
3703f3638e
rework attach to require explicit key
2013-05-24 16:17:15 -04:00
Nick Parker
297e94d2c2
Merge sqlite-release(3.7.17) into prerelease-integration
...
Conflicts:
src/pragma.c
2013-05-21 15:42:46 -05:00
Nick Parker
67300dfce8
Snapshot of upstream SQLite 3.7.17
2013-05-21 15:38:11 -05:00
Stephen Lombardo
94915f34f5
rebuild configure script
2013-03-20 16:40:14 -04:00
Stephen Lombardo
cd2c50036b
update autoconf to pull automatically use VERSION
2013-03-20 16:38:02 -04:00
Stephen Lombardo
ed1e161168
remove -DNDEBUG flag on debug builds
2013-02-25 13:59:50 -05:00
Nick Parker
cfb5032bf3
Bumping the CIPHER_VERSION
2013-01-16 13:34:37 -06:00
Nick Parker
7d88842525
Snapshot of upstream SQLite 3.7.15.2
2013-01-15 16:38:05 -06:00
Nick Parker
a28a2a2309
Merge sqlite-release(3.7.15.2) into prerelease-integration
2013-01-15 16:38:05 -06:00
Stephen Lombardo
226e79762e
merge debian patch
2013-01-09 21:14:37 -05:00
Stephen Lombardo
c19c72f512
Merge branch 'prerelease'
v2.1.1
2012-12-07 11:20:44 -05:00
Stephen Lombardo
cf9fb1e077
rev to 2.1.1
2012-12-07 10:56:20 -05:00
Stephen Lombardo
f7781428d8
remove inline to support vs compilation
2012-12-07 10:55:59 -05:00
Stephen Lombardo
2e2440c98a
Merge branch 'prerelease'
v2.1.0
2012-12-07 08:57:25 -05:00
Stephen Lombardo
37f48491ce
ignore build artifacts
2012-12-07 08:51:51 -05:00
Stephen Lombardo
58980b9a5d
normalize check for context in cipher pragma
2012-11-16 16:27:50 -05:00
Stephen Lombardo
a21a776ade
fix flag checks
2012-11-16 16:20:37 -05:00
Stephen Lombardo
bea4a2c894
pragma to query cipher_hmac_pgno setting
2012-11-16 16:16:10 -05:00
Stephen Lombardo
7aaf777c48
remove redundant memset calls
2012-11-16 15:22:04 -05:00
Stephen Lombardo
c875686617
fixup some comments
2012-11-16 15:20:44 -05:00
Stephen Lombardo
e8c819bcf8
sqlcipher_memset avoid's memset optimization
2012-11-16 15:05:33 -05:00
Stephen Lombardo
72a9eb2161
improvement to mem comparison in ismemset
2012-11-16 14:36:28 -05:00
Stephen Lombardo
ef3ca72e31
pragma to print hmac salt mask
2012-11-16 13:32:03 -05:00