Skip to content

Commit

Permalink
fix: panic conditions for concat kdf in ecies (#7171)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rjected committed Mar 16, 2024
1 parent e7c23ed commit 82ec589
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion crates/net/ecies/src/algorithm.rs
Expand Up @@ -43,7 +43,6 @@ fn ecdh_x(public_key: &PublicKey, secret_key: &SecretKey) -> B256 {
///
/// # Panics
/// * If the `dest` is empty
/// * If `s1` is empty
/// * If the `dest` len is greater than or equal to the hash output len * the max counter value. In
/// this case, the hash output len is 32 bytes, and the max counter value is 2^32 - 1. So the dest
/// cannot have a len greater than 32 * 2^32 - 1.
Expand Down

0 comments on commit 82ec589

Please sign in to comment.