ic-ec 0.2.13

X25519, Ed25519, and elliptic-curve arithmetic for IronCrypto
Documentation
[package]
name = "ic-ec"
description = "X25519, Ed25519, and elliptic-curve arithmetic for IronCrypto"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
authors.workspace = true
keywords.workspace = true
categories.workspace = true
publish.workspace = true

[features]
default = ["std"]
std = ["ic-core/std", "ic-hash/std", "ic-mac/std"]
# Internals that `bench/` needs to time in isolation. The benchmark lives
# outside the workspace, so it cannot reach private items; this is how it gets
# them without their being public API for everyone else. Not covered by semver.
bench-internals = ["std"]

# `ic_limb32` selects the 32-bit-limb Curve25519 field on any target; see
# `src/field32.rs`.
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ["cfg(ic_limb32)"] }

[[test]]
# Its own process, without the harness: it counts allocations, and only the
# first use of each table is the case it is about.
name = "cold_tables"
harness = false
required-features = ["std"]

[dependencies]
ic-core = { workspace = true }
ic-hash = { workspace = true }
ic-mac = { workspace = true }