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
81 changes: 40 additions & 41 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions crates/core/src/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ pub trait AE<const KEY_LENGTH: usize, const NONCE_LENGTH: usize, const TAG_LENGT
AE_InPlace<KEY_LENGTH, NONCE_LENGTH, TAG_LENGTH>
{
type Plaintext: AsRef<[u8]>;
type Ciphertext: AsRef<[u8]>;
type Ciphertext: AsRef<[u8]> + PartialEq + Eq + Serializable;

/// Encrypts the given plaintext using the given nonce and key.
fn encrypt(
Expand Down Expand Up @@ -692,7 +692,7 @@ pub trait KEM<const KEY_LENGTH: usize> {
/// Public-Key Encryption.
pub trait PKE {
type Plaintext;
type Ciphertext;
type Ciphertext: PartialEq + Eq + Serializable;
type PublicKey: Serializable;
type SecretKey: ZeroizeOnDrop;
type Error: std::error::Error;
Expand Down
2 changes: 2 additions & 0 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ feature-depth = 1
# output a note when they are encountered.
ignore = [
{ id = "RUSTSEC-2023-0071", reason = "rsa" },
{ id = "RUSTSEC-2026-0173", reason = "dependency of dependency needs upgrade" }

# { id = "RUSTSEC-0000-0000", reason = "you can specify a reason the advisory is ignored" },
# "a-crate-that-is-yanked@0.1.1", # you can also ignore yanked crate versions if you wish
# { crate = "a-crate-that-is-yanked@0.1.1", reason = "you can specify why you are ignoring the yanked crate" },
Expand Down
Loading