-
Notifications
You must be signed in to change notification settings - Fork 432
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crate refactor #161
Crate refactor #161
Commits on Aug 6, 2017
-
Add no_std support by conditionally disabling many features
This provides no source of entropy in no_std mode; possibly this should be fixed?
Configuration menu - View commit details
-
Copy full SHA for 21de6ae - Browse repository at this point
Copy the full SHA 21de6aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 212e04e - Browse repository at this point
Copy the full SHA 212e04eView commit details
Commits on Aug 7, 2017
-
Configuration menu - View commit details
-
Copy full SHA for e386895 - Browse repository at this point
Copy the full SHA e386895View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88f73e0 - Browse repository at this point
Copy the full SHA 88f73e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 69681f6 - Browse repository at this point
Copy the full SHA 69681f6View commit details
Commits on Aug 11, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 3a4ace5 - Browse repository at this point
Copy the full SHA 3a4ace5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96c2a42 - Browse repository at this point
Copy the full SHA 96c2a42View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc8c1f4 - Browse repository at this point
Copy the full SHA dc8c1f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 21a4375 - Browse repository at this point
Copy the full SHA 21a4375View commit details
Commits on Aug 14, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 404e282 - Browse repository at this point
Copy the full SHA 404e282View commit details -
Configuration menu - View commit details
-
Copy full SHA for 68bb549 - Browse repository at this point
Copy the full SHA 68bb549View commit details -
Configuration menu - View commit details
-
Copy full SHA for d2b9f8e - Browse repository at this point
Copy the full SHA d2b9f8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for adbbd9d - Browse repository at this point
Copy the full SHA adbbd9dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2511b27 - Browse repository at this point
Copy the full SHA 2511b27View commit details
Commits on Aug 15, 2017
-
Configuration menu - View commit details
-
Copy full SHA for cde9f58 - Browse repository at this point
Copy the full SHA cde9f58View commit details -
Configuration menu - View commit details
-
Copy full SHA for 28972a1 - Browse repository at this point
Copy the full SHA 28972a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe990d9 - Browse repository at this point
Copy the full SHA fe990d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8b2871 - Browse repository at this point
Copy the full SHA a8b2871View commit details
Commits on Aug 16, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 57efe7e - Browse repository at this point
Copy the full SHA 57efe7eView commit details
Commits on Aug 17, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 697b83e - Browse repository at this point
Copy the full SHA 697b83eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ecc8a38 - Browse repository at this point
Copy the full SHA ecc8a38View commit details -
Configuration menu - View commit details
-
Copy full SHA for 831553c - Browse repository at this point
Copy the full SHA 831553cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 18e8dab - Browse repository at this point
Copy the full SHA 18e8dabView commit details -
Configuration menu - View commit details
-
Copy full SHA for e73622f - Browse repository at this point
Copy the full SHA e73622fView commit details
Commits on Aug 21, 2017
-
Configuration menu - View commit details
-
Copy full SHA for de24228 - Browse repository at this point
Copy the full SHA de24228View commit details -
Configuration menu - View commit details
-
Copy full SHA for cca68bb - Browse repository at this point
Copy the full SHA cca68bbView commit details -
Add CryptoError; make RNG::new return Result<Self, CryptoError>; rena…
…me new_from_rng → from_rng
Configuration menu - View commit details
-
Copy full SHA for 2a59377 - Browse repository at this point
Copy the full SHA 2a59377View commit details
Commits on Aug 26, 2017
-
Configuration menu - View commit details
-
Copy full SHA for a3f5bf1 - Browse repository at this point
Copy the full SHA a3f5bf1View commit details
Commits on Aug 30, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 1f1db33 - Browse repository at this point
Copy the full SHA 1f1db33View commit details
Commits on Sep 1, 2017
-
Configuration menu - View commit details
-
Copy full SHA for db93780 - Browse repository at this point
Copy the full SHA db93780View commit details
Commits on Sep 3, 2017
-
Higher precision for floats in range [0,1)
Use a different technique to create floating point numbers uniformly distributed over [0,1). The previous method only used 23 bits of precision for a f32, this method uses all available 32 bits. This results in numbers with up to 9 bits of precision extra when getting closer to zero. `Closed01` and `Open01` used multiplication to adjust the range sampled from `Uniform01`. This does not play well with an `Uniform01` that gets higher precision as it gets closer to 0.0. `Closed01` now does it's own conversion to sample from the range (0,1]. `Open01` uses the rejection method.
Paul Dicker committedSep 3, 2017 Configuration menu - View commit details
-
Copy full SHA for b7edfdb - Browse repository at this point
Copy the full SHA b7edfdbView commit details -
Make ranges preserve precision
Paul Dicker committedSep 3, 2017 Configuration menu - View commit details
-
Copy full SHA for fadc260 - Browse repository at this point
Copy the full SHA fadc260View commit details -
Use optimized float conversions in ziggurat
Paul Dicker committedSep 3, 2017 Configuration menu - View commit details
-
Copy full SHA for 3c800b1 - Browse repository at this point
Copy the full SHA 3c800b1View commit details -
Move
FloatConversions
to a new modulePaul Dicker committedSep 3, 2017 Configuration menu - View commit details
-
Copy full SHA for ca7b10f - Browse repository at this point
Copy the full SHA ca7b10fView commit details -
Paul Dicker committed
Sep 3, 2017 Configuration menu - View commit details
-
Copy full SHA for 1dbf23d - Browse repository at this point
Copy the full SHA 1dbf23dView commit details -
Paul Dicker committed
Sep 3, 2017 Configuration menu - View commit details
-
Copy full SHA for ac33b28 - Browse repository at this point
Copy the full SHA ac33b28View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed637de - Browse repository at this point
Copy the full SHA ed637deView commit details -
Merge pull request #1 from pitdicker/master
Higher precision for floats in range [0,1)
Configuration menu - View commit details
-
Copy full SHA for e8b06db - Browse repository at this point
Copy the full SHA e8b06dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for a2b2196 - Browse repository at this point
Copy the full SHA a2b2196View commit details -
Configuration menu - View commit details
-
Copy full SHA for eb162fe - Browse repository at this point
Copy the full SHA eb162feView commit details -
Configuration menu - View commit details
-
Copy full SHA for d6f4831 - Browse repository at this point
Copy the full SHA d6f4831View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ca5c4e - Browse repository at this point
Copy the full SHA 0ca5c4eView commit details
Commits on Sep 4, 2017
-
Configuration menu - View commit details
-
Copy full SHA for e4a7fcd - Browse repository at this point
Copy the full SHA e4a7fcdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 04e326d - Browse repository at this point
Copy the full SHA 04e326dView commit details -
Replace fill_bytes code with @newpavlov's code
gen_bytes_* benchmarks show significant improvement, 8 - 68% over previous alg (or 38% to 182% over algorithm before that)
Configuration menu - View commit details
-
Copy full SHA for 0cd5539 - Browse repository at this point
Copy the full SHA 0cd5539View commit details -
Configuration menu - View commit details
-
Copy full SHA for e177594 - Browse repository at this point
Copy the full SHA e177594View commit details -
Move open/closed/uniform 01 benchs from misc to distributions; use bl…
…ack_box on all benches Use of black_box has a huge effect (half performance in some cases, removes odd effects)
Configuration menu - View commit details
-
Copy full SHA for 81821a6 - Browse repository at this point
Copy the full SHA 81821a6View commit details -
Simplify OsRng impls: only impl next_* once & use minimal ReadRng impl
Benchmarks of OsRng show no significant change
Configuration menu - View commit details
-
Copy full SHA for 2e26002 - Browse repository at this point
Copy the full SHA 2e26002View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0fc565e - Browse repository at this point
Copy the full SHA 0fc565eView commit details -
This supports MyRng::new() using OsRng without requiring MyRng code to use OsRng.
Configuration menu - View commit details
-
Copy full SHA for fa4eb5b - Browse repository at this point
Copy the full SHA fa4eb5bView commit details
Commits on Sep 7, 2017
-
Add benchmarks for ranges of i8, i16 and i32
Paul Dicker committedSep 7, 2017 Configuration menu - View commit details
-
Copy full SHA for 31f964e - Browse repository at this point
Copy the full SHA 31f964eView commit details
Commits on Sep 8, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 8906c29 - Browse repository at this point
Copy the full SHA 8906c29View commit details
Commits on Sep 10, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 0a97209 - Browse repository at this point
Copy the full SHA 0a97209View commit details -
Replace fill_bytes with try_fill returning Result<()>
Does not appear to impact performance
Configuration menu - View commit details
-
Copy full SHA for a07bcdf - Browse repository at this point
Copy the full SHA a07bcdfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 07b222b - Browse repository at this point
Copy the full SHA 07b222bView commit details
Commits on Sep 11, 2017
-
Rename FromRng → SeedFromRng and NewRng → NewSeeded
Also some TODO notes
Configuration menu - View commit details
-
Copy full SHA for b8873f7 - Browse repository at this point
Copy the full SHA b8873f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10f794f - Browse repository at this point
Copy the full SHA 10f794fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ec29f80 - Browse repository at this point
Copy the full SHA ec29f80View commit details -
Configuration menu - View commit details
-
Copy full SHA for ad973f1 - Browse repository at this point
Copy the full SHA ad973f1View commit details -
Replace ReseedWithDefault with ReseedWithNew using NewSeeded
Rationale: ReseedWithDefault required the RNG used to support Default, which nothing other than StdRng supported. OTOH all RNGs support SeedFromRng which gives them NewSeeded support too, and mock RNGs can support NewSeeded directly.
Configuration menu - View commit details
-
Copy full SHA for 95a16c3 - Browse repository at this point
Copy the full SHA 95a16c3View commit details -
For into `isaac` and `isaac64` for easier comparison. Split of `isaac_word` to generate correct the documentation (TODO). Nothing is changed here, just split in three files.
Paul Dicker committedSep 11, 2017 Configuration menu - View commit details
-
Copy full SHA for ec7e6bf - Browse repository at this point
Copy the full SHA ec7e6bfView commit details -
This removes the unsafe blocks from the main isaac and isaac64 routines. Some macro's are replaced by functions. Over time the implementation of ISAAC and ISAAC-64 have diverged a bit, now they are as similar as possible (for easier comparison). The code is tested against the previous implementation, and the reference implementation. IsaacRng now does 34% better in the benchmark.
Paul Dicker committedSep 11, 2017 Configuration menu - View commit details
-
Copy full SHA for 4747665 - Browse repository at this point
Copy the full SHA 4747665View commit details
Commits on Sep 12, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 90c094d - Browse repository at this point
Copy the full SHA 90c094dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ee54b1 - Browse repository at this point
Copy the full SHA 0ee54b1View commit details -
Add rand_core::impls module; remove all default impls of Rng functions
This is a controvesial change. The argument *for* is that it prevents RNG wrappers from accidentally implementing methods incorrectly via the default impls (since it is valid to throw away bits, e.g. "self.next_u64() as u32", this affects output, not just performance). The argument *against* is that it complicates Rng implementations.
Configuration menu - View commit details
-
Copy full SHA for dd1241a - Browse repository at this point
Copy the full SHA dd1241aView commit details
Commits on Sep 13, 2017
-
Paul Dicker committed
Sep 13, 2017 Configuration menu - View commit details
-
Copy full SHA for 14d0561 - Browse repository at this point
Copy the full SHA 14d0561View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2cb9acd - Browse repository at this point
Copy the full SHA 2cb9acdView commit details -
Merge remote-tracking branch 'pitdicker/isaac-rewrite'
Also removed SeedableRng impl for IsaacWordRng: it's not reproducible across platforms
Configuration menu - View commit details
-
Copy full SHA for 37faeb5 - Browse repository at this point
Copy the full SHA 37faeb5View commit details
Commits on Sep 14, 2017
-
Configuration menu - View commit details
-
Copy full SHA for da1ff46 - Browse repository at this point
Copy the full SHA da1ff46View commit details -
Configuration menu - View commit details
-
Copy full SHA for 67b22bd - Browse repository at this point
Copy the full SHA 67b22bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for ec70309 - Browse repository at this point
Copy the full SHA ec70309View commit details
Commits on Sep 28, 2017
-
Allow sampling from a closed integer range
These changes make it possible to sample from closed ranges, not only from open. Included is a small optimisation for the modulus operator, and an optimisation for the types i8/u8 and i16/u16.
Paul Dicker committedSep 28, 2017 Configuration menu - View commit details
-
Copy full SHA for d8b8474 - Browse repository at this point
Copy the full SHA d8b8474View commit details
Commits on Sep 30, 2017
-
Paul Dicker committed
Sep 30, 2017 Configuration menu - View commit details
-
Copy full SHA for 7edd06b - Browse repository at this point
Copy the full SHA 7edd06bView commit details -
Paul Dicker committed
Sep 30, 2017 Configuration menu - View commit details
-
Copy full SHA for 96503f7 - Browse repository at this point
Copy the full SHA 96503f7View commit details
Commits on Oct 1, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 86de12b - Browse repository at this point
Copy the full SHA 86de12bView commit details
Commits on Oct 14, 2017
-
Merge pull request #2 from pitdicker/range_int
Allow sampling from a closed integer range
Configuration menu - View commit details
-
Copy full SHA for 97ab178 - Browse repository at this point
Copy the full SHA 97ab178View commit details
Commits on Oct 16, 2017
-
Configuration menu - View commit details
-
Copy full SHA for dfdf89c - Browse repository at this point
Copy the full SHA dfdf89cView commit details
Commits on Oct 18, 2017
-
Configuration menu - View commit details
-
Copy full SHA for e3784ab - Browse repository at this point
Copy the full SHA e3784abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 250aa65 - Browse repository at this point
Copy the full SHA 250aa65View commit details
Commits on Oct 19, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 496c0fc - Browse repository at this point
Copy the full SHA 496c0fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for a6528a3 - Browse repository at this point
Copy the full SHA a6528a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 08ac750 - Browse repository at this point
Copy the full SHA 08ac750View commit details
Commits on Oct 20, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 2e714f2 - Browse repository at this point
Copy the full SHA 2e714f2View commit details -
Add
new_from_u64
toIsaacRng
andIsaac64Rng
I have implemented it as a function instead of a trait, as that makes it easy to add it to every RNG ont at a time. I split the `init` function in two instead of the current version that uses a bool to select between two paths. This makes it more clear how the seed is used. The current `mix` macro has to be defined in the function, and would have to be duplicated. Therefore I converted it to a seperate function. I precalculated the values a...h, but am not sure this is a good idea. It makes the resulting code smaller, and gives a small performance win. Because it are 'magic' values anyway, I thought why not?
Configuration menu - View commit details
-
Copy full SHA for adcd8e5 - Browse repository at this point
Copy the full SHA adcd8e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 849f01a - Browse repository at this point
Copy the full SHA 849f01aView commit details -
Configuration menu - View commit details
-
Copy full SHA for dbbe143 - Browse repository at this point
Copy the full SHA dbbe143View commit details -
Improve error handeling of
ReadRng
Also moved the `impl_uint_from_fill` macro from `os.rs` to `randcore`. I had to modify its error handling anyway, and it is shared with `OsRng`.
Configuration menu - View commit details
-
Copy full SHA for 019d9c1 - Browse repository at this point
Copy the full SHA 019d9c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 44ef65f - Browse repository at this point
Copy the full SHA 44ef65fView commit details
Commits on Oct 21, 2017
-
Configuration menu - View commit details
-
Copy full SHA for a4e9885 - Browse repository at this point
Copy the full SHA a4e9885View commit details -
Merge pull request #14 from pitdicker/fix_i128_support
Fix i128_support in range.rs
Configuration menu - View commit details
-
Copy full SHA for d511022 - Browse repository at this point
Copy the full SHA d511022View commit details -
Configuration menu - View commit details
-
Copy full SHA for 130b64c - Browse repository at this point
Copy the full SHA 130b64cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 58350a9 - Browse repository at this point
Copy the full SHA 58350a9View commit details -
Merge pull request #5 from pitdicker/isaac_init
Add `new_from_u64` to `IsaacRng` and `Isaac64Rng`
Configuration menu - View commit details
-
Copy full SHA for bf53631 - Browse repository at this point
Copy the full SHA bf53631View commit details -
Configuration menu - View commit details
-
Copy full SHA for ebec6c7 - Browse repository at this point
Copy the full SHA ebec6c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6712a3a - Browse repository at this point
Copy the full SHA 6712a3aView commit details -
Custom Debug implementation for ChaCha and Xorshift
So the internal state is never exposed (may be security-sensitive)
Configuration menu - View commit details
-
Copy full SHA for e513aaa - Browse repository at this point
Copy the full SHA e513aaaView commit details -
Configuration menu - View commit details
-
Copy full SHA for fdf4017 - Browse repository at this point
Copy the full SHA fdf4017View commit details -
Configuration menu - View commit details
-
Copy full SHA for 37f7450 - Browse repository at this point
Copy the full SHA 37f7450View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5556c6 - Browse repository at this point
Copy the full SHA b5556c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6edac27 - Browse repository at this point
Copy the full SHA 6edac27View commit details
Commits on Oct 22, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 47bdc03 - Browse repository at this point
Copy the full SHA 47bdc03View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9d9987 - Browse repository at this point
Copy the full SHA b9d9987View commit details
Commits on Oct 23, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 32e325c - Browse repository at this point
Copy the full SHA 32e325cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2679dbd - Browse repository at this point
Copy the full SHA 2679dbdView commit details -
Configuration menu - View commit details
-
Copy full SHA for c4eb96c - Browse repository at this point
Copy the full SHA c4eb96cView commit details
Commits on Oct 28, 2017
-
Merge pull request #19 from pitdicker/drop_pnacl
Drop support for PNaCL
Configuration menu - View commit details
-
Copy full SHA for 819a282 - Browse repository at this point
Copy the full SHA 819a282View commit details
Commits on Oct 30, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 0b1ac0f - Browse repository at this point
Copy the full SHA 0b1ac0fView commit details
Commits on Oct 31, 2017
-
Merge pull request #20 from pitdicker/fill_from_next
Fix unaligned cast in `impl_uint_from_fill`
Configuration menu - View commit details
-
Copy full SHA for 9a4e2e7 - Browse repository at this point
Copy the full SHA 9a4e2e7View commit details
Commits on Nov 4, 2017
-
Implement
JitterRng
, based onjitterentropy-library
.This is a pretty direct translation from C to Rust. Some notes per function: ### `random_loop_cnt` (`jent_loop_shuffle`) Because the `min` argument was always `0`, I removed that argument. The C code did not seem to fold the time optimally. When `bits` is set to `7`, as `mem_access` does, it will fold `64 / 7 = 9` times, leaving 1 bit unused. It is minor, but we use `folds = (64 + n_bits - 1) / n_bits;`, so all is used. We do not add 1 to the resulting loop count, this should be done in the calling code. `memaccess` already adds 128 anyway. For `lfsr_time` we use the loop count on a `throw_away` value, and then run the real calculation once. ### `lfsr_time` (`jent_lfsr_time`) We do not allow overriding `loop_cnt`, and also do not return the actual `loop_cnt` used. This only had some use in testing the C code, but was 'not needed during runtime'. Only the last round of the outer loop (in C) effect `self.data`. In Rust the inner loop is part of the `lfsr` helper function. All but the last round operate on a `throw_away` function, that does not get reset between the loop rounds. ### `memaccess` (`jent_memaccess`) We do not allow overriding `loop_cnt`, and also do not return the actual `loop_cnt` used. This only had some use in testing the C code, but was 'not needed during runtime'. We do not do NULL pointer checks, and running `JitterRng` without the Memory Access noise source is (currently) not supported. We (currently) do not support changing `memblocksize` and `memblocks` except by changing the constants `MEMORY_BLOCKS` and `MEMORY_BLOCKSIZE`. So instead of recalculating `wrap`, we can just re-use MEMORY_SIZE. Instead of a `memlocation` pointer we use indexing. The `index` is calculated before accessing `self.mem[index] instead of after. This convinces the compiler indexing is safe, and eliminates bounds checks. ### `stuck` (`jent_stuck`) For all delta's we use an `i64`, instead of an `u64` for the first delta in the C implementation. This handles a clock that may not be entirely monotonic (for example due to NTP) slightly better. Also, we return a `bool` instead of an `u64`. ### `measure_jitter` (`jent_measure_jitter`) It seemed clearer here to not return an `u64` or `bool`, but `Option<()>`. `Some` and `None` indicate clearly whether we have been able to add some entropy. For `current_delta` we use an `i64` instead of an `u64`. It is cast back to an `u64` for `lfsr_time`, which only cares about bits. ### `stir_pool` (`jent_stir_pool`) The C code does something difficult with initializing an `u64` with two `u32`'s in an `union`. The numbers it uses for initialization are from SHA-1, and the order does not really matter. The Rust code just sets the `u64`'s directly, and uses the constants in the order they appear in FIPS 180-4 section 5.3.1. The function tries to be constant time to prevent leaking timing information about the generated random number. Using a `trow_away` value like it does is optimised out, and I don't trust branches to be constant time. I used a bit mask trick instead, and verified the assembly does not include anything conditional. Not sure it matters anything, we just went through a lot of effort to have as much timing variance as possible to generate the random number. ### `gen_entropy` (`jent_gen_entropy`) We do not support oversampling, so no need to repeat the loop more times. `self.memaccess()` in `measure_jitter` is easily optimised out, because LLVM recognises we never read the results. Therefore we do a single read from `self.mem`, hidden to the optimizer with `black_box()`. We return `self.data` instead of requiring the calling code to read from it. ### (not included) `jent_read_entropy` Here we have the convienent `fill_bytes_via_u64` for. The C code calls `jent_gen_entropy` one last time after filling the buffer, to make sure that something reading the processes memory can not read the last generated random number. 'This call reduces the speed of the RNG by up to half`. It seems to me setting it to 0 is just as good. I did not bother with this. As an alternative a user caring very much about this can just call `next_u64` after receiving a result. ### `entropy_init` (`jent_entropy_init`) Wrap `lfsr_time` in the loop in a `black_box` to make sure it is not optimised out. For delta we use an `i64` instead of an `u64`. Instead of `lowdelta` we just use `delta`. It seems a hack to compile on some 32-bit architectures.
Configuration menu - View commit details
-
Copy full SHA for 07e1d58 - Browse repository at this point
Copy the full SHA 07e1d58View commit details -
> One question about the license. All libraries in the Rust ecosystem try > to be dual-licensed with the permissive Apache 2.0 license and the MIT > license. I am not sure it is ok for me to do so, because your code used > the 3-clause BSD. The difference seems to be in the third clause: "The > name of the author may not be used to endorse or promote products > derived from this software without specific prior written permission." > Can you maybe give permission to license this Rust translation under the > MIT license? Granted. I am fine with the mentioned license as long as there is a reference to my code.
Configuration menu - View commit details
-
Copy full SHA for 6e40910 - Browse repository at this point
Copy the full SHA 6e40910View commit details
Commits on Nov 8, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 8ff9394 - Browse repository at this point
Copy the full SHA 8ff9394View commit details -
Configuration menu - View commit details
-
Copy full SHA for f4a43f7 - Browse repository at this point
Copy the full SHA f4a43f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 442caee - Browse repository at this point
Copy the full SHA 442caeeView commit details -
Add the function `timer_stats` (`jent_lfsr_var_stat` in C). Like in other the other functions we use a `int64` to represent a time delta instead of a `u64`. Instead of the `min` variable to indicate how many times the noice source loops should run at least, we use a `var_rounds` boolean. Setting `min` seems like an historic leftover, and does not fit `memaccess`. A simple bool covers everything needed for testing. This effects `timer_stats`, `lfsr_time` and `memaccess`. It is useful to be able to run the statistics function, even when initializing `JitterRng` might fail because of the `test_timer` function. Therefore `new_with_timer` does not automatically test the timer jitter, and expects the user code to do so. Now that `new_with_timer` calls `gen_entropy`, it was possible to move `black_box(ec.mem[0])` here instead of `measure_jitter`, so it is executed even less. # Conflicts: # src/jitter_rng.rs
Configuration menu - View commit details
-
Copy full SHA for 49e9bb0 - Browse repository at this point
Copy the full SHA 49e9bb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed358de - Browse repository at this point
Copy the full SHA ed358deView commit details -
Configuration menu - View commit details
-
Copy full SHA for c57aa1a - Browse repository at this point
Copy the full SHA c57aa1aView commit details
Commits on Nov 9, 2017
-
Merge pull request #34 from dhardy/err2
Revise error type (copy from error_details branch)
Configuration menu - View commit details
-
Copy full SHA for bd60937 - Browse repository at this point
Copy the full SHA bd60937View commit details -
Fix: Error::new(_, _, None) was not usable
Type deduction failed due to lack of bounds on E.
Configuration menu - View commit details
-
Copy full SHA for 908fda4 - Browse repository at this point
Copy the full SHA 908fda4View commit details -
Configuration menu - View commit details
-
Copy full SHA for e6b224d - Browse repository at this point
Copy the full SHA e6b224dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6302f53 - Browse repository at this point
Copy the full SHA 6302f53View commit details -
Configuration menu - View commit details
-
Copy full SHA for 89f0430 - Browse repository at this point
Copy the full SHA 89f0430View commit details
Commits on Nov 10, 2017
-
Configuration menu - View commit details
-
Copy full SHA for fdb09d4 - Browse repository at this point
Copy the full SHA fdb09d4View commit details -
Add rand_core::impls::fill_via_try_fill with handling for errors.
Configuration menu - View commit details
-
Copy full SHA for 3bf4680 - Browse repository at this point
Copy the full SHA 3bf4680View commit details -
Configuration menu - View commit details
-
Copy full SHA for 585b738 - Browse repository at this point
Copy the full SHA 585b738View commit details -
Configuration menu - View commit details
-
Copy full SHA for 508f22c - Browse repository at this point
Copy the full SHA 508f22cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b8371f - Browse repository at this point
Copy the full SHA 4b8371fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b7666c - Browse repository at this point
Copy the full SHA 3b7666cView commit details -
Split gen_usize_* benchmarks into gen_u32_* and gen_u64_*
Copy non-controversial part of #36 Credit: Paul Dicker <pitdicker@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d387570 - Browse repository at this point
Copy the full SHA d387570View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e9c1ab - Browse repository at this point
Copy the full SHA 6e9c1abView commit details -
Configuration menu - View commit details
-
Copy full SHA for ae365ef - Browse repository at this point
Copy the full SHA ae365efView commit details -
Isaac64: add test for true 32-bit values
Includes both the values output now and the values which should be output by #36.
Configuration menu - View commit details
-
Copy full SHA for fd2660b - Browse repository at this point
Copy the full SHA fd2660bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ab79378 - Browse repository at this point
Copy the full SHA ab79378View commit details -
Merge pull request #35 from dhardy/reseeding
Reseeding: handle/forward failures from source RNG
Configuration menu - View commit details
-
Copy full SHA for c8a8f86 - Browse repository at this point
Copy the full SHA c8a8f86View commit details
Commits on Nov 11, 2017
-
Configuration menu - View commit details
-
Copy full SHA for d67864a - Browse repository at this point
Copy the full SHA d67864aView commit details -
Convert ChaCha to use
fill_via_u32_chunks
This also replaces `core::num::Wrapping` with a few `wrapping_add`'s. There were about 30 conversions to and from `Wrapping`, while there are only 9 wrapping operations. Because `fill_via_u32_chunks` expects a `[u32]`, converting away was just easier.
Configuration menu - View commit details
-
Copy full SHA for d7b014c - Browse repository at this point
Copy the full SHA d7b014cView commit details -
Fill
isaac
backwards, and usefill_via_u32_chunks
Also uses a different solution to index without bounds checking, to recover a very little bit of lost performance.
Configuration menu - View commit details
-
Copy full SHA for f92a347 - Browse repository at this point
Copy the full SHA f92a347View commit details -
Configuration menu - View commit details
-
Copy full SHA for 707c3e1 - Browse repository at this point
Copy the full SHA 707c3e1View commit details -
Improve performance of
isaac64::next_u32
.This does some crazy things with indexing, but is 45% faster. We are no longer throwing away half of the results.
Configuration menu - View commit details
-
Copy full SHA for 415ef6f - Browse repository at this point
Copy the full SHA 415ef6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c218f7a - Browse repository at this point
Copy the full SHA c218f7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 701679c - Browse repository at this point
Copy the full SHA 701679cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0bdb1c3 - Browse repository at this point
Copy the full SHA 0bdb1c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f4bedf - Browse repository at this point
Copy the full SHA 5f4bedfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 69d940f - Browse repository at this point
Copy the full SHA 69d940fView commit details -
Merge pull request #45 from pitdicker/isaac_optim
Improve ISAAC performance (take 2)
Configuration menu - View commit details
-
Copy full SHA for fe822c0 - Browse repository at this point
Copy the full SHA fe822c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 08dc010 - Browse repository at this point
Copy the full SHA 08dc010View commit details -
Configuration menu - View commit details
-
Copy full SHA for 500b574 - Browse repository at this point
Copy the full SHA 500b574View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f3c9b0 - Browse repository at this point
Copy the full SHA 7f3c9b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for d92451a - Browse repository at this point
Copy the full SHA d92451aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 14136e7 - Browse repository at this point
Copy the full SHA 14136e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8971695 - Browse repository at this point
Copy the full SHA 8971695View commit details -
Crate dependencies: set default-features = false
This is required for proper no-std support
Configuration menu - View commit details
-
Copy full SHA for 6701189 - Browse repository at this point
Copy the full SHA 6701189View commit details -
Taken from rust/src/etc/ziggurat_tables.py
Configuration menu - View commit details
-
Copy full SHA for 2486226 - Browse repository at this point
Copy the full SHA 2486226View commit details
Commits on Nov 13, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 35f0cd7 - Browse repository at this point
Copy the full SHA 35f0cd7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32ea1d2 - Browse repository at this point
Copy the full SHA 32ea1d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 026b50e - Browse repository at this point
Copy the full SHA 026b50eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c74cb3f - Browse repository at this point
Copy the full SHA c74cb3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 065baa7 - Browse repository at this point
Copy the full SHA 065baa7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96ec26c - Browse repository at this point
Copy the full SHA 96ec26cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b62a03 - Browse repository at this point
Copy the full SHA 8b62a03View commit details -
Merge most of branch 'no_std', minus no_std build
Leave thumbv7em target disabled
Configuration menu - View commit details
-
Copy full SHA for 7adefa0 - Browse repository at this point
Copy the full SHA 7adefa0View commit details -
We probably don't want all enabled; this is just to convince GH the branch isn't fully merged
Configuration menu - View commit details
-
Copy full SHA for 82e18c6 - Browse repository at this point
Copy the full SHA 82e18c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 137fe01 - Browse repository at this point
Copy the full SHA 137fe01View commit details
Commits on Nov 14, 2017
-
Configuration menu - View commit details
-
Copy full SHA for ae45ffe - Browse repository at this point
Copy the full SHA ae45ffeView commit details -
Configuration menu - View commit details
-
Copy full SHA for fe3486b - Browse repository at this point
Copy the full SHA fe3486bView commit details -
Configuration menu - View commit details
-
Copy full SHA for afce69d - Browse repository at this point
Copy the full SHA afce69dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4fff5af - Browse repository at this point
Copy the full SHA 4fff5afView commit details
Commits on Nov 15, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 1e84e50 - Browse repository at this point
Copy the full SHA 1e84e50View commit details
Commits on Nov 17, 2017
-
JitterRng: reduce FACTOR to 3 to avoid overflow
Rationale: have observed delta_average high enough to overflow with FACTOR=4 (i.e. over 65536); overflow with FACTOR=3 would require 40-times higher which seems unlikely. FACTOR=3 appears to provide enough precision.
Configuration menu - View commit details
-
Copy full SHA for 38e5d8d - Browse repository at this point
Copy the full SHA 38e5d8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for aafcba8 - Browse repository at this point
Copy the full SHA aafcba8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82d9731 - Browse repository at this point
Copy the full SHA 82d9731View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d8021b - Browse repository at this point
Copy the full SHA 9d8021bView commit details -
NewSeeded: use JitterRng fallback
Also restrict to prevent user implementation
Configuration menu - View commit details
-
Copy full SHA for b4746c8 - Browse repository at this point
Copy the full SHA b4746c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95c0b35 - Browse repository at this point
Copy the full SHA 95c0b35View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd4c793 - Browse repository at this point
Copy the full SHA bd4c793View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf211f9 - Browse repository at this point
Copy the full SHA cf211f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2821328 - Browse repository at this point
Copy the full SHA 2821328View commit details -
Configuration menu - View commit details
-
Copy full SHA for 53ab77e - Browse repository at this point
Copy the full SHA 53ab77eView commit details -
Cargo: do not use std by default in rand_core
This is to work around what I'm pretty sure is a Cargo bug, and is causing build failures with no_std builds now.
Configuration menu - View commit details
-
Copy full SHA for 8be4f63 - Browse repository at this point
Copy the full SHA 8be4f63View commit details -
Configuration menu - View commit details
-
Copy full SHA for a41c055 - Browse repository at this point
Copy the full SHA a41c055View commit details -
JitterRng::timer_stats: do not run example
This writes to disk, which fails on CI.
Configuration menu - View commit details
-
Copy full SHA for eca5e36 - Browse repository at this point
Copy the full SHA eca5e36View commit details -
Configuration menu - View commit details
-
Copy full SHA for bcde73a - Browse repository at this point
Copy the full SHA bcde73aView commit details
Commits on Nov 20, 2017
-
Configuration menu - View commit details
-
Copy full SHA for e472682 - Browse repository at this point
Copy the full SHA e472682View commit details -
Configuration menu - View commit details
-
Copy full SHA for 442e7a7 - Browse repository at this point
Copy the full SHA 442e7a7View commit details -
Merge pull request #56 from dhardy/jitter-bench-darwin
Workaround #55: don't run nightly tests on darwin
Configuration menu - View commit details
-
Copy full SHA for e7335be - Browse repository at this point
Copy the full SHA e7335beView commit details
Commits on Nov 21, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 0ccaa6b - Browse repository at this point
Copy the full SHA 0ccaa6bView commit details -
Merge pull request #57 from pitdicker/jitterrng_apple
Fix `JitterRng` on Mac OS
Configuration menu - View commit details
-
Copy full SHA for 03ff2d6 - Browse repository at this point
Copy the full SHA 03ff2d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a38131 - Browse repository at this point
Copy the full SHA 2a38131View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17e08de - Browse repository at this point
Copy the full SHA 17e08deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 05d0449 - Browse repository at this point
Copy the full SHA 05d0449View commit details -
Configuration menu - View commit details
-
Copy full SHA for db99fda - Browse repository at this point
Copy the full SHA db99fdaView commit details -
Merge pull request #54 from dhardy/new_seeded
NewSeeded: use JitterRng fallback
Configuration menu - View commit details
-
Copy full SHA for 8b0d1ad - Browse repository at this point
Copy the full SHA 8b0d1adView commit details
Commits on Nov 24, 2017
-
This becomes difficult to deal with in WIP change
Configuration menu - View commit details
-
Copy full SHA for cc437de - Browse repository at this point
Copy the full SHA cc437deView commit details -
SeaHash, seeding via hash, SeadableRng::Seed
Implement seeding via hash function Embed a compatible but customised SeaHash implementation Adjust SeadableRng to have associated Seed type
Configuration menu - View commit details
-
Copy full SHA for e621639 - Browse repository at this point
Copy the full SHA e621639View commit details
Commits on Nov 25, 2017
-
Configuration menu - View commit details
-
Copy full SHA for e87b0a7 - Browse repository at this point
Copy the full SHA e87b0a7View commit details -
Merge pull request #63 from pitdicker/jitter_windows
Fix JitterRng on Windows
Configuration menu - View commit details
-
Copy full SHA for 9eca335 - Browse repository at this point
Copy the full SHA 9eca335View commit details
Commits on Dec 1, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 7897515 - Browse repository at this point
Copy the full SHA 7897515View commit details -
Configuration menu - View commit details
-
Copy full SHA for 697d88a - Browse repository at this point
Copy the full SHA 697d88aView commit details
Commits on Dec 3, 2017
-
Merge rust-lang-nursery/master into dhardy/master
This includes the rename jitter_rng.rs → jitter.rs
Configuration menu - View commit details
-
Copy full SHA for c03c211 - Browse repository at this point
Copy the full SHA c03c211View commit details
Commits on Dec 4, 2017
-
Configuration menu - View commit details
-
Copy full SHA for eae85e2 - Browse repository at this point
Copy the full SHA eae85e2View commit details
Commits on Dec 5, 2017
-
Configuration menu - View commit details
-
Copy full SHA for c826587 - Browse repository at this point
Copy the full SHA c826587View commit details
Commits on Dec 7, 2017
-
Merge branch 'master' into dh-master
This involves some updates to new WASM and seq code
Configuration menu - View commit details
-
Copy full SHA for b8fb05c - Browse repository at this point
Copy the full SHA b8fb05cView commit details
Commits on Dec 8, 2017
-
Add alloc feature; enables seq code
Yet another way to complicate the library; not too bad however. README updated with regards to features (new section)
Configuration menu - View commit details
-
Copy full SHA for 51a27e1 - Browse repository at this point
Copy the full SHA 51a27e1View commit details
Commits on Dec 9, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 43267f7 - Browse repository at this point
Copy the full SHA 43267f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for c8c720e - Browse repository at this point
Copy the full SHA c8c720eView commit details
Commits on Dec 10, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 3f22ddd - Browse repository at this point
Copy the full SHA 3f22dddView commit details
Commits on Dec 11, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 68edc9f - Browse repository at this point
Copy the full SHA 68edc9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 173c2b4 - Browse repository at this point
Copy the full SHA 173c2b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51cc0ed - Browse repository at this point
Copy the full SHA 51cc0edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e492e5 - Browse repository at this point
Copy the full SHA 5e492e5View commit details -
Cherry-pick 243e1ea: Add rand_core::le module, switch SeedableRng::Se…
…ed types to u8 arrays
Configuration menu - View commit details
-
Copy full SHA for 888c5d2 - Browse repository at this point
Copy the full SHA 888c5d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for ada83bd - Browse repository at this point
Copy the full SHA ada83bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a7dbb0 - Browse repository at this point
Copy the full SHA 5a7dbb0View commit details
Commits on Dec 12, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 4d832a7 - Browse repository at this point
Copy the full SHA 4d832a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e79c06 - Browse repository at this point
Copy the full SHA 4e79c06View commit details -
Configuration menu - View commit details
-
Copy full SHA for 259281e - Browse repository at this point
Copy the full SHA 259281eView commit details
Commits on Dec 13, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 1913e08 - Browse repository at this point
Copy the full SHA 1913e08View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6249973 - Browse repository at this point
Copy the full SHA 6249973View commit details -
Merge pull request #69 from pitdicker/range_single_sample
Add sample_single to Range
Configuration menu - View commit details
-
Copy full SHA for 4ebd21f - Browse repository at this point
Copy the full SHA 4ebd21fView commit details
Commits on Dec 14, 2017
-
Configuration menu - View commit details
-
Copy full SHA for af4f3f9 - Browse repository at this point
Copy the full SHA af4f3f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d236da - Browse repository at this point
Copy the full SHA 9d236daView commit details -
Configuration menu - View commit details
-
Copy full SHA for e90e9eb - Browse repository at this point
Copy the full SHA e90e9ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for fe40af0 - Browse repository at this point
Copy the full SHA fe40af0View commit details -
Merge pull request #71 from dhardy/simple-rand
Select "SimpleRand" over generic "Rand" for backwards compatibility
Configuration menu - View commit details
-
Copy full SHA for de17011 - Browse repository at this point
Copy the full SHA de17011View commit details -
Configuration menu - View commit details
-
Copy full SHA for e18d489 - Browse repository at this point
Copy the full SHA e18d489View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ac7b86 - Browse repository at this point
Copy the full SHA 0ac7b86View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9f7123 - Browse repository at this point
Copy the full SHA b9f7123View commit details
Commits on Dec 16, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 5741e16 - Browse repository at this point
Copy the full SHA 5741e16View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0deb78 - Browse repository at this point
Copy the full SHA a0deb78View commit details
Commits on Dec 18, 2017
-
Merge pull request #75 from pitdicker/char_distrs
Rename `AsciiWordChar` and optimize `Codepoint`
Configuration menu - View commit details
-
Copy full SHA for e3c8ca1 - Browse repository at this point
Copy the full SHA e3c8ca1View commit details
Commits on Dec 19, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 4058522 - Browse repository at this point
Copy the full SHA 4058522View commit details -
Configuration menu - View commit details
-
Copy full SHA for f58b2f1 - Browse repository at this point
Copy the full SHA f58b2f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e088f1 - Browse repository at this point
Copy the full SHA 4e088f1View commit details
Commits on Dec 20, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 729644c - Browse repository at this point
Copy the full SHA 729644cView commit details
Commits on Dec 21, 2017
-
Configuration menu - View commit details
-
Copy full SHA for eaeee11 - Browse repository at this point
Copy the full SHA eaeee11View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f1deb7 - Browse repository at this point
Copy the full SHA 4f1deb7View commit details -
Replace
convert_slice_{32,64}
withread_u{32,64}_into
And a little cleanup around the init functions
Configuration menu - View commit details
-
Copy full SHA for 92831f3 - Browse repository at this point
Copy the full SHA 92831f3View commit details
Commits on Dec 23, 2017
-
Configuration menu - View commit details
-
Copy full SHA for cc6da7a - Browse repository at this point
Copy the full SHA cc6da7aView commit details
Commits on Dec 27, 2017
-
Merge pull request #77 from pitdicker/blockrng
Replace `convert_slice_{32,64}` with `read_u{32,64}_into`
Configuration menu - View commit details
-
Copy full SHA for 5d9acdc - Browse repository at this point
Copy the full SHA 5d9acdcView commit details -
Configuration menu - View commit details
-
Copy full SHA for e9359ac - Browse repository at this point
Copy the full SHA e9359acView commit details
Commits on Dec 28, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 945e8ff - Browse repository at this point
Copy the full SHA 945e8ffView commit details
Commits on Dec 29, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 4ea098b - Browse repository at this point
Copy the full SHA 4ea098bView commit details
Commits on Dec 31, 2017
-
Merge pull request #80 from pitdicker/seed_sizes
Restrict the seed type to a few more array sizes
Configuration menu - View commit details
-
Copy full SHA for 45ace88 - Browse repository at this point
Copy the full SHA 45ace88View commit details -
Merge pull request #79 from pitdicker/range_128
Make u128 range use widening multiply
Configuration menu - View commit details
-
Copy full SHA for 1f9ce3a - Browse repository at this point
Copy the full SHA 1f9ce3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 402e673 - Browse repository at this point
Copy the full SHA 402e673View commit details -
Improve performance of
ReseedingRng
* Move the check if it is time to reseed out of the `try_reseed_if_necessary` and make sure that function does not get inlined. * Invert the counter direction. This way we can compare against 0 instead of `self.threshold` * Doing the reseed check after generating a value turns out to be a bit faster.`
Configuration menu - View commit details
-
Copy full SHA for 4d10328 - Browse repository at this point
Copy the full SHA 4d10328View commit details -
Configuration menu - View commit details
-
Copy full SHA for 07717bc - Browse repository at this point
Copy the full SHA 07717bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8990da2 - Browse repository at this point
Copy the full SHA 8990da2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 14f02a2 - Browse repository at this point
Copy the full SHA 14f02a2View commit details
Commits on Jan 1, 2018
-
Configuration menu - View commit details
-
Copy full SHA for d5d9c75 - Browse repository at this point
Copy the full SHA d5d9c75View commit details
Commits on Jan 8, 2018
-
Configuration menu - View commit details
-
Copy full SHA for a4ff5d7 - Browse repository at this point
Copy the full SHA a4ff5d7View commit details