- 09 Aug, 2021 1 commit
-
-
Brian Smith authored
Make it a `const` instead of referencing the value in the system library to save a relocation.
-
- 03 Aug, 2021 2 commits
-
-
Brian Smith authored
Fix the build failure.
-
Brian Smith authored
-
- 20 Jul, 2021 1 commit
-
-
Brian Smith authored
-
- 13 Jul, 2021 1 commit
-
-
Brian Smith authored
-
- 07 Jul, 2021 1 commit
-
-
Brian Smith authored
-
- 06 Jul, 2021 1 commit
-
-
ComplexSpaces authored
I agree to license my contributions to each file under the terms given at the top of each file I changed. Add AEAD decryption benchmarks
-
- 26 Jun, 2021 1 commit
-
-
Brian Smith authored
-
- 25 Jun, 2021 1 commit
-
-
Brian Smith authored
Prepare for the removal of the `PartialEq`/`Eq` implementations from `untrusted`. The goal of such removal is to make timing leaks more obvious, and to make the absense of timing leaks more clear.
-
- 24 Jun, 2021 6 commits
-
-
Brian Smith authored
It isn't useful for it to be in the crate, as it isn't used in any part of the build or tests.
-
Brian Smith authored
-
Brian Smith authored
-
Brian Smith authored
Take a step towards having RSA keys support encryption/decryption in addition to signing/verification. No functional changes are intended. Some documentation was moved around.
-
Brian Smith authored
-
Brian Smith authored
-
- 23 Jun, 2021 1 commit
-
-
Joel Galenson authored
This should allow tests to pass on the crates.io release.
-
- 18 Jun, 2021 3 commits
-
-
Brian Smith authored
-
Brian Smith authored
-
Brian Smith authored
The `let _ =` stuff makes it look like we're ignoring the result. It isn't clear that `with_bad_i` was doing the check we needed. Merge `with_good_i` and `with_bad_i` into one `with_i` and move the checks to the calling code.
-
- 16 Jun, 2021 2 commits
-
-
Brian Smith authored
`big_endian_without_leading_zero_as_input().as_slice_less_safe()` is equivalent to `big_endian_without_leading_zero()`. Simplify users of the former to use the latter. This facilitates moving the unit tests to integration tests.
-
Brian Smith authored
Simplify the integer parsing code. Instead of jumping through hoops to use the `untrusted` API for validating the syntax, take advantage of slice patterns, which weren't available at the time the original code was written. Eliminate redundancy in checking for non-zero values when parsing positive integers.
-
- 11 Jun, 2021 1 commit
-
-
Brian Smith authored
Use normal error handling instead of panicking. That is, don't require/assume that the caller of `io::Positive::new_non_empty_without_leading_zeros()` already validated the input. This adds redundant error checking when it is used by `io::der`, but will simplify (future) callers outside of `io::der`. Rename the function.
-
- 10 Jun, 2021 1 commit
-
-
Brian Smith authored
Follow the Rust convention of having minimal constraints on type definitions.
-
- 03 Jun, 2021 1 commit
-
-
Brian Smith authored
-
- 14 May, 2021 5 commits
-
-
Brian Smith authored
-
Brian Smith authored
Prepare for a future where the `rsa` module is public. (Currently this is a no-op since `rsa` isn't public.)
-
Brian Smith authored
Prepare for making the `rsa` module public.
-
Brian Smith authored
-
Brian Smith authored
No semantic change; using `skip_to_end()` is just clearer.
-
- 13 May, 2021 3 commits
-
-
Brian Smith authored
-
Brian Smith authored
-
Brian Smith authored
-
- 12 May, 2021 3 commits
-
-
Brian Smith authored
-
Brian Smith authored
-
Brian Smith authored
-
- 11 May, 2021 5 commits
-
-
Brian Smith authored
-
Brian Smith authored
-
Brian Smith authored
-
Brian Smith authored
-
Brian Smith authored
-