Skip to content
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

Update to v4 WIP #2

Merged
merged 950 commits into from
Mar 24, 2024
Merged

Update to v4 WIP #2

merged 950 commits into from
Mar 24, 2024
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Nov 27, 2022

  1. Configuration menu
    Copy the full SHA
    03b8668 View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2022

  1. Fix all clippy warnings replay (dalek-cryptography#441)

    Also fixes CI not running on all branches
    
    Co-authored-by: Anthony Ramine <[email protected]>
    pinkforest and nox authored Dec 4, 2022
    Configuration menu
    Copy the full SHA
    e01bb1b View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2022

  1. CI: only build simd_backend; don't run tests (dalek-cryptography#232)

    GitHub Actions runners are not guaranteed to have the necessary CPU
    features in order for these tests to work.
    
    Uses a `--target x86_64-unknown-linux-gnu` directive when compiling so
    the `target_feature` flags don't apply to build scripts.
    tarcieri authored Dec 7, 2022
    Configuration menu
    Copy the full SHA
    44512a3 View commit details
    Browse the repository at this point in the history
  2. Minor documentation fixes (dalek-cryptography#444)

    * Docs unlink from dalek.rs
    
    * Link katex assets to jsdelivr
    
    Co-authored-by: Michael Rosenberg <[email protected]>
    pinkforest and rozbb authored Dec 7, 2022
    Configuration menu
    Copy the full SHA
    29466f1 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2022

  1. Edition fixups: remove extern crate, add idioms lint (dalek-cryptog…

    …raphy#231)
    
    Rust editions 2018+ do not require `extern crate` except for linking
    `alloc` and `std`.
    tarcieri authored Dec 8, 2022
    Configuration menu
    Copy the full SHA
    01ad630 View commit details
    Browse the repository at this point in the history
  2. Add target u32/u64 backend override (dalek-cryptography#454)

    As suggested in dalek-cryptography#453 it is sometimes feasible to
    select the backend bits via an override.
    
    This change provides `cfg(curve25519_dalek_bits)`
    to override the bits used in serial or fiat target backend.
    pinkforest authored Dec 8, 2022
    Configuration menu
    Copy the full SHA
    2190332 View commit details
    Browse the repository at this point in the history
  3. Make rand_core optional (dalek-cryptography#447)

    As proposed in dalek-cryptography#442 this makes `rand_core` an
    optional feature that is not covered by the
    SemVer public API stability guarantees.
    
    Co-authored-by: Michael Rosenberg <[email protected]>
    pinkforest and rozbb authored Dec 8, 2022
    Configuration menu
    Copy the full SHA
    47a0c3e View commit details
    Browse the repository at this point in the history
  4. Make digest optional (dalek-cryptography#446)

    As proposed in dalek-cryptography#442 this makes `digest` an
    optional feature that is not covered by the
    SemVer public API stability guarantees.
    
    Co-authored-by: Michael Rosenberg <[email protected]>
    pinkforest and rozbb authored Dec 8, 2022
    Configuration menu
    Copy the full SHA
    6b56edf View commit details
    Browse the repository at this point in the history
  5. Remove std feature (dalek-cryptography#459)

    All of the existing usages of `std` can be replaced with `alloc`.
    
    They are legacy usages from before when liballoc was stabilized.
    tarcieri authored Dec 8, 2022
    Configuration menu
    Copy the full SHA
    1013560 View commit details
    Browse the repository at this point in the history
  6. Remove mocks (dalek-cryptography#460)

    Gated random() construtors on cfg(test)
    rozbb authored Dec 8, 2022
    Configuration menu
    Copy the full SHA
    42e93d7 View commit details
    Browse the repository at this point in the history
  7. Made Scalar::bits return an iterator rather than an array (dalek-cryp…

    …tography#451)
    
    Addresses issue dalek-cryptography#448 that Scalar::bits may leave unzeroed bits on the stack
    rozbb authored Dec 8, 2022
    Configuration menu
    Copy the full SHA
    0b72bb5 View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2022

  1. Fix --no-default-features test warnings; consolidate CI jobs (dalek…

    …-cryptography#461)
    
    Previously `cargo test --no-default-features` would succeed but with
    warnings. This commit fixes all of those warnings and tests
    `--no-default-features` in CI to ensure that in perpetuity.
    tarcieri authored Dec 9, 2022
    Configuration menu
    Copy the full SHA
    1e490bd View commit details
    Browse the repository at this point in the history
  2. Updates to README (dalek-cryptography#453)

    * Restructure README and CHANGELOG
    * Explain semver policy
    * Specify feature flags and backends more explicitly
    * Remove nightly from the CI bc that didn't belong there
    * Add @pinkforest to thankyou list
    
    Co-authored-by: pinkforest <[email protected]>
    rozbb and pinkforest committed Dec 9, 2022
    Configuration menu
    Copy the full SHA
    f5dada3 View commit details
    Browse the repository at this point in the history
  3. Use --cfg curve25519_dalek_backend to select backend (dalek-cryptog…

    …raphy#455)
    
    Crate features are intended to be additive, whereas only 1-of-N possible
    backends can be selected.
    
    Features can also be activated by transitive dependencies, which leads
    to a problem of different dependences selecting conflicting backends.
    Using `--cfg` instead moves all backend selection control to the
    toplevel executable.
    
    This commit switches to the following RUSTFLAGS to enable backends:
    
    - `--cfg curve25519_dalek_backend="fiat"`: uses `fiat-crypto`
    - `--cfg curve25519_dalek_backend="simd"`: uses nightly-only SIMD
    tarcieri authored Dec 9, 2022
    Configuration menu
    Copy the full SHA
    cc304c2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cf56e78 View commit details
    Browse the repository at this point in the history
  5. cargo fmt

    dignifiedquire committed Dec 9, 2022
    Configuration menu
    Copy the full SHA
    50dc19b View commit details
    Browse the repository at this point in the history
  6. happy clippy

    dignifiedquire committed Dec 9, 2022
    Configuration menu
    Copy the full SHA
    fa9e16e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ce3b8d3 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2022

  1. Fixes curve25519_dalek_bits defaults for cross and wasm (dalek-crypto…

    …graphy#465)
    
    build.rs was using cfg(target) but it has to evaluate this from env TARGET
    as build.rs cfg(target) in build context is the builder host and not the target.
    
    This change fixes curve25519_dalek_bits lottery to determine the correct
    automatic curve25119_dalek_bits with the help of platforms crate.
    
    As discussed in dalek-cryptography#456 this also prepares for well known defaults for wasm and
    arm serial backend via cfg(curve25519_dalek_bits = "64")
    
    If the wasm32 or armv7 are going to be u64 serial by default these will be
    followed up on later.
    pinkforest authored Dec 10, 2022
    Configuration menu
    Copy the full SHA
    cb42e87 View commit details
    Browse the repository at this point in the history
  2. Cargo.toml: compatibility updates for curve25519-dalek and ed25519 (

    dalek-cryptography#236)
    
    curve25519-dalek:
    
    - Enables `digest` and `rand_core` features
    - Removes transitive `nightly`, `simd_backend`, and `std` features
    
    ed25519:
    
    - `AsRef` impl for `Signature` has been removed; uses `to_bytes`
    - Uses `try_from` for `InternalSignature` conversion
    tarcieri authored Dec 10, 2022
    Configuration menu
    Copy the full SHA
    cfcdf53 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2022

  1. Use CryptoRngCore trait (dalek-cryptography#469)

    This is a convenience/marker trait for types which impl `CryptoRng` +
    `RngCore` which makes the type signatures a little more readable.
    
    It was introduced in `rand_core` v0.6.4 (now pinned as the minimum
    version)
    tarcieri authored Dec 11, 2022
    Configuration menu
    Copy the full SHA
    fa45d21 View commit details
    Browse the repository at this point in the history
  2. Document curve25519_dalek_ backend and bits selection (dalek-cr…

    …yptography#467)
    
    Co-authored-by: Michael Rosenberg <[email protected]>
    pinkforest and rozbb authored Dec 11, 2022
    Configuration menu
    Copy the full SHA
    acd7898 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2022

  1. Use inherent constants for ZERO, ONE, and MINUS_ONE (dalek-cryp…

    …tography#470)
    
    For the field element types `FieldElement` and `Scalar`, use inherent
    constants instead of (non-const) functions to return these constant
    values.
    
    It's likely the original functions predate support for inherent
    constants, but now that they're available, they're a better fit for
    these sort of constant values.
    tarcieri authored Dec 12, 2022
    Configuration menu
    Copy the full SHA
    6f237a0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f38d677 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    82a2d4c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    94a99d8 View commit details
    Browse the repository at this point in the history
  5. Change Scalar::from_canonical_bytes to return CtOption (dalek-cry…

    …ptography#472)
    
    This is helpful for implementing `ff::PrimeField::from_repr`.
    Also changes `Scalar::is_canonical` to return `Choice`.
    tarcieri authored Dec 12, 2022
    Configuration menu
    Copy the full SHA
    274f4a7 View commit details
    Browse the repository at this point in the history
  6. Add rust-version to cargo

    Co-authored-by: str4d <[email protected]>
    rozbb and str4d authored Dec 12, 2022
    Configuration menu
    Copy the full SHA
    d714014 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    87fc531 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    1746118 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2022

  1. Fixed docs build (dalek-cryptography#475)

    Also sets code font size in docs back to normal (no longer small)
    rozbb authored Dec 13, 2022
    Configuration menu
    Copy the full SHA
    1cedb37 View commit details
    Browse the repository at this point in the history
  2. Bumped prerelease version

    rozbb committed Dec 13, 2022
    Configuration menu
    Copy the full SHA
    dbe5995 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    42d8dbd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    91c2305 View commit details
    Browse the repository at this point in the history
  5. Fix clippy for build.rs

    pinkforest committed Dec 13, 2022
    Configuration menu
    Copy the full SHA
    3f2da87 View commit details
    Browse the repository at this point in the history
  6. Merge pull request dalek-cryptography#477 from rozbb/fix-docsrs

    Fixed docs.rs flags in Cargo.toml
    rozbb authored Dec 13, 2022
    Configuration menu
    Copy the full SHA
    6a513fc View commit details
    Browse the repository at this point in the history
  7. Merge pull request dalek-cryptography#478 from pinkforest/fix-clippy-…

    …is-my-bestie
    
    Fix clippy for build.rs
    rozbb authored Dec 13, 2022
    Configuration menu
    Copy the full SHA
    14b04b2 View commit details
    Browse the repository at this point in the history
  8. Bumped prerelease version

    rozbb committed Dec 13, 2022
    Configuration menu
    Copy the full SHA
    b0b22de View commit details
    Browse the repository at this point in the history
  9. PKCS#8 support (dalek-cryptography#224)

    Adds optional integration with `ed25519::pkcs8` with support for
    decoding/encoding `Keypair` from/to PKCS#8-encoded documents as well as
    `PublicKey` from/to SPKI-encoded documents.
    
    Includes test vectors generated for the `ed25519` crate from:
    https://github.com/RustCrypto/signatures/tree/master/ed25519/tests/examples
    tarcieri authored Dec 13, 2022
    Configuration menu
    Copy the full SHA
    55620dc View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2022

  1. Fix docs release pre.5

    pinkforest committed Dec 14, 2022
    Configuration menu
    Copy the full SHA
    39053b1 View commit details
    Browse the repository at this point in the history
  2. Merge pull request dalek-cryptography#479 from pinkforest/doc-fix-rel…

    …ease-pre5
    
    Fix docs.rs release pre.5
    rozbb authored Dec 14, 2022
    Configuration menu
    Copy the full SHA
    06186b8 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2022

  1. Rename Keypair => SigningKey; PublicKey => VerifyingKey (dale…

    …k-cryptography#242)
    
    * Rename `signing` and `verifying` modules
    
    Renames the following modules:
    
    - `keypair` => `signing`
    - `public` => `verifying`
    
    Renaming these in an individual commit preserves the commit history.
    
    This is in anticipation of renaming the following per dalek-cryptography#225:
    
    - `Keypair` => `SigningKey`
    - `PublicKey` => `VerifyingKey`
    
    * Rename `Keypair` => `SigningKey`; `PublicKey` => `VerifyingKey`
    
    As proposed in dalek-cryptography#225, renames key types after their roles:
    
    - `SigningKey` produces signatures
    - `VerifyingKey` verifies signatures
    
    The `SecretKey` type is changed to a type alias for `[u8; 32]`, which
    matches the RFC8032 definition:
    
    https://www.rfc-editor.org/rfc/rfc8032#section-5.1.5
    
    > The private key is 32 octets (256 bits, corresponding to b) of
    > cryptographically secure random data.
    tarcieri authored Dec 18, 2022
    Configuration menu
    Copy the full SHA
    52da735 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    134b5e1 View commit details
    Browse the repository at this point in the history
  3. Change from_bytes methods to take fixed-size array argument

    Change from_bytes methods to take `&[u8; N]` argument (with `N`
    appropriate for given type) rather than `&[u8]`.  This harmonises
    the convention with SigningKey and ed25519::Signature; helps type
    inference; and allows users to assert bytes size to be asserted at
    compile time.
    
    Creating from a slice is still possible via `TryFrom<&[u8]>` trait.
    
    This is an API breaking change.  The simplest way to update existing
    code is to replace Foo::from_bytes with Foo::try_from.  This should
    cover majority of uses.
    mina86 committed Dec 18, 2022
    Configuration menu
    Copy the full SHA
    24cd942 View commit details
    Browse the repository at this point in the history
  4. Merge pull request dalek-cryptography#230 from mina86/a

    Change from_bytes methods to take fixed-size array argument
    tarcieri authored Dec 18, 2022
    Configuration menu
    Copy the full SHA
    f0b2df0 View commit details
    Browse the repository at this point in the history
  5. Merge pull request dalek-cryptography#243 from pinkforest/fix-signing…

    …key-docs-coverage
    
    Fix `SigningKey` from/to_bytes docs +coverage
    tarcieri authored Dec 18, 2022
    Configuration menu
    Copy the full SHA
    c01cab0 View commit details
    Browse the repository at this point in the history
  6. Fix all Clippy warnings (dalek-cryptography#244)

    - Add Clippy to CI
    - Rename InternalError variants without redundant Error suffix
    - Rename to_bytes to as_bytes on well known naming
    - Fix Redundant refs
    - Fix redundant lifetimes
    - Fix late declarations
    pinkforest authored Dec 18, 2022
    Configuration menu
    Copy the full SHA
    194b17f View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2022

  1. Add as_bytes() method

    dlblv committed Dec 19, 2022
    Configuration menu
    Copy the full SHA
    50dbb9e View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2022

  1. Impl Drop/ZeroizeOnDrop for SigningKey (dalek-cryptography#247)

    - Zeros out `SigningKey::secret_key` on drop
    - Adds the `ZeroizeOnDrop` marker trait to `SigningKey`
    tarcieri authored Dec 20, 2022
    Configuration menu
    Copy the full SHA
    a0384be View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    951d489 View commit details
    Browse the repository at this point in the history
  3. Use namespaced/weak features; MSRV 1.60 (dalek-cryptography#235)

    This enables activating the `alloc` and `std` features without
    unnecessarily pulling in optional dependencies like `rand` and `serde`.
    
    It also fixes tests for `--no-default-features` (w\ `--lib` only)
    tarcieri authored Dec 20, 2022
    Configuration menu
    Copy the full SHA
    f6a242a View commit details
    Browse the repository at this point in the history
  4. fix clippy warnings

    dlblv committed Dec 20, 2022
    Configuration menu
    Copy the full SHA
    7374fd3 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2022

  1. Configuration menu
    Copy the full SHA
    616d55c View commit details
    Browse the repository at this point in the history

Commits on Dec 26, 2022

  1. Make zeroize an optional dependency (dalek-cryptography#481)

    * Make `zeroize` an optional dependency
    
    The `zeroize` crate provides a defense against memory read oracles which
    typically arise from memory unsafety.
    
    Pure Rust programs may not benefit from `zeroize`, and in certain cases
    the unsafe code used by `zeroize` may be more concerning.
    
    This commit makes `zeroize` into an optional feature so users may elect
    to disable it if they so desire.
    
    * Added zeroize feature flag to README
    
    Co-authored-by: Michael Rosenberg <[email protected]>
    tarcieri and rozbb authored Dec 26, 2022
    Configuration menu
    Copy the full SHA
    39dbaea View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2022

  1. Weakly activate zeroize?/alloc; MSRV 1.60 (dalek-cryptography#485)

    Previously `alloc` implicitly activated `zeroize` via `zeroize/alloc`.
    
    This commit switches to weak feature activation as added in Rust 1.60,
    only activating `zeroize/alloc` if the `zeroize` dependency is
    explicitly activated (which it is by default).
    tarcieri authored Dec 27, 2022
    Configuration menu
    Copy the full SHA
    7d53206 View commit details
    Browse the repository at this point in the history
  2. Remove Travis CI configuration (dalek-cryptography#484)

    The migration to GitHub Actions occurred quite awhile ago and Travis CI
    is no longer used
    tarcieri authored Dec 27, 2022
    Configuration menu
    Copy the full SHA
    7227c6f View commit details
    Browse the repository at this point in the history
  3. CI: add build-nostd job (dalek-cryptography#482)

    We currently don't have any checks that this crate builds on a `no_std`
    target.
    
    While `curve25519-dalek` itself doesn't link `std`, it uses dependencies
    which could potentially link `std`, so it's important to have a job to
    check that the crate builds on a `no_std` target to ensure feature
    activation doesn't accidentally flip on the `std` feature of one of
    those dependencies unintentionally.
    
    This adds a job which checks the crate builds on a `thumbv7em-none-eabi`
    target which has no `std` implementation.
    tarcieri authored Dec 27, 2022
    Configuration menu
    Copy the full SHA
    ebcd744 View commit details
    Browse the repository at this point in the history
  4. Don't set html_root_url (dalek-cryptography#483)

    The recommendation to set this has been removed from the Rust API
    guidelines:
    
    rust-lang/api-guidelines#230
    
    It used to be used by docs.rs, but docs.rs now unconditionally sets the
    `--extern-html-root-url` parameter of rustdoc which overrides it, making
    it no longer needed and superfluous.
    tarcieri authored Dec 27, 2022
    Configuration menu
    Copy the full SHA
    0ffcb84 View commit details
    Browse the repository at this point in the history
  5. CI: use RustCrypto/actions/cross-install (dalek-cryptography#487)

    This action is located at:
    https://github.com/RustCrypto/actions/blob/master/cross-install/action.yml
    It's used across the RustCrypto project for installing `cross` in CI.
    Installation is performed by fetching a pinned binary release from:
    https://github.com/cross-rs/cross/releases/
    This eliminates problems that might occur when using `cargo install`
    such as:
    https://github.com/dalek-cryptography/curve25519-dalek/actions/runs/3786735408/jobs/6437902657
    It's also marginally faster.
    tarcieri authored Dec 27, 2022
    Configuration menu
    Copy the full SHA
    1b000d2 View commit details
    Browse the repository at this point in the history

Commits on Dec 28, 2022

  1. Make basepoint table constants &'static references (dalek-cryptogra…

    …phy#488)
    
    * Make basepoint table constants static references
    
    This ensures they have a fixed address and aren't duplicated across
    compilation units.
    
    Since they were already always borrowed, this changes the static values
    to be `&'static` addresses to ensure they're always borrowed rather than
    potentially copied.
    
    * rustfmt
    tarcieri authored Dec 28, 2022
    Configuration menu
    Copy the full SHA
    6a51f4f View commit details
    Browse the repository at this point in the history

Commits on Dec 29, 2022

  1. impl AsRef for keys as well

    dlblv committed Dec 29, 2022
    Configuration menu
    Copy the full SHA
    d95e3bd View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2023

  1. Fix batch build (dalek-cryptography#220)

    * Fixed bench when `batch` feature is not present
    
    * Added bench build regression test to CI
    
    * Fixed batch build more generally
    
    * Simplified batch cfg gates in benches
    
    * Updated criterion
    
    * Made CI batch-nondeterministic test use nostd
    
    * Fix batch_deterministic build
    
    * Removed bad compile error when batch and batch_deterministic are selected
    rozbb authored Jan 2, 2023
    Configuration menu
    Copy the full SHA
    e2ed313 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2023

  1. Impl From<&SigningKey> for VerifyingKey (dalek-cryptography#252)

    Calls the inherent `SigningKey::verifying_key` method using `From`
    conversions.
    
    This replaces vestigial impl for `SecretKey` which is now an alias for
    `[u8; 32]`.
    tarcieri authored Jan 5, 2023
    Configuration menu
    Copy the full SHA
    65aeda0 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2023

  1. Configuration menu
    Copy the full SHA
    f036eaf View commit details
    Browse the repository at this point in the history
  2. Expand const fn support (dalek-cryptography#494)

    Does a pass on adding `const` to methods where it's possible.
    tarcieri authored Jan 6, 2023
    Configuration menu
    Copy the full SHA
    8c2f545 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2023

  1. Configuration menu
    Copy the full SHA
    461a2d7 View commit details
    Browse the repository at this point in the history
  2. Adding verify_prehashed_strict() (dalek-cryptography#212)

    Combines `verify_prehashed` and `verify_strict` to allow strict
    verification with prehashed values.
    orthecreedence authored Jan 7, 2023
    Configuration menu
    Copy the full SHA
    4f218d8 View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2023

  1. Add basepoint-tables crate feature (dalek-cryptography#489)

    * Add `basepoint-tables` crate feature
    
    Feature-gates the inclusion of basepoint tables under a
    `basepoint-tables` feature, with the goal of reducing code size for e.g.
    embedded applications.
    
    * Add `mul_base` method to `EdwardsPoint` and `RistrettoPoint`
    
    Provides fixed-base scalar multiplication which optionally uses
    precomputed basepoint tables when the `basepoint-tables` feature is
    enabled, providing 4X better performance.
    
    Falls back on variable-base scalar multiplication in the event the
    feature is disabled.
    
    Co-authored-by: Michael Rosenberg <[email protected]>
    tarcieri and rozbb authored Jan 8, 2023
    Configuration menu
    Copy the full SHA
    83f6b14 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2023

  1. Use curve25519-dalek from git; check in Cargo.lock (dalek-cryptogra…

    …phy#260)
    
    Updates to the latest upstream changes in `curve25519-dalek`, including
    using the new `EdwardsPoint::mul_base` API.
    
    To keep the build deterministic, this also checks in Cargo.lock, which
    pins `curve25519-dalek` to a particular git commit SHA which can be
    updated using `cargo update -p curve25519-dalek`.
    
    We can potentially remove `Cargo.lock` again after a crate release.
    tarcieri authored Jan 9, 2023
    Configuration menu
    Copy the full SHA
    6ee4d1d View commit details
    Browse the repository at this point in the history
  2. Make zeroize optional (dalek-cryptography#263)

    Defaults to on
    pinkforest authored Jan 9, 2023
    Configuration menu
    Copy the full SHA
    4f6b4b2 View commit details
    Browse the repository at this point in the history
  3. Add Scalar::from_bits_clamped (dalek-cryptography#498)

    As discussed in dalek-cryptography#497, adds a function which "clamps" a 256-bit input into a
    valid scalar by clearing and setting bits, as used by Ed25519 and X25519
    SergeStrashko authored Jan 9, 2023
    Configuration menu
    Copy the full SHA
    fedb145 View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2023

  1. Make verify_batch deterministic (dalek-cryptography#256)

    Also removed `batch_deterministic` feature
    rozbb authored Jan 15, 2023
    Configuration menu
    Copy the full SHA
    b5dc40b View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2023

  1. Make rand_core optional (dalek-cryptography#262)

    * Make rand_core optional
    * Bench requires features rand_core
    pinkforest authored Jan 16, 2023
    Configuration menu
    Copy the full SHA
    8c455f5 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2023

  1. Configuration menu
    Copy the full SHA
    6d9bbd3 View commit details
    Browse the repository at this point in the history
  2. Implement Hash trait for VerifyingKey (dalek-cryptography#265)

    * Added and cleaned up some verification docs
    
    Co-authored-by: Michael Rosenberg <[email protected]>
    returntoreality and rozbb authored Jan 17, 2023
    Configuration menu
    Copy the full SHA
    e1d4ef3 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2023

  1. Make digest optional (dalek-cryptography#268)

    digest isn't yet stable but we have use it in the public API.
    
    This makes the digest API optional to use in opt-in basis by
    feature gating this via an optional digest feature.
    
    API items now feature-gated:
    
    - `pub use ed25519_dalek::Digest`
    - `SigningKey::sign_prehashed(D: prehashed_message, ..)`
    - `SigningKey::verify_prehashed(D: prehahed_message, ..)`
    - `VerifyingKey::verify_prehashed(D: prehashed_message, ..)`
    - `VerifyingKey::verify_prehashed_strict(D: prehashed_message, ..)`
    
    Also no longer re-exporting `sha2::Sha512`
    pinkforest authored Jan 19, 2023
    Configuration menu
    Copy the full SHA
    431e699 View commit details
    Browse the repository at this point in the history
  2. Rename basepoint-tables to precomputed-tables (dalek-cryptography…

    …#499)
    
    This is the name we adopted for a similar feature in @RustCrypto.
    
    It's a bit less jargony and also leaves the door open in the future to
    other types of precomputed tables.
    tarcieri authored Jan 19, 2023
    Configuration menu
    Copy the full SHA
    8d1bc31 View commit details
    Browse the repository at this point in the history
  3. Make from_slice methods fallible; add TryFrom<&[u8]> (dalek-crypt…

    …ography#495)
    
    The `from_slice` methods on `CompressedEdwardsY` and
    `CompressedRistretto` both previously panicked if the slice was the
    wrong length.
    
    This changes them to be fallible, returning `TryFromSliceError` in the
    event the slice is the wrong length.
    
    It also adds a `TryFrom<&[u8]>` impl for each of these types which calls
    the corresponding `from_slice` method.
    tarcieri authored Jan 19, 2023
    Configuration menu
    Copy the full SHA
    bfacbe7 View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2023

  1. Feature-gated more precomputed tables (dalek-cryptography#500)

    Feature-gates `AFFINE_ODD_MULTIPLES_OF_BASEPOINT`
    
    Feature-gated tables out of vector vartime aA + bB procedure
    rozbb authored Jan 20, 2023
    Configuration menu
    Copy the full SHA
    3effd73 View commit details
    Browse the repository at this point in the history
  2. Add on-by-default fast crate feature for gating basepoint tables (d…

    …alek-cryptography#251)
    
    * Add on-by-default `fast` crate feature
    
    Disabling the feature reduces overall code size at the cost of
    performance, which is useful for e.g. embedded users.
    
    This feature transitively enables the `basepoint-tables` feature in
    `curve25519-dalek` where the basepoint tables are actually defined.
    
    * Consolidated a lot of verification code
    
    * Bump `curve25519-dalek`; use `precomputed-tables` feature
    
    The feature name changed in dalek-cryptography#499
    
    Co-authored-by: Michael Rosenberg <[email protected]>
    tarcieri and rozbb authored Jan 20, 2023
    Configuration menu
    Copy the full SHA
    f61e9dc View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2023

  1. Impl signature::Digest* traits for Ed25519ph (dalek-cryptography#270)

    * Impl `signature::Digest*` traits for Ed25519ph
    
    Adds the following trait impls:
    
    - impl DigestSigner for SigningKey
    - impl DigestVerifier for VerifyingKey
    
    These traits can be used to create and verify Ed25519 signatures,
    thunking to `SigningKey::sign_prehashed` and
    `VerifyingKey::verify_prehashed` respectively.
    
    * Add rustdoc comments for trait impls
    tarcieri authored Jan 21, 2023
    Configuration menu
    Copy the full SHA
    ba765a5 View commit details
    Browse the repository at this point in the history
  2. CI: test cargo doc build (dalek-cryptography#271)

    * CI: test `cargo doc` build
    
    Ensure it's free of warnings
    
    * Fix rustdoc build
    tarcieri authored Jan 21, 2023
    Configuration menu
    Copy the full SHA
    7d255cd View commit details
    Browse the repository at this point in the history
  3. Do byte comparison in all verify_* functions (dalek-cryptography#269)

    * Made all signature R comparisons byte-wise
    
    * Use Scalar::from_bits_clamped rather than manually clamping
    
    * Added clippy lints and comments for use of unwrap()
    
    * Clarify use of unused
    rozbb authored Jan 21, 2023
    Configuration menu
    Copy the full SHA
    c2b8978 View commit details
    Browse the repository at this point in the history
  4. Bump ed25519 crate dependency to v2.1 (dalek-cryptography#272)

    The original v2.0.0 release has been yanked.
    
    This release includes a different infallible parsing API which can be
    used to eliminate some usages of `unwrap()`.
    tarcieri authored Jan 21, 2023
    Configuration menu
    Copy the full SHA
    27ba9dd View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2023

  1. Add Context type (dalek-cryptography#273)

    * Add `Context` type
    
    Adds a generic type which can be used with `SigningKey` and
    `VerifyingKey` for storing a context string value along with the key for
    use with `DigestSigner` and `DigestVerifier`.
    
    * Added Context tests, docs, and re-exports
    
    * Added docs about SHA-512 for prehashing; re-re-exported Sha512
    
    Co-authored-by: Tony Arcieri <[email protected]>
    Co-authored-by: Michael Rosenberg <[email protected]>
    tarcieri and rozbb authored Jan 26, 2023
    Configuration menu
    Copy the full SHA
    861784f View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2023

  1. Configuration menu
    Copy the full SHA
    928d6d1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1a388f7 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2023

  1. Bump curve25519-dalek to v4.0.0-rc.0 (dalek-cryptography#276)

    Eliminates the `patch.crates-io` directive by using the latest RC
    release of `curve25519-dalek` on crates.io
    tarcieri authored Jan 28, 2023
    Configuration menu
    Copy the full SHA
    1b86ff1 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2023

  1. Updated to curve25519-dalek rc0

    rozbb committed Jan 29, 2023
    Configuration menu
    Copy the full SHA
    88cc32b View commit details
    Browse the repository at this point in the history
  2. Attempt to fix CI

    rozbb committed Jan 29, 2023
    Configuration menu
    Copy the full SHA
    8330061 View commit details
    Browse the repository at this point in the history
  3. Merge pull request dalek-cryptography#95 from dignifiedquire/update-deps

    Updates curve25519-dalek dep to use 4.0.0-rc.0
    This includes several feature flag updates and some
    minor API changes.
    rozbb authored Jan 29, 2023
    Configuration menu
    Copy the full SHA
    e9fe414 View commit details
    Browse the repository at this point in the history
  4. Re-export commonly used types from toplevel (dalek-cryptography#502)

    Re-exports the following commonly used types from their respective
    modules to the toplevel of the crate, which makes them easier to access:
    
    - `EdwardsPoint`
    - `MontgomeryPoint`
    - `RistrettoPoint`
    - `Scalar`
    tarcieri authored Jan 29, 2023
    Configuration menu
    Copy the full SHA
    79bcbdc View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2023

  1. Fixed-based Montgomery scalar multiplication (dalek-cryptography#503)

    * Fixed-based Montgomery scalar multiplication
    
    Adds `MontgomeryPoint::mul_base` as an API for fixed-base scalar
    multiplication which allows for potential future optimizations.
    
    As a baseline implementation, it uses the variable base scalar
    multiplication implementation.
    
    This follows the existing `EdwardsPoint::mul_base` and
    `RistrettoPoint::mul_base` APIs.
    
    * Added Montgomery mul_base bench
    
    * Switched MontgomeryPoint::mul_base to use EdwardsPoint::mul_base
    
    ---------
    
    Co-authored-by: Michael Rosenberg <[email protected]>
    tarcieri and rozbb authored Jan 31, 2023
    Configuration menu
    Copy the full SHA
    b375b46 View commit details
    Browse the repository at this point in the history
  2. Impl VerifyingKey::is_weak (dalek-cryptography#277)

    * Implemented VerifyingKey::is_weak
    
    * Added unit test for VerifyingKey::is_weak
    rozbb authored Jan 31, 2023
    Configuration menu
    Copy the full SHA
    5190ad6 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2023

  1. Fix docsrs build (dalek-cryptography#505)

    * Add docsrs build to CI
    
    * Put cfg flags in both RUSTFLAGS and RUSTDOCFLAGS
    rozbb authored Feb 2, 2023
    Configuration menu
    Copy the full SHA
    3b71630 View commit details
    Browse the repository at this point in the history
  2. README changes for 2.0 (dalek-cryptography#275)

    * Added items to changelog for 2.0 release
    
    * Removed unnecessary uses of std in doctests
    
    * Gated `Context` behind `digest`
    
    * Fixed noncompiling doctest when only `digest` is enabled
    
    * README feature flag list mostly done
    
    * Copied changelog to readme
    
    * Redid the malleability section in README
    
    * Added CONTRIBUTING.md
    
    * Bumped version number to 2.0.0-pre.0; small changes to README
    
    * Updated changelog for dalek-cryptography#277
    
    * Added pem feature description
    
    Co-authored-by: pinkforest(she/her) <[email protected]>
    rozbb and pinkforest authored Feb 2, 2023
    Configuration menu
    Copy the full SHA
    783b6e8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    57a8add View commit details
    Browse the repository at this point in the history
  4. Bump to rc.1

    rozbb committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    b2d0f0e View commit details
    Browse the repository at this point in the history
  5. Merge pull request dalek-cryptography#278 from dalek-cryptography/rel…

    …ease/2.0
    
    Merge `release/2.0` into `main`
    rozbb authored Feb 2, 2023
    Configuration menu
    Copy the full SHA
    ce3eed8 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2023

  1. Configuration menu
    Copy the full SHA
    b77fa51 View commit details
    Browse the repository at this point in the history
  2. Fixed MSRV build

    rozbb committed Feb 4, 2023
    Configuration menu
    Copy the full SHA
    0b04124 View commit details
    Browse the repository at this point in the history
  3. Merge pull request dalek-cryptography#279 from rozbb/main

    Bump curve25519 dep to rc.1
    rozbb authored Feb 4, 2023
    Configuration menu
    Copy the full SHA
    619ef68 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2023

  1. Merge pull request dalek-cryptography#96 from dlblv/fix/add-secret-as…

    …-bytes
    
    Add `.as_bytes()` method for `StaticSecret`
    tarcieri authored Feb 17, 2023
    Configuration menu
    Copy the full SHA
    3194759 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2023

  1. Fix two typos

    striezel committed Feb 24, 2023
    Configuration menu
    Copy the full SHA
    327618c View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2023

  1. Configuration menu
    Copy the full SHA
    97d6d55 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2023

  1. Use named fields for struct VerifyingKey (dalek-cryptography#284)

    Previously it was a 2-tuple containing a `CompressedEdwardsY`
    serialization and a decompressed `EdwardsPoint`, however using
    `.0` and `.1` for these respectively makes the code hard to read.
    
    This commit changes them to `compressed` and `point`, which as it were
    are the names of the local variables used when constructing a
    `VerifyingKey`, which improves clarity.
    tarcieri authored Mar 7, 2023
    Configuration menu
    Copy the full SHA
    4686ade View commit details
    Browse the repository at this point in the history
  2. Bump ed25519 to v2.2; pkcs8 to v0.10 (dalek-cryptography#285)

    The `ed25519` v2.2.0 crate bumps the `pkcs8` dependency to v0.10.
    
    This updates `ed25519` to the latest version and updates the PKCS#8
    support to use the new API.
    tarcieri authored Mar 7, 2023
    Configuration menu
    Copy the full SHA
    e0e02cf View commit details
    Browse the repository at this point in the history
  3. Remove invalid input fields from CI action for Rust setup (dalek-cryp…

    …tography#283)
    
    Neither `override` nor `profile` are valid inputs for the
    `dtolnay/rust-toolchain` action. It always uses the minimal
    profile anyways.
    striezel authored Mar 7, 2023
    Configuration menu
    Copy the full SHA
    3efde34 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c33b49b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    64b26ad View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2023

  1. Configuration menu
    Copy the full SHA
    67b8c2e View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2023

  1. Fix CI

    pinkforest committed Mar 12, 2023
    Configuration menu
    Copy the full SHA
    62149c4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5cb2a49 View commit details
    Browse the repository at this point in the history
  3. Add Cargo.lock

    pinkforest committed Mar 12, 2023
    Configuration menu
    Copy the full SHA
    8c9c94a View commit details
    Browse the repository at this point in the history
  4. Add .lock

    pinkforest committed Mar 12, 2023
    Configuration menu
    Copy the full SHA
    be8a657 View commit details
    Browse the repository at this point in the history
  5. Fixed doc nit from update-ci branch

    Co-Authored-by: Michael Rosenberg <[email protected]>
    pinkforest and rozbb committed Mar 12, 2023
    Configuration menu
    Copy the full SHA
    c779e21 View commit details
    Browse the repository at this point in the history
  6. Disable no_std from CI

    pinkforest committed Mar 12, 2023
    Configuration menu
    Copy the full SHA
    707675d View commit details
    Browse the repository at this point in the history
  7. Fix bench features

    pinkforest committed Mar 12, 2023
    Configuration menu
    Copy the full SHA
    cbd3958 View commit details
    Browse the repository at this point in the history
  8. Fix no_std with get_random

    pinkforest committed Mar 12, 2023
    Configuration menu
    Copy the full SHA
    fdc992d View commit details
    Browse the repository at this point in the history
  9. Remove redundant feature

    pinkforest committed Mar 12, 2023
    Configuration menu
    Copy the full SHA
    f3c46bc View commit details
    Browse the repository at this point in the history
  10. Fix docsrs

    pinkforest committed Mar 12, 2023
    Configuration menu
    Copy the full SHA
    281fab6 View commit details
    Browse the repository at this point in the history
  11. Add assets

    pinkforest committed Mar 12, 2023
    Configuration menu
    Copy the full SHA
    a7769a6 View commit details
    Browse the repository at this point in the history
  12. Correct crate name

    pinkforest committed Mar 12, 2023
    Configuration menu
    Copy the full SHA
    4b6c61c View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    0139af7 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    853a3df View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    5080b42 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    379e506 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    987f7d6 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2023

  1. Use ok_or_else instead of ok_or in serde decoding (dalek-cryptography…

    …#382)
    
    Serde errors are not simple enums; they format a full error string
    from their arguments. It's worth not doing that up front.
    jrose-signal authored Mar 14, 2023
    Configuration menu
    Copy the full SHA
    a63e14f View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2023

  1. Fixes cfg with target from env (dalek-cryptography#516)

    * Fixes cfg with target from env
    
    * Derive cleanup
    
    * Default to curve25519_dalek_bits="32" on unknown target
    
    * Give out warning (thanks @jcape)
    
    Co-authored-by: ryan <[email protected]>
    Co-authored-by: James Cape <[email protected]>
    3 people authored Mar 18, 2023
    Configuration menu
    Copy the full SHA
    99c0520 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7dc1bbd View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2023

  1. Configuration menu
    Copy the full SHA
    d6c3cbf View commit details
    Browse the repository at this point in the history
  2. Merge pull request dalek-cryptography#117 from dalek-cryptography/rel…

    …ease/2.0
    
    Merge `release/2.0` into `main`
    rozbb authored Mar 20, 2023
    Configuration menu
    Copy the full SHA
    0e73cb8 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2023

  1. Merge pull request dalek-cryptography#119 from pinkforest/fix-no_std

    Fix `no std` by moving `get_random` feat dev-deps
    tarcieri authored Mar 21, 2023
    Configuration menu
    Copy the full SHA
    6aabb9b View commit details
    Browse the repository at this point in the history
  2. Add getrandom (dalek-cryptography#118)

    * Add getrandom to bring convenience random init functions
    
    * Fix doc name
    
    * Rename new to random_from_rng
    
    * Deprecate new() in favor of random_from_rng()
    
    * Simplify constructors documentation
    
    Co-authored-by: Ciprian Dorin Craciun <[email protected]>
    pinkforest and cipriancraciun authored Mar 21, 2023
    Configuration menu
    Copy the full SHA
    02a5ce2 View commit details
    Browse the repository at this point in the history
  3. Add no_std to CI (dalek-cryptography#289)

    * Add no_std to CI
    
    * Add serde to no_std feature test
    
    * Try out cargo hack
    
    * No serde - expect success
    
    * Add build for no-default-features
    
    * Exclude default
    pinkforest authored Mar 21, 2023
    Configuration menu
    Copy the full SHA
    9577d1e View commit details
    Browse the repository at this point in the history
  4. Fix serde / no_std incompatibility

    Co-authored-by: ryan kurte <[email protected]>
    Co-authored-by: Vlad Semenov <[email protected]>
    3 people authored Mar 21, 2023
    Configuration menu
    Copy the full SHA
    2931c68 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2023

  1. Configuration menu
    Copy the full SHA
    c982811 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7901b21 View commit details
    Browse the repository at this point in the history
  3. chore: Release 2.0.0-rc.2 (dalek-cryptography#295)

    Co-authored-by: Michael Rosenberg <[email protected]>
    pinkforest and rozbb authored Mar 26, 2023
    Configuration menu
    Copy the full SHA
    5014c91 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2023

  1. Make scalars always reduced (dalek-cryptography#519)

    * Removed Scalar::{from_bits, from_bytes_clamped}; all constructible scalars are now reduced mod l
    
    * Made Scalar::reduce() not pub; fixed test warning
    
    * Added benches for scalar add/sub/mul
    
    * Docs
    
    * Added EdwardsPoint::mul_base_clamped and gated Scalar::from_bits behind legacy_compatibility
    
    * Added unit test for Mul impl on unreduced Scalars
    
    * Added Montgomery::mul_base_clamped
    
    * Added BasepointTable::mul_base_clamped
    
    * Removed invalid scalar arithmetic test; this functionality is no longer supported
    
    * Made clamp_integer() const
    
    * Updated readme and changelog
    
    * Added BasepointTable::mul_base_clamped to tests
    
    * Added proper deprecation notice to Scalar::from_bits; added legacy_compatibility to Makefile and docsrs flags
    rozbb authored Mar 28, 2023
    Configuration menu
    Copy the full SHA
    f460ae1 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2023

  1. Support SIMD on Rust stable (dalek-cryptography#520)

    * Remove dependency on `packed_simd`
    
    * Support SIMD on stable Rust
    
    * Move `packed_simd.rs` to `vector` module
    
    * Add comment header to `packed_simd.rs`
    
    * Initialize SIMD registers using intrinsics instead of `transmute`
    
    * Use a splat inside of `unpack_pair`
    
    * Update README: the AVX2 backend now works on stable Rust
    
    * Add a CI job to also build the AVX2 SIMD backend on Rust stable
    
    * Added SIMD MSRV test
    koute authored Mar 30, 2023
    Configuration menu
    Copy the full SHA
    4583c47 View commit details
    Browse the repository at this point in the history
  2. Add Scalar and MontgomeryPoint conversions (dalek-cryptography#296)

    * Add `Scalar` and `MontgomeryPoint` conversions
    
    - Adds `SigningKey::to_scalar` to extract the private scalar
    - Adds `VerifyingKey::to_montgomery` to map the verifying key's
      `EdwardsPoint` to a `MontgomeryPoint`
    - Also adds corresponding `From<&T>` impls which call the inherent
      methods.
    
    This is useful for systems which are keyed using Ed25519 keys which
    would like to use X25519 for D-H. Having inherent methods means it's
    possible to call these methods without having to import `Scalar` and
    `MontgomeryPoint` from `curve25519-dalek`.
    
    This is of course a bit circuitous: we could just multiply `Scalar` by
    `EdwardsPoint` and use the resulting `EdwardsPoint` as the D-H shared
    secret, however it seems many protocols have adopted this approach of
    mapping to `MontgomeryPoint` and using that for the shared secret, since
    X25519 is traditionally used for ECDH with Curve25519.
    
    * Add reference to eprint 2021/509
    
    * Basic X25519 Diffie-Hellman test
    tarcieri authored Mar 30, 2023
    Configuration menu
    Copy the full SHA
    c8c9f29 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    80aac08 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2023

  1. Make static_secrets optional (dalek-cryptography#122)

    * Make `static_secrets` optional
    
    * Added more feature combinations to CI
    pinkforest authored Mar 31, 2023
    Configuration menu
    Copy the full SHA
    8415833 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cccf389 View commit details
    Browse the repository at this point in the history
  3. Update to new Scalar API (dalek-cryptography#120)

    * Updated to new curve25519 scalar API
    
    * Removed clamping from constructors; clamping is always done during scalar-point multiplication
    
    * Updated test to reflect new functionality
    
    * Updated changelog
    rozbb authored Mar 31, 2023
    Configuration menu
    Copy the full SHA
    25fa593 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2023

  1. Configuration menu
    Copy the full SHA
    91e839a View commit details
    Browse the repository at this point in the history
  2. Runtime backend autodetection

    koute committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    0db8783 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    219995d View commit details
    Browse the repository at this point in the history
  4. Make clippy happy

    koute committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    1b6fee3 View commit details
    Browse the repository at this point in the history
  5. Make cargodoc happy

    koute committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    996b1e9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    738cfee View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    90f10ed View commit details
    Browse the repository at this point in the history

Commits on May 8, 2023

  1. Update crypto_box URL

    eaon committed May 8, 2023
    Configuration menu
    Copy the full SHA
    d828434 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2023

  1. Merge pull request dalek-cryptography#125 from eaon/crypto_box_url

    Update `crypto_box` URL
    tarcieri authored May 9, 2023
    Configuration menu
    Copy the full SHA
    f683cf4 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2023

  1. Add hazmat module with ExpandedSecretKey, raw_sign, `raw_sign_p…

    …rehashed` (dalek-cryptography#299)
    
    * Added raw_sign() and raw_sign_prehashed() functions
    
    * Renamed `nonce` to `hash_prefix` in signing because it's really not a nonce
    
    * Moved raw signing to hazmat module
    
    * impl From<EdwardsPoint> for VerifyingKey
    
    * Brought back ExpandedSecretKey; made raw_* functions take it as input
    
    * Added remaining features to docs.rs feature set
    
    * Removed redundant ExpandedSecretKey def; made raw signing use a generic CtxDigest
    
    * Implemented raw_verify with generic CtxDigest
    
    * Implemented raw_verify_prehashed with generic MsgDigest and CtxDigest
    
    * Wrote hazmat tests; fixed errors; switched ordering of MsgDigest and CtxDigest
    
    * Updated changelog
    
    * ExpandedSecretKey::from_bytes takes an array and is now infallible
    
    * Add TODO comment for split_array_ref
    
    * Added from_slice and TryFrom<&[u8]> for ExpandedSecretKey
    
    ---------
    
    Co-authored-by: Tony Arcieri <[email protected]>
    rozbb and tarcieri authored May 15, 2023
    Configuration menu
    Copy the full SHA
    4afbf09 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2023

  1. Configuration menu
    Copy the full SHA
    a7df9c7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c67e430 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2023

  1. README.md: use buildstats.info crate badge (dalek-cryptography#526)

    Includes both version and download count
    tarcieri authored May 20, 2023
    Configuration menu
    Copy the full SHA
    267961b View commit details
    Browse the repository at this point in the history

Commits on May 29, 2023

  1. Configuration menu
    Copy the full SHA
    6c2233b View commit details
    Browse the repository at this point in the history

Commits on May 31, 2023

  1. Replace unwrap_u8 with into (dalek-cryptography#528)

    * Replace `unwrap_u8` with `into`
    
    Leverages the `From<Choice>` impl for `bool` where applicable instead,
    which results in clearer logic which more closely matches `bool`.
    tarcieri authored May 31, 2023
    Configuration menu
    Copy the full SHA
    618c508 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2023

  1. Configuration menu
    Copy the full SHA
    94247a7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5028971 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    50aa635 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2023

  1. Merge pull request dalek-cryptography#523 from koute/main_runtime_simd

    Runtime backend autodetection
    rozbb authored Jun 11, 2023
    Configuration menu
    Copy the full SHA
    e111b5d View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2023

  1. Update to new Scalar API (dalek-cryptography#293)

    * Updated to new curve25519 scalar API
    
    * Made ExpandedSecretKey.scalar_bytes unclamped; clamping occurs in all scalar-point multiplication
    
    * Added legacy compat deprecation notice
    
    * Removed deprecation notice on check_scalar
    
    * Removed unnecessary unwraps
    rozbb authored Jun 12, 2023
    Configuration menu
    Copy the full SHA
    9b166b7 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2023

  1. Clean up backend features and vendor curve25519_dalek_derive (dalek-c…

    …ryptography#531)
    
    * Vendor import unsafe_target_features as curve25519-dalek-derive
    
    Co-authored-by: Jan Bujak <[email protected]>
    
    * Remove feature gates from avx2/ifma
    
    * Add buildtime compile diagnostics about backend selection
    
    * Add build script tests
    
    * Documentation changes
    
    * Disable simd related features unless simd was determined via build
    
    * Add note and test about the override warning when unsuccesful
    
    * Reduce complexity in build gating via compile_error
    
    ---------
    
    Co-authored-by: Jan Bujak <[email protected]>
    Co-authored-by: Michael Rosenberg <[email protected]>
    3 people authored Jun 22, 2023
    Configuration menu
    Copy the full SHA
    e429bde View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2023

  1. Configuration menu
    Copy the full SHA
    2e3212b View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2023

  1. chore: Release 2.0.0-rc.3 (dalek-cryptography#307)

    * chore: Release 2.0.0-rc.3
    
    * cargo update -p curve25519-dalek
    
    * Removed some old backend selection prose and env vars
    
    ---------
    
    Co-authored-by: Michael Rosenberg <[email protected]>
    pinkforest and rozbb authored Jun 24, 2023
    Configuration menu
    Copy the full SHA
    58a967f View commit details
    Browse the repository at this point in the history
  2. chore: Release 2.0.0-rc.3 (dalek-cryptography#128)

    * chore: Release 2.0.0-rc.3
    
    * cargo update -p curve25519-dalek
    
    * Added note about backends
    
    * Fixed docs broken link
    
    ---------
    
    Co-authored-by: Michael Rosenberg <[email protected]>
    pinkforest and rozbb authored Jun 24, 2023
    Configuration menu
    Copy the full SHA
    8613b5a View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2023

  1. Configuration menu
    Copy the full SHA
    40cf5af View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    52742e7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d62def9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e7ecb74 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bf0e37d View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2023

  1. Move CI & assets into workspace

    Co-authored-by: Michael Rosenberg <[email protected]>
    pinkforest and rozbb committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    2cc52c2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6e422d9 View commit details
    Browse the repository at this point in the history
  3. Re-work CI around workspace

    Co-authored-by: Michael Rosenberg <[email protected]>
    pinkforest and rozbb committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    7db9981 View commit details
    Browse the repository at this point in the history
  4. Add new workspace README and CONTRIBUTING

    Co-authored-by: Michael Rosenberg <[email protected]>
    pinkforest and rozbb committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    bf8b21c View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2023

  1. Moved code of conduct

    rozbb committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    98a0a6f View commit details
    Browse the repository at this point in the history
  2. Merge pull request dalek-cryptography#536 from pinkforest/monorepo-t1

    Pulls ed25519-dalek and x25519-dalek in. We're now one happy monorepo.
    rozbb authored Jun 30, 2023
    Configuration menu
    Copy the full SHA
    f789810 View commit details
    Browse the repository at this point in the history
  3. Bump quote and syn

    pinkforest committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    e17a0e7 View commit details
    Browse the repository at this point in the history
  4. Merge pull request dalek-cryptography#540 from pinkforest/bump-quote

    Bump `quote` and `syn`
    rozbb authored Jun 30, 2023
    Configuration menu
    Copy the full SHA
    76e1934 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2023

  1. ed25519-dalek: remove ExpandedSecretKey::to_bytes (dalek-cryptograp…

    …hy#545)
    
    * ed25519-dalek: remove `ExpandedSecretKey::to_bytes`
    
    The reason `ExpandedSecretKey` needs a private `scalar_bytes` field is
    to retain the canonical scalar bytes as output by SHA-512 during key
    expansion so they can be serialized by the `to_bytes` method.
    
    However, `ExpandedSecretKey`s should not be serialized to the wire.
    
    Removing this method allows the private field to be removed, which
    allows `ExpandedSecretKey` to be constructed entirely from public
    fields. This provides an alternative to dalek-cryptography#544 for use cases like
    Ed25519-BIP32 where the private scalar is derived rather than clamped
    from bytes.
    
    One other change is needed: `to_scalar_bytes` was changed to `to_scalar`
    as the canonical scalar bytes are no longer retained, however this has
    no impact on its main use case, X25519 Diffie-Hellman exchanges, where
    the `Scalar` should NOT be written to the wire anyway.
    
    * Added scalar byte comparison back to ed25519-dalek x25519 test
    
    ---------
    
    Co-authored-by: Michael Rosenberg <[email protected]>
    tarcieri and rozbb authored Jul 11, 2023
    Configuration menu
    Copy the full SHA
    5f0d41f View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2023

  1. README.md: fix crate table

    tarcieri authored Jul 20, 2023
    Configuration menu
    Copy the full SHA
    d671fc2 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2023

  1. Fix CI failures (dalek-cryptography#548)

    There are various small CI failures that are addressed in this PR.
    tarcieri authored Jul 22, 2023
    Configuration menu
    Copy the full SHA
    20d1346 View commit details
    Browse the repository at this point in the history
  2. Fixed CI badges in workspaces

    rozbb committed Jul 22, 2023
    Configuration menu
    Copy the full SHA
    0d1bc97 View commit details
    Browse the repository at this point in the history
  3. Remove old Cargo.lock files (dalek-cryptography#549)

    These are from before the members were merged into a workspace
    tarcieri authored Jul 22, 2023
    Configuration menu
    Copy the full SHA
    1ac254f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e44d4b5 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2023

  1. Update README.md

    Use non-breaking hyphens in crate names in table
    tarcieri authored Jul 28, 2023
    Configuration menu
    Copy the full SHA
    345364d View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2023

  1. ed: Bump ed25519-dalek to 2.0.0 (dalek-cryptography#559)

    * Made clippy happy
    rozbb authored Aug 11, 2023
    Configuration menu
    Copy the full SHA
    42b55fd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6dd17b2 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2023

  1. Configuration menu
    Copy the full SHA
    bf2c4ee View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c66973c View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2023

  1. Configuration menu
    Copy the full SHA
    b93ace8 View commit details
    Browse the repository at this point in the history
  2. ed: Add SigningKey::as_bytes (dalek-cryptography#561)

    Allows to get a reference to the secret bytes without making a copy.
    soerenmeier authored Aug 27, 2023
    Configuration menu
    Copy the full SHA
    098658d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4373695 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2023

  1. curve: Add arbitrary integer multiplication with `MontgomeryPoint::mu…

    …l_bits_be` (dalek-cryptography#555)
    
    There is occasionally [a need](dalek-cryptography#519 (comment)) to multiply a non-prime-order Montgomery point by an integer. There's currently no way to do this, since our only methods are multiplication by `Scalar` (doesn't make sense in the non-prime-order case), and `MontgomeryPoint::mul_base_clamped` clamps the integer before multiplying.
    
    This defines `MontgomeryPoint::mul_bits_be`, which takes a big-endian representation of an integer and multiplies the point by that integer. Its usage is not recommended by default, but it is also not so unsafe as to be gated behind a `hazmat` feature.
    rozbb authored Aug 28, 2023
    Configuration menu
    Copy the full SHA
    8e0cef5 View commit details
    Browse the repository at this point in the history
  2. curve: Expand lints (dalek-cryptography#530)

    Adds a lints section to the top of lib.rs with the following:
    
        #![warn(
            clippy::unwrap_used,
            missing_docs,
            rust_2018_idioms,
            unused_lifetimes,
            unused_qualifications
        )]
    
    `warn` is used instead of `deny` to prevent the lints from firing during
    local development, however we already configure `-D warnings` in CI so
    if any lint fails on checked-in code, it will cause a CI failure.
    
    This commit also fixes or explicitly allows any current violations of
    these lints. The main ones were:
    
    - `clippy::unwrap_used`: replaces usages of `unwrap` with `expect`
    - `rust_2018_idioms`: no implicit lifetimes, which were present on
      usages of `core::fmt::Formatter`
    tarcieri authored Aug 28, 2023
    Configuration menu
    Copy the full SHA
    c058cd9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    594b1f9 View commit details
    Browse the repository at this point in the history
  4. curve: add doc(hidden) to serial backend modules (dalek-cryptograph…

    …y#568)
    
    We have a lot of backend types leaking via the public API, including
    e.g. `FieldElement51`:
    
    https://docs.rs/curve25519-dalek/latest/curve25519_dalek/backend/serial/u64/field/struct.FieldElement51.html
    
    At the very least, these types shouldn't be visible in the rustdoc.
    
    This PR hides them from the docs, but ideally we would hide them
    completely from the public API (which might technically be considered a
    breaking change, but IMO leaking them at all is a bug).
    tarcieri authored Aug 28, 2023
    Configuration menu
    Copy the full SHA
    60dd310 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c8d1d40 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2023

  1. Configuration menu
    Copy the full SHA
    5c5a320 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2023

  1. Fix variable names in the invariant description (dalek-cryptography#573)

    Previously the variable names referred to `public` and `secret` which do
    not exist. Update them to `verifying_key` and `secret_key`.
    wiktor-k authored Sep 5, 2023
    Configuration menu
    Copy the full SHA
    135476c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a3a08b0 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2023

  1. curve: update repository in Cargo.toml (dalek-cryptography#575)

    Point to the subdirectory which contains the crate
    tarcieri authored Sep 6, 2023
    Configuration menu
    Copy the full SHA
    1ec4a36 View commit details
    Browse the repository at this point in the history
  2. ed,x: updated repo links

    rozbb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    8ed1666 View commit details
    Browse the repository at this point in the history
  3. curve: Release 4.1.0 (dalek-cryptography#574)

    Co-authored-by: Rob Ede <[email protected]>
    pinkforest and robjtede authored Sep 6, 2023
    Configuration menu
    Copy the full SHA
    9db51a6 View commit details
    Browse the repository at this point in the history
  4. curve: README typos

    rozbb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    e94a5fe View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2023

  1. Configuration menu
    Copy the full SHA
    c157a1e View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2023

  1. Deprecate BASEPOINT_ORDER from pub API consts (dalek-cryptography#581)

    * Mark constants::BASEPOINT_ORDER_PRIVATE deprecated from pub API
    
    * Move all BASEPOINT_ORDER use private internally
    
    Co-authored-by: Tony Arcieri <[email protected]>
    
    * Fix CHANGELOG for 4.1.1
    
    ---------
    
    Co-authored-by: Tony Arcieri <[email protected]>
    pinkforest and tarcieri authored Sep 18, 2023
    Configuration menu
    Copy the full SHA
    533b53a View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2023

  1. Add PrimeFieldBits support to Scalar (dalek-cryptography#579)

    Co-authored-by: Michael Rosenberg <[email protected]>
    Co-authored-by: pinkforest(she/her) <[email protected]>
    3 people authored Sep 20, 2023
    Configuration menu
    Copy the full SHA
    76a8b2a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0cd099a View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2023

  1. Configuration menu
    Copy the full SHA
    e6675c6 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2023

  1. ed25519: loosen signature crate dependency (dalek-cryptography#582)

    The `signature` crate contains unstable, minor version-gated
    functionality.
    
    The v2.1 release did not change any of that, and only added new
    functionality. So it's safe to relax the requirement for `signature` to
    `>=2.0, <2.2`.
    tarcieri authored Oct 27, 2023
    Configuration menu
    Copy the full SHA
    598695c View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2023

  1. Configuration menu
    Copy the full SHA
    b924219 View commit details
    Browse the repository at this point in the history
  2. Forgot the license files

    rozbb committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    8a41a29 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2023

  1. Removed unnecessary 'pub use'

    rozbb committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    cd9378e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    81d0756 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2023

  1. Merge pull request dalek-cryptography#590 from dalek-cryptography/der…

    …ive-license
    
    Fix licensing on -derive repo
    rozbb authored Oct 31, 2023
    Configuration menu
    Copy the full SHA
    f4cd43f View commit details
    Browse the repository at this point in the history
  2. ed25519-dalek: hide secret in SigningKey's Debug impl (dalek-cryp…

    …tography#592)
    
    Uses `finish_non_exhaustive` in lieu of printing the `secret_key`
    component of a `SigningKey`, only showing the corresponding
    `verifying_key` field which can be used to identify the public key.
    
    Closes dalek-cryptography#591
    tarcieri authored Oct 31, 2023
    Configuration menu
    Copy the full SHA
    78a86f1 View commit details
    Browse the repository at this point in the history
  3. CI: fix minimal-versions resolution (dalek-cryptography#593)

    To avoid nightly regressions breaking the build, the CI configuration
    has been updated to *only* use nightly for resolving Cargo.lock by using
    `cargo update -Z minimal-versions`.
    
    Previously, it was running `cargo check` which would attempt to compile
    all of the dependencies and the code, which is why the diagnostic bug
    was triggered. By avoiding any kind of code compilation using nightly we
    can avoid such regressions in the future.
    
    Additionally, the clippy job has been changed to run on the latest
    stable release (1.73.0) rather than nightly, which will prevent future
    clippy lints from breaking the build. Instead, they can be addressed
    when clippy is updated.
    tarcieri authored Oct 31, 2023
    Configuration menu
    Copy the full SHA
    3c85f77 View commit details
    Browse the repository at this point in the history
  4. derive: Bump version to 0.1.1 (dalek-cryptography#594)

    * derive: Bump version to 0.1.1
    
    * Added changelog
    rozbb authored Oct 31, 2023
    Configuration menu
    Copy the full SHA
    72761ca View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2023

  1. README.md: remove broken image (dalek-cryptography#595)

    This image duplicates the `curve25519-dalek` table entry below.
    
    It also doesn't actually link to anything, making README.md look broken.
    tarcieri authored Nov 1, 2023
    Configuration menu
    Copy the full SHA
    89aabac View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2023

  1. ed25519: loosen signature crate dependency again (dalek-cryptograph…

    …y#598)
    
    Like dalek-cryptography#582, there is a new release of `signature` (v2.2.0) which contains
    no breaking changes from ed25519-dalek's perspective. The main notable
    one is it bumps MSRV to 1.60, which so also happens to also be
    ed25519-dalek's MSRV.
    
    This commit loosens the version requirement to allow `>=2.0, <2.3` to
    allow the `signature` 2.2 series.
    tarcieri authored Nov 14, 2023
    Configuration menu
    Copy the full SHA
    ac51ef6 View commit details
    Browse the repository at this point in the history
  2. ed: Add back SigningKey::to_scalar_bytes (dalek-cryptography#599)

    * Brought back SigningKey::to_scalar_bytes; added regression test
    
    * Updated SigningKey::to_scalar docs and tests
    rozbb authored Nov 14, 2023
    Configuration menu
    Copy the full SHA
    04f811a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f08bbb7 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2023

  1. Configuration menu
    Copy the full SHA
    a2ff6ba View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2023

  1. Configuration menu
    Copy the full SHA
    ba7a073 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2023

  1. Configuration menu
    Copy the full SHA
    55c5a33 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2024

  1. wip: remove betrusted feature

    kotval committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    81f9189 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2024

  1. Configuration menu
    Copy the full SHA
    b7c3eb9 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2024

  1. Configuration menu
    Copy the full SHA
    486cd13 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2024

  1. wip: typo in cfg name

    kotval committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    e5f5371 View commit details
    Browse the repository at this point in the history
  2. wip: adding features back

    kotval committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    22a6f18 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e8fdef8 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2024

  1. Configuration menu
    Copy the full SHA
    7bf60e4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d98a8b1 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2024

  1. Configuration menu
    Copy the full SHA
    b40ec71 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2024

  1. Configuration menu
    Copy the full SHA
    9b5b0c5 View commit details
    Browse the repository at this point in the history
  2. wip: make tests compile

    kotval committed Mar 2, 2024
    Configuration menu
    Copy the full SHA
    5a9ef20 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2024

  1. add zeroize dependency and remove engine25519 dependency

    porting this in a manner similar to that used by the sha2 crate,
    removing the explicit Xous dependency link.
    
    see PR for discussion of issues
    bunnie committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    96784db View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fe0e8a2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e53c5e5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ebcc370 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4c58a51 View commit details
    Browse the repository at this point in the history
  6. add functions to allow low-level access from outside the crate

    and also make the internal functions use the same conventions
    bunnie committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    80fded7 View commit details
    Browse the repository at this point in the history
  7. cleanup warnings

    bunnie committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    4fdd15c View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2024

  1. fix: incorrectly prevented to_radix_2w_size_hint on u32e

    This function should be able to be enabled by feature
    selection.
    kotval committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    0a0a972 View commit details
    Browse the repository at this point in the history