Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions ascon-aead/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ zeroize = { version = "1.6", optional = true, default-features = false, features
ascon = "0.4"

[dev-dependencies]
hex-literal = "0.4"
aead = { version = "0.6.0-rc.0", features = ["alloc"] }
aead = { version = "0.6.0-rc.0", features = ["dev"] }

[features]
default = ["alloc", "os_rng"]
Expand Down
2 changes: 2 additions & 0 deletions ascon-aead/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
//! Simple usage (allocating, no associated data):
//!
//! ```
//! # #[cfg(feature = "alloc")] {
//! use ascon_aead::{AsconAead128, Key, Nonce};
//! use ascon_aead::aead::{Aead, KeyInit};
//!
Expand All @@ -30,6 +31,7 @@
//! .expect("decryption failure!"); // NOTE: handle this error to avoid panics!
//!
//! assert_eq!(&plaintext, b"plaintext message");
//! # }
//! ```
//!
//! With randomly sampled keys and nonces (requires `getrandom` feature):
Expand Down
Binary file added ascon-aead/tests/data/reference_kats.blb
Binary file not shown.
Loading