[go: up one dir, main page]

constant_time_eq 0.4.2

Compares two equal-sized byte strings in constant time.
Documentation
[[bench]]
harness = false
name = "bench"
path = "benches/bench.rs"

[[bench]]
harness = false
name = "bench_classic"
path = "benches/bench_classic.rs"

[[bench]]
harness = false
name = "bench_generic"
path = "benches/bench_generic.rs"

[dev-dependencies.count_instructions]
version = "0.2.0"

[dev-dependencies.criterion]
features = ["cargo_bench_support", "html_reports"]
version = "0.5.1"

[features]
count_instructions_test = []
default = ["std"]
std = []

[lib]
name = "constant_time_eq"
path = "src/lib.rs"

[package]
authors = ["Cesar Eduardo Barros <cesarb@cesarb.eti.br>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["cryptography", "no-std"]
description = "Compares two equal-sized byte strings in constant time."
documentation = "https://docs.rs/constant_time_eq"
edition = "2024"
keywords = ["constant_time"]
license = "CC0-1.0 OR MIT-0 OR Apache-2.0"
name = "constant_time_eq"
readme = "README"
repository = "https://github.com/cesarb/constant_time_eq"
rust-version = "1.85.0"
version = "0.4.2"

[[test]]
name = "count_instructions"
path = "tests/count_instructions.rs"

[[test]]
name = "count_instructions_classic"
path = "tests/count_instructions_classic.rs"

[[test]]
name = "count_instructions_generic"
path = "tests/count_instructions_generic.rs"

[[test]]
name = "exhaustive"
path = "tests/exhaustive.rs"