Luke Parker
ea3af28139
Add workspace lints
2023-12-17 00:04:47 -05:00
Luke Parker
6efc313d76
Add/update msrv for common/*, crypto/*, coins/*, and substrate/*
...
This includes all published crates.
2023-11-21 01:19:40 -05:00
Luke Parker
05dc474cb3
Correct std feature-flagging
...
If a crate has std set, it should enable std for all dependencies in order to
let them properly select which algorithms to use. Some crates fallback to
slower/worse algorithms on no-std.
Also more aggressively sets default-features = false leading to a *10%*
reduction in the amount of crates coordinator builds.
2023-10-31 07:44:02 -04:00
Luke Parker
fa406c507f
Update crypto/ package versions
...
On a branch while bitcoin-serai wraps up its audit.
2023-08-08 18:19:01 -04:00
Luke Parker
38ad1d4bc4
Add msrv definitions to common and crypto
...
This will effectively add msrv protections to the entire project as almost
everything grabs from these.
Doesn't add msrv to coins as coins/bitcoin is still frozen.
Doesn't add msrv to services since cargo msrv doesn't play nice with anything
importing the runtime.
2023-08-02 14:17:57 -04:00
Luke Parker
1e448dec21
Add no_std support to transcript, dalek-ff-group, ed448, ciphersuite, multiexp, schnorr, and monero-generators
...
transcript, dalek-ff-group, ed449, and ciphersuite are all usable with no_std
alone. The rest additionally require alloc.
Part of #279 .
2023-04-22 04:38:47 -04:00
Luke Parker
47be373eb0
Resolve #268 by adding a Zeroize to DigestTranscript which writes a full block
...
This is a 'better-than-nothing' attempt to invalidate its state.
Also replaces black_box features with usage of the rustversion crate.
2023-03-28 04:43:10 -04:00
Luke Parker
952cf280c2
Bump crate versions
2023-03-20 20:34:41 -04:00
Luke Parker
0d4b66dc2a
Bump package versions
2023-03-16 19:29:22 -04:00
Luke Parker
669d2dbffc
3.10.2 Explicitly test RecommendedTranscript
2023-03-15 19:55:07 -04:00
Luke Parker
a053454ae4
3.9.4 Add tests to the transcript crate
2023-03-07 02:25:10 -05:00
Luke Parker
8de465af87
Have Transcript::append_message take in AsRef<[u8]>, not &[u8]
...
Simplifies calling it.
2022-11-05 18:43:36 -04:00
Luke Parker
19488cf446
Fill out Cargo.tomls
...
Updated missing fields/sections, even if some won't be used, to
standardize.
Also made FROST tests feature-gated.
2022-10-15 23:46:22 -04:00
Luke Parker
19cd609cba
Use doc_auto_cfg
2022-09-29 04:47:55 -04:00
Luke Parker
fd48bbd15e
Initial documentation for the Monero libraries ( #122 )
...
* Document all features
* Largely document the Monero libraries
Relevant to https://github.com/serai-dex/serai/issues/103 and likely
sufficient to get this removed from
https://github.com/serai-dex/serai/issues/102 .
2022-09-28 07:44:49 -05:00
Luke Parker
d81f6270c7
Version bump and synchronize packages
...
Uses "dleq-serai", instead of "dleq", as the dleq crate name hasn't been
transferred yet :(
2022-07-12 03:38:59 -04:00
Luke Parker
1430b189bf
Enable no_std on transcript
...
Removes the Vec challenge for an associated type.
Fixes the merlin feature which was horribly broken.
Also adds no_std to dalek-ff-group.
2022-06-28 04:02:56 -04:00
Luke Parker
7b70baaa96
Rename transcript-trait to flexible-transcript
...
It offers the trait for flexibility, yet it also offers an incredibly
competent (and logical) transcript format, along with a Merlin wrapper.
2022-06-27 09:02:21 -04:00
Luke Parker
6775fb471e
Version bump Transcript trait
...
Preparation for yanking 0.1.0 which had an insecure format due to lack
of length prefixing labels.
2022-06-24 18:59:28 -04:00
Luke Parker
a46524f0ce
Supply a RecommendedTranscript type of DT<Blake2b512>
2022-06-24 18:58:24 -04:00
Luke Parker
9549dc6a49
Prepare transcript for publishing
2022-06-19 06:35:15 -04:00
Luke Parker
964cb357e6
Use a global transcript
2022-05-06 07:33:08 -04:00
Luke Parker
bf257b3a1f
Transcript crate with both a merlin backend and a basic label len value backend
...
Moves binding factor/seeded RNGs over to the transcripts.
2022-05-03 07:20:24 -04:00