[package]
edition = "2024"
name = "fp2"
version = "0.3.1"
authors = ["Giacomo Pope <giacomopope@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An efficient, flexible and constant time Rust implementation of the extension field Fp^2 with modulus x^2 + 1"
homepage = "https://github.com/GiacomoPope/fp2/"
readme = "README.md"
keywords = [
"finite",
"field",
"isogeny",
"isogenies",
]
categories = ["cryptography"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/GiacomoPope/fp2/"
[features]
default = ["test-utils"]
test-utils = []
[lib]
name = "fp2"
path = "src/lib.rs"
[[test]]
name = "test_dlp"
path = "tests/test_dlp.rs"
[[test]]
name = "test_fields"
path = "tests/test_fields.rs"
[[bench]]
name = "bench_util"
path = "benches/bench_util.rs"
[[bench]]
name = "benchmark_fp2"
path = "benches/fp2_bench.rs"
harness = false
[dependencies.rand_core]
version = "0.9"
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.num-bigint]
version = "0.4.3"
[dev-dependencies.sha2]
version = "0.10.2"