mirror of
https://github.com/serai-dex/serai.git
synced 2024-11-17 09:27:36 +00:00
44452d9bfe
No functional changes have been made to signing, with solely slight API changes being made. Technically not actually FROST v5 compatible, due to differing on zero checks and randomness, yet the vectors do confirm the core algorithm. For any valid FROST implementation, this will be interoperable if they can successfully communicate. For any devious FROST implementation, this will be fingerprintable, yet should still be valid. Relevant to https://github.com/serai-dex/serai/issues/9 as any curve can now specify vectors for itself and be tested against them. Moves the FROST testing curve from k256 to p256. Does not expose p256 despite being compliant. It's not at a point I'm happy with it, notably regarding hash to curve, and I'm not sure I care to support p256. If it has value to the larger FROST ecosystem...
25 lines
476 B
TOML
25 lines
476 B
TOML
[package]
|
|
name = "frost"
|
|
version = "0.1.0"
|
|
description = "Implementation of FROST over ff/group"
|
|
license = "MIT"
|
|
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
thiserror = "1"
|
|
|
|
rand_core = "0.6"
|
|
hex = "0.4"
|
|
|
|
ff = "0.11"
|
|
group = "0.11"
|
|
|
|
transcript = { path = "../transcript" }
|
|
|
|
multiexp = { path = "../multiexp", features = ["batch"] }
|
|
|
|
[dev-dependencies]
|
|
rand = "0.8"
|
|
sha2 = "0.10"
|
|
p256 = { version = "0.10", features = ["arithmetic"] }
|