summaryrefslogtreecommitdiff
path: root/crates/tor-llcrypto/semver.md
Commit message (Collapse)AuthorAgeFilesLines
* llcrypto: Remove redundant re-exports in keymanip.Nick Mathewson2023-11-291-0/+2
| | | | (These types were all already re-exported from pk::ed25519.)
* Deprecate convert_ed25519_to_curve25519_private as unusedNick Mathewson2023-11-291-0/+1
|
* Remove RngCompatExt.Nick Mathewson2023-11-291-0/+1
| | | | | | | | | | This code was needed with the old version of dalek-cryptography, which wasn't compatible with up-to-date versions of the `rand` crate(s). But now that we've upgraded, we can drop this. (We could have left it around and deprecated it, but we are already making a breaking change to tor-llcrypto by upgrading dalek-cryptography.)
* Convert to the latest versions of dalek-cryptographyNick Mathewson2023-11-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The main changes that we have to adjust for are as follows: * In x25519-dalek: * `StaticSecret` is now behind a feature. * `StaticSecret::new` is deprecated in favor of `StaticSecret::random_from_rng`. * StaticSecret no longer does its own clamping. * In ed25519-dalek: * `SecretKey` has (in effect) been renamed to `SigningKey`. The name `SecretKey` is now an alias for `[u8; 32]`. * `SigningKey` is effectively a keypair, since it contains a public key as well. * `PublicKey` has been renamed to `VerifyingKey`. * The functions to extract a signing key and verifying key have been renamed as you might expect. * `ExpandedSecretKey` has been moved to `hasmat` and no longer implements `sign`. * `ExpanededSecretKey` now has as its elements a scalar and a hash prefix. * Various functions that took `&[u8]` now take `&[u8; N]`. * We no longer need a wrapper for older versions of rand. There is a single test in tor-keymgr that does not pass. I've marked it as ignore for now, in hopes that @gabi-250 can help me figure it out. This closes #808. There are several changes I want to make before we merge, however. They are marked with TODO DALEK.
* tor-llcrypto: bump sha3 minimum versionJim Newsome2023-11-151-0/+1
| | | | | | Before version 10.6, `Shake256Reader` is incorrectly defined using `Shake256Core` instead of `Shake256ReaderCore`. As a result, attempting to instantiate `Shake256Reader` fails at compile time.
* tor_llcrypto: expose `Shake256Reader`Jim Newsome2023-11-151-0/+1
|
* Remove semver.md files now that 1.1.9 is out.Nick Mathewson2023-10-021-1/+0
|
* tor-llcrypto: Add a type for x25519 StaticSecret/PublicKey keypairs.Gabriela Moldovan2023-09-251-0/+1
|
* Remove semver.md now that 1.1.8 is out.Nick Mathewson2023-09-051-1/+0
|
* llcrypto: New SimpleMac traitNick Mathewson2023-08-141-0/+1
| | | | | | | | | This will be useful in preference to the regular Mac trait for the places where we need to pass a Mac key around, but we don't need to support incremental operation. Part of arti#993, where we want to expose a MAC object without exposing sensitive data.
* Remove semver.md files for 1.1.6Nick Mathewson2023-06-301-2/+0
|
* llcrypto: Implement ed25519_to_curve25519_private conversion.Gabriela Moldovan2023-06-271-0/+1
| | | | | | | | | | | | | In `ArtiNativeKeyStore`, private keys are stored in OpenSSH format. However, `ssh-key` (the crate we use for parsing OpenSSH keys) doesn't support x25519 keys. As a workaround, this type of key will stored as ed25519 and converted to x25519 upon retrieval. This commit implements the `convert_ed25519_to_curve25519_private` conversion function (needed by `ArtiNativeKeyStore` to support x25519 keys). Part of #900
* Lower tor-proto::util::ct::lookup to tor-llcryptoNick Mathewson2023-06-161-0/+1
| | | | | | | | This is mostly code movement; you may want to review it with `--color-moved`. I'm doing this so we can also use the function in netdoc for looking up hsdesc authentication.
* Remove semver.md files.Nick Mathewson2023-03-311-2/+0
|
* Expose a little new functionality from tor-llcrypto.Nick Mathewson2023-02-281-0/+2
| | | | | Expose ED25519 signature length; make ValidatableEd25519Signature implement Debug and Clone.
* Remove semver.md files now that 1.1.2 is out.Nick Mathewson2023-02-281-1/+0
|
* llcrypto: Derive zeroize for CtByteArray.Nick Mathewson2023-02-071-0/+1
|
* Remove semver.md files now that 1.1.0 is released.Nick Mathewson2022-11-301-1/+0
|
* llcrypto: Make key id types Redactable.Nick Mathewson2022-11-281-0/+1
|
* Remove semver.md files now that arti 1.0.1 is out.Nick Mathewson2022-10-031-2/+0
|
* Add a new constant-time is_zero() check for RsaIdentityNick Mathewson2022-09-201-0/+2
| | | | | | | | | | | | | There are some places in the protocol where we have an all-zero RSA identity that does not truly represent a key, but rather represents an absent or unknown key. For these, it's better to use `RsaIdentity::is_zero` instead of manually checking for a set of zero bytes: it expresses the intent better, and ensures that the operation is constant-time. I am deliberately not introducing a more general IsZero trait here, or implementing is_zero for anything else: This is the only one we seem to need right now. We can generalize it later if we have to.
* Remove semver.md from arti-1.0.0Nick Mathewson2022-09-071-2/+0
|
* Define a constant for ED25519 identity length.Nick Mathewson2022-08-101-0/+2
|
* Now that versions have bumped, remove semver.md files.Nick Mathewson2022-08-011-1/+0
|
* tor-llcrypto: expose the Signer API from ed25519-dalekNick Mathewson2022-07-061-0/+1