Skip to content

Commit 164f6f1

Browse files
authored
ascon-aead: migrate tests to blobby (#675)
1 parent a324b49 commit 164f6f1

File tree

6 files changed

+68
-12490
lines changed

6 files changed

+68
-12490
lines changed

Cargo.lock

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ascon-aead/Cargo.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ zeroize = { version = "1.6", optional = true, default-features = false, features
2121
ascon = "0.4"
2222

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

2726
[features]
2827
default = ["alloc", "os_rng"]

ascon-aead/src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
//! Simple usage (allocating, no associated data):
1616
//!
1717
//! ```
18+
//! # #[cfg(feature = "alloc")] {
1819
//! use ascon_aead::{AsconAead128, Key, Nonce};
1920
//! use ascon_aead::aead::{Aead, KeyInit};
2021
//!
@@ -30,6 +31,7 @@
3031
//! .expect("decryption failure!"); // NOTE: handle this error to avoid panics!
3132
//!
3233
//! assert_eq!(&plaintext, b"plaintext message");
34+
//! # }
3335
//! ```
3436
//!
3537
//! With randomly sampled keys and nonces (requires `getrandom` feature):
40.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)