Commit Graph

370 Commits

Author SHA1 Message Date
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
Stephen Lombardo c76596b12d pragma to return fast_kdf_iter 2012-11-16 12:52:51 -05:00
Stephen Lombardo 41d4c53cb4 rework some pragma related interfaces 2012-11-16 12:42:41 -05:00
Stephen Lombardo caf3865b8b pragmas to override hmac salt mask and allow migration of 2.0 beta databases 2012-11-16 11:13:14 -05:00
Stephen Lombardo 2fd20b36e1 preserve const qualifier 2012-11-16 08:52:07 -05:00
Stephen Lombardo 9d38ddee10 Merge branch 'prerelease' of ssh://github.com/sqlcipher/sqlcipher into prerelease 2012-11-15 18:49:21 -05:00
Stephen Lombardo 58acc8269f Merge branch 'sqlite-release' into prerelease-int 2012-11-15 18:46:41 -05:00
Stephen Lombardo 801e036cd8 upstream 3.7.14.1 2012-11-15 18:45:58 -05:00
Stephen Lombardo d427cb370a Merge pull request #37 from developernotes/prerelease
Prerelease
2012-11-06 12:30:09 -08:00
Nick Parker 45235df3f7 Adding tests for checking the cipher PRAGMA 2012-11-06 12:24:30 -06:00
Nick Parker 9c94733fb3 Adding tests for checking initial value and changes to the following
PRAGMAs: cipher_use_hmac, cipher_default_use_hmac, kdf_iter, cipher_page_size
2012-11-06 12:17:40 -06:00
Nick Parker 69ef105817 Adding get support for cipher_page_size 2012-11-06 12:01:16 -06:00
Nick Parker bc1def4a70 Adding get support to PRAGMA cipher_default_use_hmac 2012-11-06 11:48:35 -06:00
Nick Parker 9a9873b933 Adding get support to PRAGMA cipher_use_hmac 2012-11-06 11:41:59 -06:00
Nick Parker 6eb69e384a Adding get support to the PRAGMA kdf_iter 2012-11-06 11:20:39 -06:00
Nick Parker 693a403f76 Print the cipher PRAGMA when context exists 2012-10-15 14:18:54 -05:00
Stephen Lombardo fc04d69470 initialize memory in sqlcipher_malloc before use 2012-10-03 08:09:02 -04:00
Stephen Lombardo 273558efc6 improvements to memory comparison 2012-10-02 12:36:25 -04:00
Stephen Lombardo 9a6807e1b6 deactivation routine to call EVP_cleanup 2012-10-02 11:55:07 -04:00
Stephen Lombardo 48215584ab bump version to 2.1.0 due to functional change in hmac calculation 2012-07-18 14:50:47 -04:00
Stephen Lombardo aec2fe4efc Merge branch 'sqlite-release' into prerelease-integration 2012-07-18 14:43:41 -04:00
Stephen Lombardo de4f34b64d track 3.7.13 2012-07-18 14:42:52 -04:00
Stephen Lombardo 913022cc3e detect failure to initialize context (i.e. out of memory) 2012-07-18 14:40:48 -04:00
Stephen Lombardo 971933cd82 remove unecessary copy commands from test 2012-07-18 12:34:32 -04:00
Stephen Lombardo f1ea44e3ef pragma allows le, be, or native pgno ordering plus tests 2012-07-18 11:21:12 -04:00
Stephen Lombardo 7f2b44c8e2 DRY up and inline pragma settings 2012-07-17 22:54:38 -04:00
Stephen Lombardo 96a7738587 move pragma handling logic into crypto.c 2012-07-17 17:18:17 -04:00
Stephen Lombardo 70ef31ff5d add flag for normalizing pgno in HMAC check 2012-07-17 16:45:02 -04:00
Stephen Lombardo 7a9b9e39a1 move hmac setting to flags on cipher context 2012-07-17 16:19:40 -04:00
Stephen Lombardo dbbbb7cca7 convert page number to little endian before MAC 2012-07-10 17:11:01 -04:00
Stephen Lombardo cc0e8be7a3 explicit test for opening 2.0 format db with hmac 2012-07-09 23:03:01 -04:00
Stephen Lombardo bfff38581c restructure to allow non-amalgamated builds again 2012-07-09 16:59:10 -04:00
Stephen Lombardo 6dbdd4663c bump to 2.0.6 2012-06-13 16:27:09 -04:00
Stephen Lombardo 06429ca622 fix issue with short page reads causing hmac failures with auto vacuum enabled 2012-06-13 13:34:14 -04:00
Stephen Lombardo 2b7a28fd12 tests for large schemas and behavior with auto vacuum enabled 2012-06-13 13:17:17 -04:00
Stephen Lombardo bedfc5b588 add CODEC_HEXDUMP macro to print page data 2012-06-13 12:27:59 -04:00
Stephen Lombardo a53d3dee76 Merge branch 'sqlite-release' into relint 2012-05-23 09:26:38 -04:00
Stephen Lombardo 35a66a5caa track 3.7.12.1 2012-05-23 09:26:02 -04:00
Stephen Lombardo c6629b2fc7 Merge branch 'master' into prerelease 2012-05-18 11:15:36 -04:00
Stephen Lombardo a125d22997 Merge pull request #25 from developernotes/prerelease
Adjusting the way string content is rendered, fixes issue on Android.
2012-05-18 08:14:10 -07:00
Nick Parker e4822420d6 Adjusting the way string content is rendered, fixes issue on Android. 2012-05-18 10:09:15 -05:00
Stephen Lombardo ac8385cb14 basic tests for autovacuum 2012-05-18 10:45:41 -04:00
Stephen Lombardo 07321926ba round out rekey tests for WAL 2012-05-18 02:38:25 -04:00
Stephen Lombardo c2f7cd7926 enable secure delete on all encrypted databases 2012-05-18 02:22:40 -04:00
Stephen Lombardo 0e8cdf4b25 test for rekey after a large delete 2012-05-17 19:07:57 -04:00