mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
prime-field introduces a macro to generate a prime field, in its entitrety, de-duplicating code across minimal-ed448, embedwards25519, and secq256k1.
38 lines
1.1 KiB
TOML
38 lines
1.1 KiB
TOML
[package]
|
|
name = "minimal-ed448"
|
|
version = "0.4.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"
|
|
rust-version = "1.86"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
zeroize = { version = "1", default-features = false, features = ["zeroize_derive"] }
|
|
|
|
sha3 = { version = "0.10", default-features = false }
|
|
|
|
prime-field = { path = "../prime-field", default-features = false }
|
|
ciphersuite = { path = "../ciphersuite", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
hex = { version = "0.4", default-features = false, features = ["std"] }
|
|
|
|
rand_core = { version = "0.6", default-features = false, features = ["std"] }
|
|
|
|
ff-group-tests = { path = "../ff-group-tests" }
|
|
|
|
[features]
|
|
alloc = ["zeroize/alloc", "prime-field/alloc", "ciphersuite/alloc"]
|
|
std = ["alloc", "zeroize/std", "sha3/std", "prime-field/std", "ciphersuite/std"]
|
|
default = ["std"]
|