Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
History for src/random.c
2022-11-14
| ||
13:18 | [9bd018738e] part of check-in [b0e2b9aa2c] Merge the 3.40.0 rc1 changes into the begin-concurrent-pnu-wal2 branch. (check-in: [b0e2b9aa2c] user: drh branch: begin-concurrent-pnu-wal2, size: 5102) | |
12:44 | [a3e70f8515] part of check-in [5ba588e7eb] Merge 3.40.0 rc1 into the begin-concurrent branch. (check-in: [5ba588e7eb] user: drh branch: begin-concurrent, size: 5350) | |
2022-11-10
| ||
23:10 | [606b00941a] part of check-in [b7179efbdb] Remove unnecessary tabs in the ChaCha20 implementation. Forum post 0cdce5db8c. (check-in: [b7179efbdb] user: drh branch: trunk, size: 4419) | |
2022-08-22
| ||
16:08 | [f767e3c004] part of check-in [dde76e91d3] Merge all recent trunk changes into the begin-concurrent-pnu-wal2 branch. (check-in: [dde76e91d3] user: drh branch: begin-concurrent-pnu-wal2, size: 5102) | |
15:42 | [47c95aa668] part of check-in [7eac6136ab] Merge all recent trunk enhancements into the begin-concurrent branch. (check-in: [7eac6136ab] user: drh branch: begin-concurrent, size: 5350) | |
2022-08-16
| ||
16:57 | [546d6feb15] part of check-in [a0d224c6a6] Fix obsolete comments. Add new comments. Fix non-standard spacing. (check-in: [a0d224c6a6] user: drh branch: chacha20-prng, size: 4419) | |
16:40 | [af089dd588] part of check-in [72e220eed4] Fix an off-by-one error in the ChaCha20 initialization code. (check-in: [72e220eed4] user: drh branch: chacha20-prng, size: 4719) | |
00:04 | [ff4b47317d] part of check-in [084d8776fa] Replace the RC4-based PRNG with one based on ChaCha20 (RFC 7539). 3x faster. (check-in: [084d8776fa] user: drh branch: chacha20-prng, size: 4719) | |
2021-06-17
| ||
17:30 | [c6e61d041f] part of check-in [229107b196] Merge recent trunk enhancements into the begin-concurrent-pnu branch. (check-in: [229107b196] user: drh branch: begin-concurrent-pnu, size: 4697) | |
17:29 | [d4127b3d8b] part of check-in [59303e69c3] Merge recent trunk enhancements into the begin-concurrent branch. (check-in: [59303e69c3] user: drh branch: begin-concurrent, size: 4945) | |
2021-06-15
| ||
15:15 | [097dc8b31b] part of check-in [272a15b9f4] Add NULL checks on all sqlite3_vfs_find(0) calls. This is not strictly necessary. There are no vulnerabilities here. However, adding these checks avoids unnecessary static analyzer complaints. Forum post ce1193be15. (check-in: [272a15b9f4] user: drh branch: trunk, size: 4014) | |
2020-07-31
| ||
20:56 | [c984d8426d] part of check-in [eb7a9c04bd] Improved non-locking PRNG. (check-in: [eb7a9c04bd] user: drh branch: begin-concurrent, size: 4839) | |
2017-09-09
| ||
08:03 | [f27af4099a] part of check-in [e63d1a7cd3] Use a mutex-free PRNG for the random() and randomblob() SQL functions and for the randomness used during checkpoint operations. (check-in: [e63d1a7cd3] user: drh branch: mutex-free-randomness, size: 4591) | |
2016-12-07
| ||
15:49 | [80f5d666f2] part of check-in [f360818737] Rename the SQLITE_OMIT_BUILTIN_TEST compile-time option to SQLITE_UNTESTABLE. (check-in: [f360818737] user: drh branch: trunk, size: 3908) | |
2014-10-27
| ||
20:14 | [ba2679f80e] part of check-in [2b9340c868] Remove a small amount of unnecessary #ifdeffery from random.c. (check-in: [2b9340c868] user: drh branch: trunk, size: 3922) | |
19:58 | [f88232b90e] part of check-in [9588b345d0] Fix compilation issue with MSVC due to a misplaced variable declaration. (check-in: [9588b345d0] user: mistachkin branch: trunk, size: 3951) | |
2014-10-24
| ||
12:37 | [b8a0581318] part of check-in [1c220b806d] Fix two problems. Tests now passing. (check-in: [1c220b806d] user: drh branch: api-armor, size: 3883) | |
00:35 | [689c95a50b] part of check-in [c297a84bc6] Add the SQLITE_ENABLE_API_ARMOR compile-time option. This is a work in progress and is not yet completely functional. (check-in: [c297a84bc6] user: drh branch: api-armor, size: 3817) | |
2014-01-01
| ||
14:00 | [d10c1f85b6] part of check-in [a221aa82bb] Enhance sqlite3_randomness(N,P) such that it resets the internal PRNG if N is less than 1. Subsequent calls to sqlite3_randomness() will reinitialize the internal PRNG by calling the xRandomness() method of the default VFS. (check-in: [a221aa82bb] user: drh branch: trunk, size: 3798) | |
2013-08-21
| ||
22:09 | [0b2dbc37fd] part of check-in [4144dffb57] Refactor the sqlite3_randomness() implementation for improved performance. (check-in: [4144dffb57] user: drh branch: trunk, size: 3785) | |
2009-11-10
| ||
01:30 | [cd4a67b395] part of check-in [f6c045f649] Remove the obsolete "$Id:$" RCS identifier strings from the source code. (check-in: [f6c045f649] user: drh branch: trunk, size: 4673) | |
2008-12-10
| ||
19:26 | [676b9d7ac8] part of check-in [c872d55493] Never use strlen(). Use our own internal sqlite3Strlen30() which is guaranteed to never overflow an integer. Additional explicit casts to avoid nuisance warning messages. (CVS 6007) (check-in: [c872d55493] user: drh branch: trunk, size: 4730) | |
2008-12-08
| ||
18:19 | [67bf41b20f] part of check-in [73c7302c5f] The amalgamation now compiles cleanly on GCC with options -pedantic-errors -Wno-long-long. (CVS 5991) (check-in: [73c7302c5f] user: drh branch: trunk, size: 4727) | |
2008-10-07
| ||
15:25 | [a87afbd598] part of check-in [02a12eb1cf] Remove the SQLITE_MUTEX_APPDEF compile-time option. The SQLITE_THREADSAFE=0 option always removes all mutex code. For application-defined mutexes only, use SQLITE_THREADSAFE=1 with SQLITE_MUTEX_NOOP=1. Ticket #3421. (CVS 5779) (check-in: [02a12eb1cf] user: drh branch: trunk, size: 4745) | |
2008-09-02
| ||
00:52 | [11bbdf7def] part of check-in [ef26ea5c46] Continuing work on adding full support for the SQLITE_OMIT_WSD compile-time option. (CVS 5658) (check-in: [ef26ea5c46] user: drh branch: trunk, size: 4749) | |
2008-06-19
| ||
01:03 | [5c754319d3] part of check-in [005f8eaef5] Bug fixes: Plug a memory leak introduced by the previous check-in. Get the amalgamation to the point where it will compile. (CVS 5241) (check-in: [005f8eaef5] user: drh branch: trunk, size: 4003) | |
2008-06-18
| ||
17:09 | [362b62e26d] part of check-in [5059644c4b] Implement the 'CONFIG_SINGLETHREAD' and 'CONFIG_MULTITHREAD' configuration modes. (CVS 5234) (check-in: [5059644c4b] user: danielk1977 branch: trunk, size: 3978) | |
2008-03-21
| ||
16:45 | [2b2db2de4a] part of check-in [2498d3ea36] Add a completely new testing system for the Bitvec object. The new testing system uses sqlite3_test_control() instead of unpublished APIs. Now provides 100% condition/decision coverage. Obscure bugs in Bitvec found and fixed as a result of the enhanced coverage. (CVS 4902) (check-in: [2498d3ea36] user: drh branch: trunk, size: 4016) | |
2008-03-19
| ||
14:15 | [8b6ab5418c] part of check-in [15110ea027] Add a new api sqlite3_randomness() for providing access to SQLite's internal PRNG. Add sqlite3_test_control() verbs for controlling the PRNG. (CVS 4882) (check-in: [15110ea027] user: drh branch: trunk, size: 4010) | |
2008-01-16
| ||
17:46 | [02ef38b469] part of check-in [5807921f5a] Get all tests running without memory leaks. (CVS 4714) (check-in: [5807921f5a] user: drh branch: trunk, size: 3903) | |
2007-08-21
| ||
13:51 | [4a22746501] part of check-in [6225cd461c] Remove the obsolete static mutexes. Use only the lastest static mutex code. (CVS 4259) (check-in: [6225cd461c] user: drh branch: trunk, size: 3218) | |
10:44 | [89b2c5a97f] part of check-in [fbbd5bda54] Remove unnecessary #includes of "os.h". New mutex implementations. (CVS 4255) (check-in: [fbbd5bda54] user: drh branch: trunk, size: 3168) | |
2007-08-20
| ||
22:48 | [af7264b4ed] part of check-in [1315bd8e12] Work toward multithreading support. Currently crashes quickly on a test. (CVS 4253) (check-in: [1315bd8e12] user: drh branch: trunk, size: 3184) | |
2007-08-17
| ||
15:53 | [00b30565f0] part of check-in [af3e3c7acd] Begin migration to using sqlite3_vfs interface. (CVS 4240) (check-in: [af3e3c7acd] user: danielk1977 branch: trunk, size: 3192) | |
2007-01-05
| ||
14:38 | [6119474a6f] part of check-in [daed2bab00] Suppress compiler warnings. Fix a bug in IO error detection on windows. (CVS 3564) (check-in: [daed2bab00] user: drh branch: trunk, size: 3082) | |
2006-01-06
| ||
14:32 | [d40f8d356c] part of check-in [2529c2e11f] Change the OS interface layer to use traditional direct function call implementations instead of the more complicated virtual function table. Omit the asynchronous I/O demo. (CVS 2870) (check-in: [2529c2e11f] user: drh branch: trunk, size: 3078) | |
2005-11-30
| ||
03:20 | [ff5e9a8cad] part of check-in [bd8740d1ae] Restructure the OS interface yet again. This time make the OsFile object a virtual base class which is subclassed for unix, windows, and the crash test simulator. Add the new file "os.c" for common os layer code. Move all OS-specific routines into the sqlite3Os structure. (CVS 2795) (check-in: [bd8740d1ae] user: drh branch: trunk, size: 3084) | |
2005-06-12
| ||
21:35 | [90adff4e73] part of check-in [36f2da1f8d] Update older opcode names to be more meaningful in light of the latest code design. (CVS 2506) (check-in: [36f2da1f8d] user: drh branch: trunk, size: 3078) | |
2004-05-08
| ||
08:23 | [eff68e3f25] part of check-in [8af6474c49] Change lots of internal symbols from sqliteXXX to sqlite3XXX so that the library links again. It doesn't work yet, due to changes in the btree layer calling convention. (CVS 1324) (check-in: [8af6474c49] user: danielk1977 branch: trunk, size: 2945) | |
2004-02-11
| ||
09:46 | [775913e0b7] part of check-in [f2bdccf4bb] Refactor the interface to the randomness generator. (CVS 1224) (check-in: [f2bdccf4bb] user: drh branch: trunk, size: 2930) | |
2002-02-19
| ||
13:39 | [19e8e00fe0] part of check-in [c6e9048e66] Change the name of the sanity_check PRAGMA to "integrity_check" and make it available on all compiles. (CVS 381) (check-in: [c6e9048e66] user: drh branch: trunk, size: 3241) | |
2002-01-16
| ||
21:00 | [f6b36bec5e] part of check-in [f74d61aaf3] Added the last_insert_rowid API function. Improved documentation of the random ROWID algorithm. (CVS 349) (check-in: [f74d61aaf3] user: drh branch: trunk, size: 3243) | |
2001-10-09
| ||
04:19 | [2a9cc2c971] part of check-in [484b82d8a1] Fix the locking protocol. (CVS 280) (check-in: [484b82d8a1] user: drh branch: trunk, size: 2704) | |
2001-09-23
| ||
19:46 | [708a23f69f] part of check-in [bd7d6a64af] Additional test cases with locking fixes. Also, make the code thread-safe. (CVS 262) (check-in: [bd7d6a64af] user: drh branch: trunk, size: 2314) | |
2001-09-19
| ||
13:22 | [b6a57e8528] part of check-in [abff526d00] Trying to get the OS abstraction layer to work. (CVS 256) (check-in: [abff526d00] user: drh branch: trunk, size: 3631) | |
2001-09-16
| ||
00:13 | [707529bcda] part of check-in [4e926efe2b] Disclaimed copyright. Preparing for release 2.0. (CVS 250) (check-in: [4e926efe2b] user: drh branch: trunk, size: 3611) | |
2001-09-14
| ||
03:24 | [b626726c4f] part of check-in [e7b65e37fd] All tests now pass. But there are still issues. For example, inserts are way too slow. And additional tests are needed for new features. (CVS 243) (check-in: [e7b65e37fd] user: drh branch: trunk, size: 4160) | |
2001-09-13
| ||
21:53 | [5577580254] part of check-in [62c7bd11bc] Many problems fixed. Many problems yet to go. (CVS 242) (check-in: [62c7bd11bc] user: drh branch: trunk, size: 3927) | |
2001-01-31
| ||
13:28 | [b36c3f57dc] part of check-in [df0ff30485] Working better with Win95. Continued work on the new db.c backend. (CVS 1714) (check-in: [df0ff30485] user: drh branch: trunk, size: 3913) | |
2001-01-13
| ||
14:34 | Added: [3dc42fb35d] part of check-in [c0730217a0] Changes to the DBBE. Moving toward having many more backend driver choices. (CVS 176) (check-in: [c0730217a0] user: drh branch: trunk, size: 3896) | |