8f20115075
* Fix Clippy (#85) * Update `curve25519-dalek` to 4.0.0-pre.5 (#86) * Update `curve25519-dalek` * Improve documentation * Adding all-features CI test (#87) * Upgrade `p256` to v0.12 (#90) * Upgrade `p256` to v0.12 * Upgrade MSRV to 1.60 (cherry picked from commitdaa8dc048f) * Replace `json` with `serde_json` (#92) (cherry picked from commitc8de51672b) * Fix Clippy (#96) (cherry picked from commit74eaebe446) * Depend on `ProjectivePoint: ToEncodedPoint` (#95) (cherry picked from commit0409db6f40) * Update `curve25519-dalek` (#94) (cherry picked from commit2787151e1d) * Use explicit crate features (#100) (cherry picked from commit5bce3e3206) * Bump `curve25519-dalek` to v4.0.0-rc.1 (#102) (cherry picked from commit8363d26f6f) * Test P-384 (#84) (cherry picked from commit83eb78b232) * Update RustCrypto dependencies to v0.13 (#106) (cherry picked from commit8b895cc631) * Update curve25519-dalek requirement from =4.0.0-rc.1 to =4.0.0-rc.2 (#108) Updates the requirements on [curve25519-dalek](https://github.com/dalek-cryptography/curve25519-dalek) to permit the latest version. - [Release notes](https://github.com/dalek-cryptography/curve25519-dalek/releases) - [Changelog](https://github.com/dalek-cryptography/curve25519-dalek/blob/main/CHANGELOG.md) - [Commits](https://github.com/dalek-cryptography/curve25519-dalek/compare/4.0.0-rc.1...4.0.0-rc.2) --- updated-dependencies: - dependency-name: curve25519-dalek dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (cherry picked from commit4bd2cf466e) * Updating dual-license language (#110) (cherry picked from commitf79ebf9844) * Bump `curve25519-dalek` to v4.0.0-rc.3 (#113) (cherry picked from commit209b957ae4) * Bump `curve25519-dalek` to v4 (#116) (cherry picked from commit0fdfdfdaee) * Fixing clippy IntoIterator warnings (#123) (cherry picked from commitc0162ec8d9) * Bump actions/checkout from 3 to 4 (#120) Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (cherry picked from commit8da56845b8) * Updating setup-rust-action (#125) (cherry picked from commit59e3fedb21) * Test P-521 (#127) (cherry picked from commit68cc7d3709) * Fix ambiguous lifetime elision (#131) (cherry picked from commit40769f7eca) * Bump actions/cache from 3 to 4 (#132) Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (cherry picked from commitc93884aca3) * Fixups + cherry-picking changes from #101 * Fix Clippy warnings * More fixups, tests passing * Ensure CI runs on branch v0.4 --------- Co-authored-by: daxpedda <[email protected]> Co-authored-by: Kevin Lewi <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
70 lines
1.9 KiB
TOML
70 lines
1.9 KiB
TOML
[package]
|
|
authors = ["Kevin Lewi <[email protected]>"]
|
|
categories = ["no-std", "algorithms", "cryptography"]
|
|
description = "An implementation of a verifiable oblivious pseudorandom function (VOPRF)"
|
|
edition = "2021"
|
|
keywords = ["oprf"]
|
|
license = "MIT"
|
|
name = "voprf"
|
|
readme = "README.md"
|
|
repository = "https://github.com/facebook/voprf/"
|
|
rust-version = "1.65"
|
|
version = "0.4.1"
|
|
|
|
[features]
|
|
alloc = []
|
|
danger = []
|
|
default = ["ristretto255-ciphersuite", "dep:serde"]
|
|
ristretto255 = ["dep:curve25519-dalek", "generic-array/more_lengths"]
|
|
ristretto255-ciphersuite = ["ristretto255", "dep:sha2"]
|
|
serde = ["generic-array/serde", "dep:serde"]
|
|
std = ["alloc"]
|
|
|
|
[dependencies]
|
|
curve25519-dalek = { version = "4", default-features = false, features = [
|
|
"rand_core",
|
|
"zeroize",
|
|
], optional = true }
|
|
derive-where = { version = "1", features = ["zeroize-on-drop"] }
|
|
digest = "0.10"
|
|
displaydoc = { version = "0.2", default-features = false }
|
|
elliptic-curve = { version = "0.13", features = [
|
|
"hash2curve",
|
|
"sec1",
|
|
"voprf",
|
|
] }
|
|
generic-array = "0.14"
|
|
rand_core = { version = "0.6", default-features = false }
|
|
serde = { version = "1", default-features = false, features = [
|
|
"derive",
|
|
], optional = true }
|
|
sha2 = { version = "0.10", default-features = false, optional = true }
|
|
subtle = { version = "2.6", default-features = false }
|
|
zeroize = { version = "1.8", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
generic-array = { version = "0.14", features = ["more_lengths"] }
|
|
hex = "0.4"
|
|
p256 = { version = "0.13", default-features = false, features = [
|
|
"hash2curve",
|
|
"voprf",
|
|
] }
|
|
p384 = { version = "0.13", default-features = false, features = [
|
|
"hash2curve",
|
|
"voprf",
|
|
] }
|
|
p521 = { version = "0.13.3", default-features = false, features = [
|
|
"hash2curve",
|
|
"voprf",
|
|
] }
|
|
proptest = "1"
|
|
rand = "0.8"
|
|
regex = "1"
|
|
serde_json = "1"
|
|
sha2 = "0.10"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
targets = []
|