mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-24 12:39:33 +00:00
ad470bc969
This commit greatly expands the usage of black_box/zeroize on bits, as it originally should have. It is likely overkill, leading to less efficient code generation, yet does its best to be comprehensive where comprehensiveness is extremely annoying to achieve. In the future, this usage of black_box may be desirable to move to its own crate. Credit to @AaronFeickert for identifying the original commit was incomplete.
37 lines
859 B
TOML
37 lines
859 B
TOML
[package]
|
|
name = "minimal-ed448"
|
|
version = "0.1.2"
|
|
description = "Unaudited, inefficient implementation of Ed448 in Rust"
|
|
license = "MIT"
|
|
repository = "https://github.com/serai-dex/serai/tree/develop/crypto/ed448"
|
|
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
|
|
keywords = ["ed448", "ff", "group"]
|
|
edition = "2021"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[dependencies]
|
|
lazy_static = "1"
|
|
|
|
rand_core = "0.6"
|
|
|
|
zeroize = { version = "^1.5", features = ["zeroize_derive"] }
|
|
subtle = "^2.4"
|
|
|
|
ff = { version = "0.12", features = ["bits"] }
|
|
group = "0.12"
|
|
|
|
generic-array = "0.14"
|
|
crypto-bigint = { version = "0.4", features = ["zeroize"] }
|
|
|
|
dalek-ff-group = { path = "../dalek-ff-group", version = "^0.1.2" }
|
|
|
|
[dev-dependencies]
|
|
hex = "0.4"
|
|
|
|
ff-group-tests = { path = "../ff-group-tests" }
|
|
|
|
[features]
|
|
black_box = []
|