[package]
edition = "2024"
rust-version = "1.85"
name = "wnaf"
version = "0.14.0-rc.2"
authors = ["RustCrypto Developers"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
w-NAF (w-ary non-adjacent form) variable-time scalar multiplication implemented generically
over elliptic curve groups with full `no_alloc` support, including multiscalar multiplication using
Straus's interleaved window method. Contains an implementation adapted from the `group` crate which
has been forked and enhanced but is otherwise compatible with that crate's traits, along with the
`ff` crate's traits for finite field representations
"""
homepage = "https://github.com/RustCrypto/elliptic-curves/tree/master/wnaf"
documentation = "https://docs.rs/wnaf"
readme = "README.md"
keywords = [
"crypto",
"ecc",
"multiscalar",
"no_alloc",
]
categories = [
"cryptography",
"no-std",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/RustCrypto/elliptic-curves"
resolver = "2"
[features]
alloc = [
"array/alloc",
"ff/alloc",
"group/alloc",
]
default = ["alloc"]
[lib]
name = "wnaf"
path = "src/lib.rs"
[dependencies.array]
version = "0.4.13"
package = "hybrid-array"
[dependencies.ff]
version = "0.14"
default-features = false
[dependencies.group]
version = "0.14"
default-features = false