Isis Lovecruft
|
43481a9ff6
|
Change the whitespace because Boats made fun of it on twitter.
|
2017-05-31 01:31:37 +00:00 |
|
Isis Lovecruft
|
4ecf6ab326
|
Implement constant-time selection between two things.
|
2017-05-31 01:29:59 +00:00 |
|
Isis Lovecruft
|
674a00df5b
|
Some rustfmt fixes. I disagreed with all the other ones.
|
2017-05-28 22:42:09 +00:00 |
|
Isis Lovecruft
|
648f95887a
|
Rename subtle::bytes_equal_ct() to bytes_equal().
|
2017-05-27 18:35:34 +00:00 |
|
Isis Lovecruft
|
1c4f283be4
|
Change debug_assert to assert in arrays_equal().
|
2017-05-27 18:28:37 +00:00 |
|
Isis Lovecruft
|
3decdbed0d
|
Make arrays_equal() work for any size &[u8], as long as sizes are equal.
|
2017-05-26 22:39:20 +00:00 |
|
Isis Lovecruft
|
0c38718346
|
Rename subtle::arrays_equal_ct() to subtle::arrays_equal().
It's already obvious that it's constant-time because it's in the subtle
module.
|
2017-05-26 22:35:45 +00:00 |
|
Isis Lovecruft
|
e74be0024d
|
Better documentation for arrays_equal_ct.
|
2017-05-26 21:22:31 +00:00 |
|
Isis Lovecruft
|
a12c2979fb
|
Fix the doctest for byte_is_nonzero.
|
2017-05-26 20:53:18 +00:00 |
|
Isis Lovecruft
|
4b738c7e19
|
Remove #[allow(dead_code)] from arrays_equal_ct().
|
2017-02-21 06:06:16 +00:00 |
|
Isis Lovecruft
|
6f67a7d716
|
Rename util module to subtle.
* CHANGE subtle module documentation slightly to clarify the module's purpose.
* FIXES issue #25.
|
2017-02-21 06:01:22 +00:00 |
|