-
Notifications
You must be signed in to change notification settings - Fork 198
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Simplified API significantly; updated HPKE test * Updated all the tests * Deleted cruft; Updated docs * Removed std feature * Made clippy happy * kem: Made rng input a mut ref; made Error assoc type impl Debug
- Loading branch information
Showing
9 changed files
with
210 additions
and
439 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,34 @@ | ||
[package] | ||
name = "kem" | ||
description = "Traits for key encapsulation mechanisms" | ||
version = "0.3.0-pre" | ||
authors = ["RustCrypto Developers"] | ||
license = "Apache-2.0 OR MIT" | ||
name = "kem" | ||
description = "Traits for key encapsulation mechanisms" | ||
version = "0.3.0-pre" | ||
authors = ["RustCrypto Developers"] | ||
license = "Apache-2.0 OR MIT" | ||
documentation = "https://docs.rs/kem" | ||
repository = "https://github.com/RustCrypto/traits/tree/master/kem" | ||
readme = "README.md" | ||
edition = "2021" | ||
keywords = ["crypto"] | ||
categories = ["cryptography", "no-std"] | ||
rust-version = "1.66" | ||
repository = "https://github.com/RustCrypto/traits/tree/master/kem" | ||
readme = "README.md" | ||
edition = "2021" | ||
keywords = ["crypto"] | ||
categories = ["cryptography", "no-std"] | ||
rust-version = "1.66" | ||
|
||
[dependencies] | ||
rand_core = "0.6" | ||
generic-array = "0.14" | ||
zeroize = { version = "1.7", default-features = false } | ||
|
||
[dev-dependencies] | ||
hpke = "0.10" | ||
p256 = { version = "0.9", features = [ "ecdsa" ] } | ||
pqcrypto = { version = "0.15", default-features = false, features = [ "pqcrypto-saber" ] } | ||
p256 = { version = "0.9", features = ["ecdsa"] } | ||
pqcrypto = { version = "0.15", default-features = false, features = [ | ||
"pqcrypto-saber", | ||
] } | ||
pqcrypto-traits = "0.3" | ||
rand = { version = "0.8", features = [ "getrandom" ] } | ||
rand = { version = "0.8" } | ||
x3dh-ke = "0.1" | ||
|
||
[features] | ||
default = [] | ||
std = [] | ||
|
||
[package.metadata.docs.rs] | ||
all-features = true | ||
rustdoc-args = ["--cfg", "docsrs"] | ||
|
||
[lib] | ||
doctest = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.