Commit graph

15 commits

Author SHA1 Message Date
bunnie
b486cda2a0
Merge branch 'main' into v4.1.1 2024-03-25 06:59:43 +08:00
David Kotval
0a0a972dfa fix: incorrectly prevented to_radix_2w_size_hint on u32e
This function should be able to be enabled by feature
selection.
2024-03-21 16:35:12 -05:00
pinkforest(she/her)
858c4ca8ae
Address new nightly clippy unnecessary qualifications (#639) 2024-03-07 16:58:20 -07:00
David Kotval
5a9ef20763 wip: make tests compile 2024-03-02 14:36:19 -06:00
pinkforest(she/her)
19c7f4a5d5
Fix new nightly redundant import lint warns (#638) 2024-02-29 18:56:52 -07:00
David Kotval
7bf60e4a2b wip: trying to get unifying version 2024-02-18 16:44:04 -06:00
David Kotval
486cd1315f fix: build.rs now selects accelerated backend for xous 2024-02-08 14:20:02 -06:00
David Kotval
81f9189d2f wip: remove betrusted feature 2024-01-12 02:10:08 +00:00
David Kotval
55c5a33411 Merge remote-tracking branch 'upstream/main' into update_to_v4 2023-12-13 17:45:20 -06:00
Luke Parker
76a8b2a081
Add PrimeFieldBits support to Scalar (#579)
Co-authored-by: Michael Rosenberg <micro@fastmail.com>
Co-authored-by: pinkforest(she/her) <36498018+pinkforest@users.noreply.github.com>
2023-09-19 23:21:43 -04:00
Tony Arcieri
c058cd9057
curve: Expand lints (#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`
2023-08-28 02:32:31 -04:00
pinkforest(she/her)
4373695c50
curve: implement ff and group traits (#562)
Originally authored by @str4d as #473
2023-08-27 14:41:06 -06:00
Rob Ede
b93ace8c7f
Address Clippy lints (#543) 2023-08-27 12:47:12 -06:00
moiseev-signal
bf2c4eea23
curve: Mark scalar::clamp_integer as must_use (#558) 2023-08-12 01:44:09 -04:00
pinkforest
40cf5aff99
Workspace curve25519 under curve25519-dalek 2023-06-27 04:00:12 +00:00
Renamed from src/scalar.rs (Browse further)